コード例 #1
0
 @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);
 }
コード例 #2
0
 @Override
 public void assignAttribute(XAttribute attribute) {
   super.assignAttribute(attribute);
   if (attribute.getName().equals(TABLE_SERVLET_CALL_PATH)) {
     servletCallPathforURLTableAttribute = attribute;
   }
 }