示例#1
0
  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();
  }
示例#2
0
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public final class FloatJsr extends NumberJsr
    implements ComparableJsr<org.eclipse.vjet.vjo.java.lang.FloatJsr> {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData("org.eclipse.vjet.vjo.java.lang.Float", FloatJsr.class, "Float");

  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(UtilJsr.ResourceSpec.getInstance())
          .addDependentComponent(
              org.eclipse.vjet.vjo.java.lang.MathUtilJsr.ResourceSpec.getInstance())
          .addDependentComponent(ComparableJsr.ResourceSpec.getInstance())
          .addDependentComponent(NumberJsr.ResourceSpec.getInstance());

  protected FloatJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }
}
示例#3
0
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public class CssLoaderJsr extends JsObj {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData("vjo.dsf.utils.CssLoader", CssLoaderJsr.class, "CssLoader");

  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();

  public CssLoaderJsr() {
    super(S.getJsCmpMeta(), true);
  }

  protected CssLoaderJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }

  public static JsFunc<Void> load(String psUrl) {
    return call(S, "load").with(psUrl);
  }

  public static JsFunc<Void> load(IValueBinding<String> psUrl) {
    return call(S, "load").with(psUrl);
  }

  public static JsFunc<Object> getHead() {
    return call(S, Object.class, "getHead");
  }

  public static JsFunc<Void> loadText(String psText) {
    return call(S, "loadText").with(psText);
  }

  public static JsFunc<Void> loadText(IValueBinding<String> psText) {
    return call(S, "loadText").with(psText);
  }

  public static JsTypeRef<CssLoaderJsr> prototype = new JsTypeRef<CssLoaderJsr>(S);
}
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public class DefaultDedupComparableJsr extends JsObj implements IDedupComparableJsr {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData(
          "vjo.dsf.service.DefaultDedupComparable",
          DefaultDedupComparableJsr.class,
          "DefaultDedupComparable");

  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(IDedupComparableJsr.ResourceSpec.getInstance());

  public DefaultDedupComparableJsr() {
    super(S.getJsCmpMeta(), true);
  }

  protected DefaultDedupComparableJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }

  public JsFunc<Boolean> shouldTrack(
      org.eclipse.vjet.vsf.resource.html.event.handler.JsHandlerObjectEnum pMessage) {
    return call(Boolean.class, "shouldTrack").with(pMessage);
  }

  public JsFunc<Boolean> isDedup(
      org.eclipse.vjet.vsf.resource.html.event.handler.JsHandlerObjectEnum pCurrentMessage,
      org.eclipse.vjet.vsf.resource.html.event.handler.JsHandlerObjectEnum pMessage) {
    return call(Boolean.class, "isDedup").with(pCurrentMessage, pMessage);
  }

  public static JsTypeRef<DefaultDedupComparableJsr> prototype =
      new JsTypeRef<DefaultDedupComparableJsr>(S);
}
示例#5
0
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public class ClassJsr extends JsObj {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData("org.eclipse.vjet.vjo.java.lang.Class", ClassJsr.class, "Class");

  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();

  protected ClassJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }
}
示例#6
0
 public static IComponentSpec getInstance() {
   return S.getResourceSpec();
 }
 public DefaultDedupComparableJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#8
0
 public LocationJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#9
0
 public BlobJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#10
0
 public SelectJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#11
