Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated test framework projects #359 - take 2

  • Loading branch information...
commit df07771efbd947fe85df0b45a7ab8310620b13d6 1 parent e98f0d3
@ujhelyiz authored
Showing with 3,099 additions and 0 deletions.
  1. +7 −0 tests/org.eclipse.incquery.snapshot.edit/.classpath
  2. +28 −0 tests/org.eclipse.incquery.snapshot.edit/.project
  3. +11 −0 tests/org.eclipse.incquery.snapshot.edit/.settings/org.eclipse.jdt.core.prefs
  4. +17 −0 tests/org.eclipse.incquery.snapshot.edit/META-INF/MANIFEST.MF
  5. +21 −0 tests/org.eclipse.incquery.snapshot.edit/about.html
  6. +15 −0 tests/org.eclipse.incquery.snapshot.edit/build.properties
  7. BIN  ...eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateIncQuerySnapshot_matchSetRecords_MatchSetRecord.gif
  8. BIN  ...g.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_BooleanSubstitution.gif
  9. BIN  .../org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_DateSubstitution.gif
  10. BIN  ...rg.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_DoubleSubstitution.gif
  11. BIN  ...s/org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_EMFSubstitution.gif
  12. BIN  .../org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_EnumSubstitution.gif
  13. BIN  ...org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_FloatSubstitution.gif
  14. BIN  ...s/org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_IntSubstitution.gif
  15. BIN  .../org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_LongSubstitution.gif
  16. BIN  ...pse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_MiscellaneousSubstitution.gif
  17. BIN  ...rg.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_StringSubstitution.gif
  18. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchSetRecord_filter_MatchRecord.gif
  19. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchSetRecord_matches_MatchRecord.gif
  20. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchSetRecord_partialMatch_MatchRecord.gif
  21. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/BooleanSubstitution.gif
  22. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/DateSubstitution.gif
  23. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/DoubleSubstitution.gif
  24. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/EMFSubstitution.gif
  25. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/EnumSubstitution.gif
  26. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/FloatSubstitution.gif
  27. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/IncQuerySnapshot.gif
  28. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/IntSubstitution.gif
  29. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/LongSubstitution.gif
  30. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/MatchRecord.gif
  31. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/MatchSetRecord.gif
  32. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/MiscellaneousSubstitution.gif
  33. BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/StringSubstitution.gif
  34. +71 −0 tests/org.eclipse.incquery.snapshot.edit/plugin.properties
  35. +25 −0 tests/org.eclipse.incquery.snapshot.edit/plugin.xml
  36. +14 −0 tests/org.eclipse.incquery.snapshot.edit/pom.xml
  37. +143 −0 ...y.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/BooleanSubstitutionItemProvider.java
  38. +143 −0 ...uery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/DateSubstitutionItemProvider.java
  39. +143 −0 ...ry.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/DoubleSubstitutionItemProvider.java
  40. +487 −0 ...shot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EIQSnapshotItemProviderAdapterFactory.java
  41. +135 −0 ...query.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EMFSubstitutionItemProvider.java
  42. +92 −0 ...se.incquery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EiqsnapshotEditPlugin.java
  43. +166 −0 ...uery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EnumSubstitutionItemProvider.java
  44. +143 −0 ...ery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/FloatSubstitutionItemProvider.java
  45. +223 −0 ...uery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/IncQuerySnapshotItemProvider.java
  46. +143 −0 ...query.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/IntSubstitutionItemProvider.java
  47. +143 −0 ...uery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/LongSubstitutionItemProvider.java
  48. +245 −0 ....incquery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/MatchRecordItemProvider.java
  49. +228 −0 ...cquery.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/MatchSetRecordItemProvider.java
  50. +170 −0 ...apshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/MatchSubstitutionRecordItemProvider.java
  51. +143 −0 ...shot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/MiscellaneousSubstitutionItemProvider.java
  52. +143 −0 ...ry.snapshot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/StringSubstitutionItemProvider.java
