Examples of addAttribute()


Examples of org.jmanage.webui.taglib.HtmlElement.addAttribute()

        // graphs at cluster level are not yet supported
        assert !appConfig.isCluster();
        GraphConfig graphConfig = appConfig.findGraph(id);

        HtmlElement applet = new HtmlElement("applet");
        applet.addAttribute("code", "org/jmanage/webui/applets/GraphApplet.class");
        applet.addAttribute("archive", "/applets/applets.jar,/applets/jfreechart-0.9.20.jar,/applets/jcommon-0.9.5.jar");
        applet.addAttribute("width", width);
        applet.addAttribute("height", height);

        ParamElement param = null;

Examples of org.jnode.emu.plugin.model.DummyConfigurationElement.addAttribute()

        DummyPluginDescriptor desc = new DummyPluginDescriptor(true);
        DummyExtensionPoint ep = new DummyExtensionPoint("types", "org.jnode.fs.types", "types");
        desc.addExtensionPoint(ep);
        DummyExtension extension = new DummyExtension();
        DummyConfigurationElement element = new DummyConfigurationElement();
        element.addAttribute("class", HfsPlusFileSystemType.class.getName());
        extension.addElement(element);
        ep.addExtension(extension);
        return new FileSystemPlugin(desc);
    }

Examples of org.jresearch.flexess.umi.api.impl.UserSearchCritieria.addAttribute()

    info.setId("uid"); //$NON-NLS-1$
    Attribute attribute = new Attribute();
    attribute.setAttributeInfo(info);
    attribute.setValue("a a"); //$NON-NLS-1$
    UserSearchCritieria critieria = new UserSearchCritieria();
    critieria.addAttribute(attribute);
    UserListingSettings settings = new UserListingSettings();
    settings.setCriteria(critieria);
    Collection<IUser> users = userManager.getUsers(settings);
    assertNotNull(users);
    assertFalse(users.isEmpty());

Examples of org.kie.uberfire.client.common.FormStyleLayout.addAttribute()

            hp.add( new SmallLabel( GuidedRuleEditorResources.CONSTANTS.Metadata2() ) );
            layout.addRow( hp );
        }
        for ( int i = 0; i < meta.length; i++ ) {
            RuleMetadata rmd = meta[ i ];
            layout.addAttribute( rmd.getAttributeName(),
                                 getEditorWidget( rmd,
                                                  i,
                                                  isReadOnly ) );
        }
        RuleAttribute[] attrs = model.attributes;

Examples of org.kie.uberfire.client.common.FormStylePopup.addAttribute()

                value.setValue( "" );
                doTypeChosen( form );
            }
        } );

        form.addAttribute( GuidedRuleEditorResources.CONSTANTS.LiteralValue() + ":",
                           widgets( lit,
                                    new InfoPopup( GuidedRuleEditorResources.CONSTANTS.Literal(),
                                            GuidedRuleEditorResources.CONSTANTS.ALiteralValueMeansTheValueAsTypedInIeItsNotACalculation() ) ) );

        if ( modeller.isTemplate() ) {

Examples of org.kie.uberfire.client.common.popups.FormStylePopup.addAttribute()

                         fieldCompletionValues[ i ] );
        }

        box.setSelectedIndex( 0 );

        popup.addAttribute( TestScenarioConstants.INSTANCE.ChooseAMethodToInvoke(),
                            box );
        box.addChangeHandler( new ChangeHandler() {

            public void onChange( ChangeEvent event ) {
                mCall.setState( ActionCallMethod.TYPE_DEFINED );

Examples of org.mybatis.generator.api.dom.xml.XmlElement.addAttribute()

  {
    XmlElement parentElement = document.getRootElement();

    // 生成selectByMap的sql映射
    XmlElement answer = new XmlElement("select"); //$NON-NLS-1$
    answer.addAttribute(new Attribute("id", "selectByMap")); //$NON-NLS-1$
    answer.addAttribute(new Attribute(
        "resultMap", introspectedTable.getBaseResultMapId())); //$NON-NLS-1$
    answer.addAttribute(new Attribute("parameterType", "Map")); //$NON-NLS-1$

    context.getCommentGenerator().addComment(answer);

Examples of org.nasutekds.server.types.Entry.addAttribute()

              eclAttributes, // entry attributes
              eclmsg.getDraftChangeNumber(),
          "modrdn", null);

          Attribute a = Attributes.create("newrdn", modDNMsg.getNewRDN());
          clEntry.addAttribute(a, null);

          if (modDNMsg.getNewSuperior()!=null)
          {
            Attribute b = Attributes.create("newsuperior",
                modDNMsg.getNewSuperior());

Examples of org.newdawn.slick.svg.NonGeometricData.addAttribute()

   
    Rectangle rect = new Rectangle(x,y,width,height);
    Shape shape = rect.transform(transform);
   
    NonGeometricData data = Util.getNonGeometricData(element);
    data.addAttribute("width", ""+width);
    data.addAttribute("height", ""+height);
    data.addAttribute("x", ""+x);
    data.addAttribute("y", ""+y);
   
    diagram.addFigure(new Figure(Figure.RECTANGLE, shape, data, transform));

Examples of org.one.stone.soup.xml.XmlElement.addAttribute()

  public void startWebCamCaster()
  {
    try{
     
      XmlElement header = new XmlElement("Recorder");
      header.addAttribute("id",pageName+"/"+streamId);
      Rectangle screen = new Rectangle( Toolkit.getDefaultToolkit ().getScreenSize() );
     
      socket = new Socket(host,port);
      socket.getOutputStream().write( ("GET /OpenForum/Multicaster/Share HTTP/1.1\r\n").getBytes() );
      socket.getOutputStream().write( ("\r\n\r\n").getBytes() );
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.