0
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public class SelectJsr extends JsObj {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData("vjo.dsf.document.Select", SelectJsr.class, "Select");

  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(ElementJsr.ResourceSpec.getInstance());

  public SelectJsr() {
    super(S.getJsCmpMeta(), true);
  }

  protected SelectJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }

  public static JsFunc<Void> addOption(Object poSelect, String psVal, String psText) {
    return call(S, "addOption").with(poSelect, psVal, psText);
  }

  public static JsFunc<Void> addOption(
      IValueBinding<Object> poSelect, IValueBinding<String> psVal, IValueBinding<String> psText) {
    return call(S, "addOption").with(poSelect, psVal, psText);
  }

  public static JsFunc<? extends OptionJsr> createOption(String psText, String psVal) {
    return call(S, OptionJsr.class, "createOption").with(psText, psVal);
  }

  public static JsFunc<? extends OptionJsr> createOption(
      IValueBinding<String> psText, IValueBinding<String> psVal) {
    return call(S, OptionJsr.class, "createOption").with(psText, psVal);
  }

  public static JsFunc<? extends OptionJsr> createOption(
      String psText, String psVal, boolean pbDefSel) {
    return call(S, OptionJsr.class, "createOption").with(psText, psVal, pbDefSel);
  }

  public static JsFunc<? extends OptionJsr> createOption(
      IValueBinding<String> psText, IValueBinding<String> psVal, IValueBinding<Boolean> pbDefSel) {
    return call(S, OptionJsr.class, "createOption").with(psText, psVal, checkS(pbDefSel));
  }

  public static JsFunc<? extends OptionJsr> createOption(
      String psText, String psVal, boolean pbDefSel, boolean pbSel) {
    return call(S, OptionJsr.class, "createOption").with(psText, psVal, pbDefSel, pbSel);
  }

  public static JsFunc<? extends OptionJsr> createOption(
      IValueBinding<String> psText,
      IValueBinding<String> psVal,
      IValueBinding<Boolean> pbDefSel,
      IValueBinding<Boolean> pbSel) {
    return call(S, OptionJsr.class, "createOption")
        .with(psText, psVal, checkS(pbDefSel), checkS(pbSel));
  }

  public static JsFunc<Void> clear(Object poSelect) {
    return call(S, "clear").with(poSelect);
  }

  public static JsTypeRef<SelectJsr> prototype = new JsTypeRef<SelectJsr>(S);
}
示例#12
0
 public HTMLCommandElementJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#13
0
 public VjWindowJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#14
0
@org.eclipse.vjet.dsf.resource.utils.CodeGen("JsrGenerator")
public class VjWindowJsr extends JsObj {
  private static final long serialVersionUID = 1L;

  private static final JsObjData S =
      new JsObjData("vjo.dsf.window.utils.VjWindow", VjWindowJsr.class, "VjWindow");

  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();

  public VjWindowJsr() {
    super(S.getJsCmpMeta(), true);
  }

  protected VjWindowJsr(JsCmpMeta cmpMeta, boolean isInstance, Object... args) {
    super(cmpMeta, isInstance, args);
  }

  public static JsFunc<Object> open(
      String pUrl,
      String pWindowName,
      String pFeatures,
      boolean pReplace,
      boolean pCenter,
      int pWidth,
      int pHeight) {
    return call(S, Object.class, "open")
        .with(pUrl, pWindowName, pFeatures, pReplace, pCenter, pWidth, pHeight);
  }

  public static JsFunc<Object> open(
      IValueBinding<String> pUrl,
      IValueBinding<String> pWindowName,
      IValueBinding<String> pFeatures,
      IValueBinding<Boolean> pReplace,
      IValueBinding<Boolean> pCenter,
      IValueBinding<Integer> pWidth,
      IValueBinding<Integer> pHeight) {
    return call(S, Object.class, "open")
        .with(pUrl, pWindowName, pFeatures, checkS(pReplace), checkS(pCenter), pWidth, pHeight);
  }

  public static JsFunc<Object> open(
      String pUrl,
      String pWindowName,
      boolean pFeatures,
      boolean pReplace,
      int pCenter,
      int pWidth) {
    return call(S, Object.class, "open")
        .with(pUrl, pWindowName, pFeatures, pReplace, pCenter, pWidth);
  }

  public static JsFunc<Object> open(
      IValueBinding<String> pUrl,
      IValueBinding<String> pWindowName,
      IValueBinding<Boolean> pFeatures,
      IValueBinding<Boolean> pReplace,
      IValueBinding<Integer> pCenter,
      IValueBinding<Integer> pWidth) {
    return call(S, Object.class, "open")
        .with(pUrl, pWindowName, checkS(pFeatures), checkS(pReplace), pCenter, pWidth);
  }

  public static JsFunc<Void> location(String pUrl) {
    return call(S, "location").with(pUrl);
  }

  public static JsFunc<Void> location(IValueBinding<String> pUrl) {
    return call(S, "location").with(pUrl);
  }

  public static JsFunc<Void> alert(Object pMessage) {
    return call(S, "alert").with(pMessage);
  }

  public static JsFunc<Boolean> confirm(Object pMessage) {
    return call(S, Boolean.class, "confirm").with(pMessage);
  }

  public static JsTypeRef<VjWindowJsr> prototype = new JsTypeRef<VjWindowJsr>(S);
}
示例#15
0
 public CssLoaderJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#16
0
 public HTMLFrameElementJsr() {
   super(S.getJsCmpMeta(), true);
 }
示例#17
0
 public HTMLBodyElementJsr() {
   super(S.getJsCmpMeta(), true);
 }