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); }
public static String getDependency_Name(Wire w) { return (String) w.getAttribute(DEPENDENCY_NAME); }
public static String getEnabled(Wire w) { return (String) w.getAttribute(ENABLED); }
public static String getRelevant(Wire w) { return (String) w.getAttribute(RELEVANT); }