Package plugins.Freetalk.WoT

Examples of plugins.Freetalk.WoT.WoTIdentity


     * @param message The message which shall be shown. Must not be null.
     * @param ref A reference to the message which is to be displayed. Can be null, then the "message was read?" information will be unavailable.
     */
    private void addMessageBox(Message message, BoardMessageLink ref) {
     
      final WoTIdentity author = (WoTIdentity)message.getAuthor();

    HTMLNode table = mContentNode.addChild("table", new String[] { "border", "width", "class", "id" },
        new String[] { "0", "100%", "message", ref.getMessageID()});

    HTMLNode row = table.addChild("tr", "class", "message");
View Full Code Here


         
          if (!matcher.matches()) {
            authorNode.addChild("b", specifiedAuthor);
          } else {
            try {
              final WoTIdentity author = (WoTIdentity)identityManager.getIdentity(matcher.group(1));
              authorNode.addChild("a", new String[] { "class", "href", "title" },
                  new String[] { "identity-link", Freetalk.WOT_PLUGIN_URI + "/ShowIdentity?id=" + author.getID(), "Web of Trust Page" })
                  .addChild("abbr", new String[] { "title" }, new String[] { author.getID() })
                  .addChild("span", "class", "name", author.getShortestUniqueName());
            } catch (NoSuchIdentityException e) {
              authorNode.addChild("b", specifiedAuthor + " (Unknown identity)"); // TODO: l10n
            }
          }
        }
View Full Code Here

TOP

Related Classes of plugins.Freetalk.WoT.WoTIdentity

Copyright © 2018 www.massapicom. 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.