Exemplo n.º 1
0
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public interface IBindingJsr {
  JsObjData S = new JsObjData("vjo.dsf.IBinding", IBindingJsr.class, "IBinding");

  public static class ResourceSpec {
    public static IComponentSpec getInstance() {
      return S.getResourceSpec();
    }

    public static final JsResource RESOURCE = S.getJsResource();
    public static final IJsResourceRef REF = S.getJsResourceRef();
  }

  public static final IComponentSpec SPEC =
      S.getResourceSpec().addDependentComponent(MessageJsr.ResourceSpec.getInstance());

  public JsFunc<String> serialize(MessageJsr message);

  public JsFunc<String> serialize(IValueBinding<? extends MessageJsr> message);

  public JsFunc<Void> deserialize(MessageJsr message);

  public JsFunc<Void> deserialize(IValueBinding<? extends MessageJsr> message);

  public static JsTypeRef<IBindingJsr> prototype = new JsTypeRef<IBindingJsr>(S);
}
Exemplo n.º 2
0
 public static IComponentSpec getInstance() {
   return S.getResourceSpec();
 }