Examples of IPropertyCodeGenerator


Examples of org.dyno.visual.swing.parser.spi.IPropertyCodeGenerator

    return builder.toString();
  }

  protected String generateSetCode(ImportRewrite imports, IWidgetPropertyDescriptor property) {
    if (property.isPropertySet(adaptable.getLnfClassname(), new StructuredSelection(adaptable.getWidget())) && (property.isGencode() || property.isEdited(adaptable))) {
      IPropertyCodeGenerator generator = (IPropertyCodeGenerator) property.getAdapter(IPropertyCodeGenerator.class);
      if (generator != null) {
        return generator.getJavaCode(adaptable.getWidget(), imports);
      }
    }
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.