View
7 tests/org.eclipse.incquery.snapshot.edit/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
28 tests/org.eclipse.incquery.snapshot.edit/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.incquery.snapshot.edit</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
View
11 tests/org.eclipse.incquery.snapshot.edit/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+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.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.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
View
17 tests/org.eclipse.incquery.snapshot.edit/META-INF/MANIFEST.MF
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: org.eclipse.incquery.snapshot.edit
+Bundle-SymbolicName: org.eclipse.incquery.snapshot.edit;singleton:=true
+Bundle-Version: 0.7.0.qualifier
+Bundle-ClassPath: .
+Bundle-Activator: org.eclipse.incquery.snapshot.EIQSnapshot.provider.EiqsnapshotEditPlugin$Implementation
+Bundle-Vendor: Budapest University of Technology and Economics, Fault Tolerant Systems Research Group
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Export-Package: org.eclipse.incquery.snapshot.EIQSnapshot.provider
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.incquery.snapshot;visibility:=reexport,
+ org.eclipse.emf.edit;visibility:=reexport,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.ecore.edit;visibility:=reexport
+Bundle-ActivationPolicy: lazy
View
21 tests/org.eclipse.incquery.snapshot.edit/about.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html>
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available at <a href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party (&quot;Redistributor&quot;) 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 <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+</body>
+</html>
View
15 tests/org.eclipse.incquery.snapshot.edit/build.properties
@@ -0,0 +1,15 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+bin.includes = .,\
+ icons/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties,\
+ about.html
+jars.compile.order = .
+source.. = src/
+output.. = bin/
View
BIN  ...napshot.edit/icons/full/ctool16/CreateIncQuerySnapshot_matchSetRecords_MatchSetRecord.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ....snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_BooleanSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...ery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_DateSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...y.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_DoubleSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...uery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_EMFSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...ery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_EnumSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...ry.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_FloatSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...uery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_IntSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...ery.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_LongSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...hot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_MiscellaneousSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...y.snapshot.edit/icons/full/ctool16/CreateMatchRecord_substitutions_StringSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...pse.incquery.snapshot.edit/icons/full/ctool16/CreateMatchSetRecord_filter_MatchRecord.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...se.incquery.snapshot.edit/icons/full/ctool16/CreateMatchSetRecord_matches_MatchRecord.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  ...cquery.snapshot.edit/icons/full/ctool16/CreateMatchSetRecord_partialMatch_MatchRecord.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/BooleanSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/DateSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/DoubleSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/EMFSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/EnumSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/FloatSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/IncQuerySnapshot.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/IntSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/LongSubstitution.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/MatchRecord.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/MatchSetRecord.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/MiscellaneousSubstitution.gif
Diff not rendered
View
BIN  tests/org.eclipse.incquery.snapshot.edit/icons/full/obj16/StringSubstitution.gif
Diff not rendered
View
71 tests/org.eclipse.incquery.snapshot.edit/plugin.properties
@@ -0,0 +1,71 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+pluginName = Eiqsnapshot 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_MatchSetRecord_type = Match Set Record
+_UI_MatchRecord_type = Match Record
+_UI_MatchRecord_shortType = Record
+_UI_MatchSubstitutionRecord_type = Match Substitution Record
+_UI_EMFSubstitution_type = EMF Substitution
+_UI_IntSubstitution_type = Int Substitution
+_UI_LongSubstitution_type = Long Substitution
+_UI_DoubleSubstitution_type = Double Substitution
+_UI_FloatSubstitution_type = Float Substitution
+_UI_BooleanSubstitution_type = Boolean Substitution
+_UI_StringSubstitution_type = String Substitution
+_UI_DateSubstitution_type = Date Substitution
+_UI_EnumSubstitution_type = Enum Substitution
+_UI_MiscellaneousSubstitution_type = Miscellaneous Substitution
+_UI_Unknown_type = Object
+
+_UI_Unknown_datatype= Value
+
+_UI_MatchSetRecord_patternQualifiedName_feature = Pattern Qualified Name
+_UI_MatchSetRecord_matches_feature = Matches
+_UI_MatchRecord_substitutions_feature = Substitutions
+_UI_MatchSubstitutionRecord_parameterName_feature = Parameter Name
+_UI_EMFSubstitution_value_feature = Value
+_UI_IntSubstitution_value_feature = Value
+_UI_LongSubstitution_value_feature = Value
+_UI_DoubleSubstitution_value_feature = Value
+_UI_FloatSubstitution_value_feature = Value
+_UI_BooleanSubstitution_value_feature = Value
+_UI_StringSubstitution_value_feature = Value
+_UI_DateSubstitution_value_feature = Value
+_UI_EnumSubstitution_valueLiteral_feature = Value Literal
+_UI_EnumSubstitution_enumType_feature = Enum Type
+_UI_MiscellaneousSubstitution_value_feature = Value
+_UI_Unknown_feature = Unspecified
+
+_UI_MatchSubstitutionRecord_derivedValue_feature = Derived Value
+_UI_IncQuerySnapshot_type = Inc Query Snapshot
+_UI_MatchSetRecord_modelRoot_feature = Model Root
+_UI_IncQuerySnapshot_matchSetRecords_feature = Match Set Records
+_UI_IncQuerySnapshot_modelRoots_feature = Model Roots
+_UI_IncQuerySnapshot_inputSpecification_feature = Input Specification
+_UI_InputSpecification_ResourceSet_literal = ResourceSet
+_UI_InputSpecification_Resource_literal = Resource
+_UI_InputSpecification_EObject_literal = EObject
+_UI_MatchSetRecord_partialMatch_feature = Partial Match
+_UI_InputSpecification_Unset_literal = Unset
+_UI_MatchRecord_type_feature = Type
+_UI_RecordType_Match_literal = Match
+_UI_RecordType_Filter_literal = Filter
+_UI_MatchSetRecord_filter_feature = Filter
+_UI_MatchRecord_role_feature = Role
+_UI_RecordRole_Match_literal = Match
+_UI_RecordRole_Filter_literal = Filter
View
25 tests/org.eclipse.incquery.snapshot.edit/plugin.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id$
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <factory
+ uri="http://www.eclipse.org/viatra2/emf/incquery/snapshot"
+ class="org.eclipse.incquery.snapshot.EIQSnapshot.provider.EIQSnapshotItemProviderAdapterFactory"
+ supportedTypes=
+ "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
+ org.eclipse.emf.edit.provider.IStructuredItemContentProvider
+ org.eclipse.emf.edit.provider.ITreeItemContentProvider
+ org.eclipse.emf.edit.provider.IItemLabelProvider
+ org.eclipse.emf.edit.provider.IItemPropertySource"/>
+ </extension>
+
+</plugin>
View
14 tests/org.eclipse.incquery.snapshot.edit/pom.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>org.eclipse.viatra2.emf.incquery</artifactId>
+ <groupId>org.eclipse.viatra2</groupId>
+ <version>0.7.0-SNAPSHOT</version>
+ <relativePath>../../releng/org.eclipse.viatra2.emf.incquery/pom.xml</relativePath>
+ </parent>
+ <artifactId>org.eclipse.viatra2.emf.incquery.snapshot.edit</artifactId>
+ <packaging>eclipse-plugin</packaging>
+</project>
View
143 ...c/org/eclipse/incquery/snapshot/EIQSnapshot/provider/BooleanSubstitutionItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.BooleanSubstitution;
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.BooleanSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class BooleanSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BooleanSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BooleanSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BooleanSubstitution_value_feature", "_UI_BooleanSubstitution_type"),
+ EIQSnapshotPackage.Literals.BOOLEAN_SUBSTITUTION__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns BooleanSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/BooleanSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((BooleanSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_BooleanSubstitution_type") :
+ getString("_UI_BooleanSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(BooleanSubstitution.class)) {
+ case EIQSnapshotPackage.BOOLEAN_SUBSTITUTION__VALUE:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
143 .../src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/DateSubstitutionItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.DateSubstitution;
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.DateSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DateSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DateSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DateSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DateSubstitution_value_feature", "_UI_DateSubstitution_type"),
+ EIQSnapshotPackage.Literals.DATE_SUBSTITUTION__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns DateSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DateSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((DateSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DateSubstitution_type") :
+ getString("_UI_DateSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DateSubstitution.class)) {
+ case EIQSnapshotPackage.DATE_SUBSTITUTION__VALUE:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
143 ...rc/org/eclipse/incquery/snapshot/EIQSnapshot/provider/DoubleSubstitutionItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.DoubleSubstitution;
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.DoubleSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DoubleSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DoubleSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DoubleSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DoubleSubstitution_value_feature", "_UI_DoubleSubstitution_type"),
+ EIQSnapshotPackage.Literals.DOUBLE_SUBSTITUTION__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.REAL_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns DoubleSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DoubleSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((DoubleSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DoubleSubstitution_type") :
+ getString("_UI_DoubleSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DoubleSubstitution.class)) {
+ case EIQSnapshotPackage.DOUBLE_SUBSTITUTION__VALUE:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
487 ...eclipse/incquery/snapshot/EIQSnapshot/provider/EIQSnapshotItemProviderAdapterFactory.java
@@ -0,0 +1,487 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.incquery.snapshot.EIQSnapshot.util.EIQSnapshotAdapterFactory;
+
+/**
+ * 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class EIQSnapshotItemProviderAdapterFactory extends EIQSnapshotAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Collection<Object> supportedTypes = new ArrayList<Object>();
+
+ /**
+ * This constructs an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EIQSnapshotItemProviderAdapterFactory() {
+ 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.incquery.snapshot.EIQSnapshot.MatchSetRecord} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MatchSetRecordItemProvider matchSetRecordItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.MatchSetRecord}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMatchSetRecordAdapter() {
+ if (matchSetRecordItemProvider == null) {
+ matchSetRecordItemProvider = new MatchSetRecordItemProvider(this);
+ }
+
+ return matchSetRecordItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.MatchRecord} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MatchRecordItemProvider matchRecordItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.MatchRecord}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMatchRecordAdapter() {
+ if (matchRecordItemProvider == null) {
+ matchRecordItemProvider = new MatchRecordItemProvider(this);
+ }
+
+ return matchRecordItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.EMFSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EMFSubstitutionItemProvider emfSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.EMFSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createEMFSubstitutionAdapter() {
+ if (emfSubstitutionItemProvider == null) {
+ emfSubstitutionItemProvider = new EMFSubstitutionItemProvider(this);
+ }
+
+ return emfSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.IntSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IntSubstitutionItemProvider intSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.IntSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIntSubstitutionAdapter() {
+ if (intSubstitutionItemProvider == null) {
+ intSubstitutionItemProvider = new IntSubstitutionItemProvider(this);
+ }
+
+ return intSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.LongSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LongSubstitutionItemProvider longSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.LongSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createLongSubstitutionAdapter() {
+ if (longSubstitutionItemProvider == null) {
+ longSubstitutionItemProvider = new LongSubstitutionItemProvider(this);
+ }
+
+ return longSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.DoubleSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DoubleSubstitutionItemProvider doubleSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.DoubleSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDoubleSubstitutionAdapter() {
+ if (doubleSubstitutionItemProvider == null) {
+ doubleSubstitutionItemProvider = new DoubleSubstitutionItemProvider(this);
+ }
+
+ return doubleSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.FloatSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FloatSubstitutionItemProvider floatSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.FloatSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createFloatSubstitutionAdapter() {
+ if (floatSubstitutionItemProvider == null) {
+ floatSubstitutionItemProvider = new FloatSubstitutionItemProvider(this);
+ }
+
+ return floatSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.BooleanSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BooleanSubstitutionItemProvider booleanSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.BooleanSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createBooleanSubstitutionAdapter() {
+ if (booleanSubstitutionItemProvider == null) {
+ booleanSubstitutionItemProvider = new BooleanSubstitutionItemProvider(this);
+ }
+
+ return booleanSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.StringSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected StringSubstitutionItemProvider stringSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.StringSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createStringSubstitutionAdapter() {
+ if (stringSubstitutionItemProvider == null) {
+ stringSubstitutionItemProvider = new StringSubstitutionItemProvider(this);
+ }
+
+ return stringSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.DateSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DateSubstitutionItemProvider dateSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.DateSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDateSubstitutionAdapter() {
+ if (dateSubstitutionItemProvider == null) {
+ dateSubstitutionItemProvider = new DateSubstitutionItemProvider(this);
+ }
+
+ return dateSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.EnumSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EnumSubstitutionItemProvider enumSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.EnumSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createEnumSubstitutionAdapter() {
+ if (enumSubstitutionItemProvider == null) {
+ enumSubstitutionItemProvider = new EnumSubstitutionItemProvider(this);
+ }
+
+ return enumSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.MiscellaneousSubstitution} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MiscellaneousSubstitutionItemProvider miscellaneousSubstitutionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.MiscellaneousSubstitution}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMiscellaneousSubstitutionAdapter() {
+ if (miscellaneousSubstitutionItemProvider == null) {
+ miscellaneousSubstitutionItemProvider = new MiscellaneousSubstitutionItemProvider(this);
+ }
+
+ return miscellaneousSubstitutionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.incquery.snapshot.EIQSnapshot.IncQuerySnapshot} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IncQuerySnapshotItemProvider incQuerySnapshotItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.IncQuerySnapshot}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIncQuerySnapshotAdapter() {
+ if (incQuerySnapshotItemProvider == null) {
+ incQuerySnapshotItemProvider = new IncQuerySnapshotItemProvider(this);
+ }
+
+ return incQuerySnapshotItemProvider;
+ }
+
+ /**
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposeableAdapterFactory getRootAdapterFactory() {
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter adapt(Notifier notifier, Object type) {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dispose() {
+ if (matchSetRecordItemProvider != null) matchSetRecordItemProvider.dispose();
+ if (matchRecordItemProvider != null) matchRecordItemProvider.dispose();
+ if (emfSubstitutionItemProvider != null) emfSubstitutionItemProvider.dispose();
+ if (intSubstitutionItemProvider != null) intSubstitutionItemProvider.dispose();
+ if (longSubstitutionItemProvider != null) longSubstitutionItemProvider.dispose();
+ if (doubleSubstitutionItemProvider != null) doubleSubstitutionItemProvider.dispose();
+ if (floatSubstitutionItemProvider != null) floatSubstitutionItemProvider.dispose();
+ if (booleanSubstitutionItemProvider != null) booleanSubstitutionItemProvider.dispose();
+ if (stringSubstitutionItemProvider != null) stringSubstitutionItemProvider.dispose();
+ if (dateSubstitutionItemProvider != null) dateSubstitutionItemProvider.dispose();
+ if (enumSubstitutionItemProvider != null) enumSubstitutionItemProvider.dispose();
+ if (miscellaneousSubstitutionItemProvider != null) miscellaneousSubstitutionItemProvider.dispose();
+ if (incQuerySnapshotItemProvider != null) incQuerySnapshotItemProvider.dispose();
+ }
+
+}
View
135 ...t/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EMFSubstitutionItemProvider.java
@@ -0,0 +1,135 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.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.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+import org.eclipse.incquery.snapshot.EIQSnapshot.EMFSubstitution;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.EMFSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class EMFSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMFSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EMFSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_EMFSubstitution_value_feature", "_UI_EMFSubstitution_type"),
+ EIQSnapshotPackage.Literals.EMF_SUBSTITUTION__VALUE,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This returns EMFSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EMFSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((EMFSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EMFSubstitution_type") :
+ getString("_UI_EMFSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
92 ...ot.edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EiqsnapshotEditPlugin.java
@@ -0,0 +1,92 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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 Eiqsnapshot edit plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class EiqsnapshotEditPlugin extends EMFPlugin {
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final EiqsnapshotEditPlugin INSTANCE = new EiqsnapshotEditPlugin();
+
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EiqsnapshotEditPlugin() {
+ super
+ (new ResourceLocator [] {
+ EcoreEditPlugin.INSTANCE,
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Implementation() {
+ super();
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+}
View
166 .../src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/EnumSubstitutionItemProvider.java
@@ -0,0 +1,166 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+import org.eclipse.incquery.snapshot.EIQSnapshot.EnumSubstitution;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.EnumSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class EnumSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EnumSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValueLiteralPropertyDescriptor(object);
+ addEnumTypePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value Literal feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValueLiteralPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EnumSubstitution_valueLiteral_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_EnumSubstitution_valueLiteral_feature", "_UI_EnumSubstitution_type"),
+ EIQSnapshotPackage.Literals.ENUM_SUBSTITUTION__VALUE_LITERAL,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Enum Type feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addEnumTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_EnumSubstitution_enumType_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_EnumSubstitution_enumType_feature", "_UI_EnumSubstitution_type"),
+ EIQSnapshotPackage.Literals.ENUM_SUBSTITUTION__ENUM_TYPE,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This returns EnumSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EnumSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((EnumSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_EnumSubstitution_type") :
+ getString("_UI_EnumSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(EnumSubstitution.class)) {
+ case EIQSnapshotPackage.ENUM_SUBSTITUTION__VALUE_LITERAL:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
143 ...src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/FloatSubstitutionItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+import org.eclipse.incquery.snapshot.EIQSnapshot.FloatSubstitution;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.FloatSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class FloatSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FloatSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_FloatSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_FloatSubstitution_value_feature", "_UI_FloatSubstitution_type"),
+ EIQSnapshotPackage.Literals.FLOAT_SUBSTITUTION__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.REAL_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns FloatSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/FloatSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((FloatSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_FloatSubstitution_type") :
+ getString("_UI_FloatSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(FloatSubstitution.class)) {
+ case EIQSnapshotPackage.FLOAT_SUBSTITUTION__VALUE:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
223 .../src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/IncQuerySnapshotItemProvider.java
@@ -0,0 +1,223 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.incquery.snapshot.EIQSnapshot.EIQSnapshotFactory;
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+import org.eclipse.incquery.snapshot.EIQSnapshot.IncQuerySnapshot;
+import org.eclipse.incquery.snapshot.EIQSnapshot.InputSpecification;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.IncQuerySnapshot} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class IncQuerySnapshotItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IncQuerySnapshotItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addModelRootsPropertyDescriptor(object);
+ addInputSpecificationPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Model Roots feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addModelRootsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_IncQuerySnapshot_modelRoots_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IncQuerySnapshot_modelRoots_feature", "_UI_IncQuerySnapshot_type"),
+ EIQSnapshotPackage.Literals.INC_QUERY_SNAPSHOT__MODEL_ROOTS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Input Specification feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addInputSpecificationPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_IncQuerySnapshot_inputSpecification_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IncQuerySnapshot_inputSpecification_feature", "_UI_IncQuerySnapshot_type"),
+ EIQSnapshotPackage.Literals.INC_QUERY_SNAPSHOT__INPUT_SPECIFICATION,
+ 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}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(EIQSnapshotPackage.Literals.INC_QUERY_SNAPSHOT__MATCH_SET_RECORDS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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 IncQuerySnapshot.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IncQuerySnapshot"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ InputSpecification labelValue = ((IncQuerySnapshot)object).getInputSpecification();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ?
+ getString("_UI_IncQuerySnapshot_type") :
+ getString("_UI_IncQuerySnapshot_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IncQuerySnapshot.class)) {
+ case EIQSnapshotPackage.INC_QUERY_SNAPSHOT__INPUT_SPECIFICATION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case EIQSnapshotPackage.INC_QUERY_SNAPSHOT__MATCH_SET_RECORDS:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (EIQSnapshotPackage.Literals.INC_QUERY_SNAPSHOT__MATCH_SET_RECORDS,
+ EIQSnapshotFactory.eINSTANCE.createMatchSetRecord()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return EiqsnapshotEditPlugin.INSTANCE;
+ }
+
+}
View
143 ...t/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/IntSubstitutionItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+import org.eclipse.incquery.snapshot.EIQSnapshot.IntSubstitution;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.IntSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class IntSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public IntSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_IntSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IntSubstitution_value_feature", "_UI_IntSubstitution_type"),
+ EIQSnapshotPackage.Literals.INT_SUBSTITUTION__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns IntSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IntSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((IntSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_IntSubstitution_type") :
+ getString("_UI_IntSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IntSubstitution.class)) {
+ case EIQSnapshotPackage.INT_SUBSTITUTION__VALUE:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
143 .../src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/LongSubstitutionItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.incquery.snapshot.EIQSnapshot.EIQSnapshotPackage;
+import org.eclipse.incquery.snapshot.EIQSnapshot.LongSubstitution;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.incquery.snapshot.EIQSnapshot.LongSubstitution} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class LongSubstitutionItemProvider
+ extends MatchSubstitutionRecordItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public LongSubstitutionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_LongSubstitution_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_LongSubstitution_value_feature", "_UI_LongSubstitution_type"),
+ EIQSnapshotPackage.Literals.LONG_SUBSTITUTION__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns LongSubstitution.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/LongSubstitution"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((LongSubstitution)object).getParameterName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_LongSubstitution_type") :
+ getString("_UI_LongSubstitution_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(LongSubstitution.class)) {
+ case EIQSnapshotPackage.LONG_SUBSTITUTION__VALUE:
+ 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.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
View
245 ....edit/src/org/eclipse/incquery/snapshot/EIQSnapshot/provider/MatchRecordItemProvider.java
@@ -0,0 +1,245 @@
+/**
+ */
+package org.eclipse.incquery.snapshot.EIQSnapshot.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+