/** * This yields an encoding of the owner-child relation. */ public Collection<String> getParameters() { Collection<String> parameters = new ArrayList<String>(); EObject eObject = getEOwner(); EStructuralFeature eStructuralFeature = getEStructuralFeature(); if (eObject != null && eStructuralFeature != null) { parameters.add(eObject.eClass().getName()); parameters.add(eStructuralFeature.getEType().getName()); } return parameters; }
final EObject eObject = commandParameter.getEOwner(); final List<Object> list = new ArrayList<Object>(commandParameter.getCollection());
final EObject eObject = commandParameter.getEOwner(); final List<Object> list = new ArrayList<Object>(commandParameter.getCollection()); int index = commandParameter.getIndex();
createSetCommand (domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature() != null ? commandParameter.getEStructuralFeature() : getSetFeature(commandParameter.getEOwner(), commandParameter.getValue()), commandParameter.getValue(), commandParameter.getIndex()); result = createCopyCommand(domain, commandParameter.getEOwner(), (CopyCommand.Helper)commandParameter.getValue()); result = createCreateCopyCommand(domain, commandParameter.getEOwner(), (CopyCommand.Helper)commandParameter.getValue()); result = createInitializeCopyCommand(domain, commandParameter.getEOwner(), (CopyCommand.Helper)commandParameter.getValue()); result = createRemoveCommand(domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getCollection()); createAddCommand (domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getCollection(), createMoveCommand (domain, commandParameter.getEOwner(), commandParameter.getEStructuralFeature(), commandParameter.getValue(),
final EObject eObject = commandParameter.getEOwner(); final Object value = commandParameter.getValue(); int index = commandParameter.getIndex();