Examples of MParameter


Examples of org.codehaus.jam.mutable.MParameter

    dest.setReturnType(src.getReturnType().getName());
    Class[] exceptions = src.getExceptionTypes();
    addThrows(dest,exceptions);
    Class[] paramTypes = src.getParameterTypes();
    for(int i=0; i<paramTypes.length; i++) {
      MParameter p = addParameter(dest, i, paramTypes[i]);
      if (mTigerDelegate != null) mTigerDelegate.extractAnnotations(p,src,i);
    }
    if (mTigerDelegate != null) mTigerDelegate.extractAnnotations(dest,src);
  }
View Full Code Here

Examples of org.codehaus.jam.mutable.MParameter

  private MParameter addParameter(MInvokable dest,
                                  int paramNum,
                                  Class paramType)
  {
    MParameter p = dest.addNewParameter();
    p.setSimpleName("param"+paramNum);
    p.setType(paramType.getName());
    return p;
  }
View Full Code Here

Examples of org.eclipse.e4.ui.model.application.commands.MParameter

      if (switchThemeCommand != null) {

        preprocess();

        for (Theme theme : themes) {
          MParameter parameter = MCommandsFactory.INSTANCE.createParameter();
          parameter.setName("contacts.commands.switchtheme.themeid"); //$NON-NLS-1$
          parameter.setValue(theme.getId());
          String iconURI = getCSSUri(theme.getId());
          if (iconURI != null) {
            iconURI = iconURI.replace(".css", ".png");
          }
          processTheme(theme.getName(), switchThemeCommand, parameter, iconURI);
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.