Class V8Commands


  • public final class V8Commands
    extends Object
    Utility class that simplifies common editing operations on EObjects.
    • Method Detail

      • executeSet

        public static void executeSet​(IBmEditingContext editingContext,
                                      org.eclipse.emf.ecore.EObject owner,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      Object value)
      • executeSet

        public static void executeSet​(IBmEditingContext editingContext,
                                      org.eclipse.emf.ecore.EObject owner,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      Object value,
                                      int index)
      • executeAdd

        public static void executeAdd​(IBmEditingContext editingContext,
                                      org.eclipse.emf.ecore.EObject owner,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      Object value)
      • executeAdd

        public static void executeAdd​(IBmEditingContext editingContext,
                                      org.eclipse.emf.ecore.EObject owner,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      Collection<?> collection)
      • executeAdd

        public static void executeAdd​(IBmEditingContext editingContext,
                                      org.eclipse.emf.ecore.EObject owner,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      Collection<?> collection,
                                      int index)
      • executeAdd

        public static void executeAdd​(IBmEditingContext editingContext,
                                      org.eclipse.emf.ecore.EObject owner,
                                      org.eclipse.emf.ecore.EStructuralFeature feature,
                                      Object value,
                                      int index)
      • executeRemove

        public static void executeRemove​(IBmEditingContext editingContext,
                                         org.eclipse.emf.ecore.EObject owner,
                                         org.eclipse.emf.ecore.EStructuralFeature feature,
                                         Object object)
      • executeRemove

        public static void executeRemove​(IBmEditingContext editingContext,
                                         org.eclipse.emf.ecore.EObject owner,
                                         org.eclipse.emf.ecore.EStructuralFeature feature,
                                         Collection<?> collection)
      • executeMove

        public static void executeMove​(IBmEditingContext editingContext,
                                       org.eclipse.emf.ecore.EObject owner,
                                       org.eclipse.emf.ecore.EObject element,
                                       int newIndex,
                                       org.eclipse.emf.ecore.EStructuralFeature feature)