Package com._1c.g5.v8.dt.dcs.ui.util
Class DcsCommands
- java.lang.Object
- 
- com._1c.g5.v8.dt.dcs.ui.util.DcsCommands
 
- 
 public class DcsCommands extends Object Commands executor for model objects that can be unbounded (copies in dialogs, collections of parameters, etc.)
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidadd(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object value)Add single objectstatic voidadd(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object value, int index)Add single objectstatic voidadd(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Collection<?> collection)Add multiple objectsstatic voidadd(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Collection<?> collection, int index)Add multiple objectsstatic voidmove(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EObject element, int newIndex)Move objectstatic voidremove(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object object)Remove single objectstatic voidremove(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Collection<?> collection)Remove multiple objectsstatic voidset(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object value)Set object
 
- 
- 
- 
Method Detail- 
addpublic static void add(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object value) Add single object- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- value- object value, can't be- null
 
 - 
addpublic static void add(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object value, int index) Add single object- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- value- object value, can't be- null
- index- index, (index >= 0 && index < size()) or -1 for adding in the end of collection
 
 - 
addpublic static void add(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Collection<?> collection, int index) Add multiple objects- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- collection- objects collection, can't be- null
- index- index, (index >= 0 && index < size()) or -1 for adding in the end of collection
 
 - 
addpublic static void add(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Collection<?> collection) Add multiple objects- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- collection- objects collection, can't be- null
 
 - 
setpublic static void set(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object value) Set object- Parameters:
- editingContext- the BM editing context, can't be- null
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- value- object value, can't be- null
 
 - 
removepublic static void remove(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Object object) Remove single object- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- value- object value, can't be- null
 
 - 
removepublic static void remove(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Collection<?> collection) Remove multiple objects- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- collection- objects collection, can't be- null
 
 - 
movepublic static void move(IBmEditingContext editingContext, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EObject element, int newIndex) Move object- Parameters:
- editingContext- TODO
- owner- parent object, can't be- null
- feature- object feature, can't be- null
- element- object, can't be- null
- newIndex- new index in collection
 
 
- 
 
-