@Override public void createTableExtensions(ExtensionFactory xFactory, XClass table) { super.createTableExtensions(xFactory, table); servletCallPathforURLTableAttribute = xFactory.createXAttribute(); servletCallPathforURLTableAttribute.setName(XMLHTTPExtensionManager.TABLE_SERVLET_CALL_PATH); servletCallPathforURLTableAttribute.setEType(EcorePackage.eINSTANCE.getEString()); table.getEStructuralFeatures().add(servletCallPathforURLTableAttribute); }
@Override public void assignAttribute(XAttribute attribute) { super.assignAttribute(attribute); if (attribute.getName().equals(TABLE_SERVLET_CALL_PATH)) { servletCallPathforURLTableAttribute = attribute; } }