public void installAttributes(Wire wire, EMFSimpleDependencyProxy proxy) { AttributeValue[] attributes = proxy.getAttributeValues(); wire.installAttribute(NAME, attributes[0]); for (int i = 0; i < SIMPLEDEPENDENCY_ATTRIBUTE_DESCRIPTORS.length; i++) { wire.installAttribute( (String) SIMPLEDEPENDENCY_ATTRIBUTE_DESCRIPTORS[i].getId(), attributes[i + 1]); } super.installAttributes(wire); }
protected void getPropertyDescriptors(Vector desc) { desc.addAll(java.util.Arrays.asList(SIMPLEDEPENDENCY_ATTRIBUTE_DESCRIPTORS)); super.getPropertyDescriptors(desc); }