Examples of Hyperlink


Examples of com.google.gerrit.client.ui.Hyperlink

  protected void onInitUI() {
    super.onInitUI();

    agreements = new AgreementTable();
    add(agreements);
    add(new Hyperlink(Util.C.newAgreement(), PageLinks.SETTINGS_NEW_AGREEMENT));
  }
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

        allPosts.clear();

        Log.debug("ORIGINAL " + original);

        if (original != null) {
            Hyperlink originalL = new Hyperlink("Forum: "
                    + original.getUniqueForumID(), original
                    .getUniqueForumID());
            allPosts.add(originalL);
        }
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

    }

    private void addShortDisplay(TableWithHeaders table, int row,
            ForumPost post) {

        Hyperlink postT = new Hyperlink(post.getPostTitle(), post
                .getUniqueForumID());

        Label replies = new Label("" + post.getReplyCount());

        UserLink author = new UserLink(post.getAuthor());
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

            }

            if (start == pageS) {
                nav.add(new Label(" (" + (i + 1) + ")"));
            } else {
                nav.add(new Hyperlink(" " + (i + 1), getID(topic, i,
                        maxperpage)));
            }

            // Log.debug(pageS + " pageS:tc " + totalCount);
            i++;
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

       
        if ( error != null ) {
          VerticalPanel vp = new VerticalPanel();
          vp.setSpacing(14);
          vp.add(new HTML(error));
          vp.add(new Hyperlink("Go to main page", PortalConsts.T_BROWSE));
          bodyPanel.clear();
            bodyPanel.add(vp);
            return;
        }
       
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

      String propUri = pv.getPropUri();
      if ( propName == null ) {
        propName = "?";
      }
      if ( propUri != null ) {
        Hyperlink link = new Hyperlink(propUri, propUri);
//        Hyperlink link = new Hyperlink(propName, propUri);
        if ( propUri != null ) {
          link.setTitle(propUri);
        }
        flexPanel.setWidget(row, 0, link);
      }
      else {
        htmlStr = propName;
        HTML html = new HTML("<b>" +htmlStr+ "</b>:");
        if ( propUri != null ) {
          html.setTitle(propUri);
        }
        flexPanel.setWidget(row, 0, html);
      }
      cf.setAlignment(row, 0, HasHorizontalAlignment.ALIGN_RIGHT, HasVerticalAlignment.ALIGN_TOP);

     
      // column 1
      String valueName = pv.getValueName();
      String valueUri = pv.getValueUri();
      if ( valueName == null ) {
        valueName = "?";
      }
      if ( valueUri != null ) {
        Hyperlink link = new Hyperlink(valueUri, valueUri);
//        Hyperlink link = new Hyperlink(valueName, valueUri);
        if ( valueUri != null ) {
          link.setTitle(valueUri);
        }
        flexPanel.setWidget(row, 1, link);
      }
      else {
        htmlStr = valueName;
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

        verticalPanel.add(decPanel);
        VerticalPanel verticalPanelDec = new VerticalPanel();
        verticalPanelDec.setSpacing(iCing.margin);
        decPanel.add(verticalPanelDec);
        final Hyperlink hyperlink = new Hyperlink(c.Start(), iCing.FILE_STATE);
        verticalPanelDec.add(hyperlink);
        hyperlink.setTitle(c.Begin_with_file());
//        final Hyperlink hyperlink_1 = new Hyperlink(c.Logout(), iCing.LOGIN_STATE);
//        verticalPanelDec.add(hyperlink_1);
//        hyperlink_1.setTitle(c.Start_new_sessi());
    }
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

        tooltip += "   \nversion: " +version;
      }
     
      Widget nameWidget;
     
      Hyperlink nameLink = new Hyperlink(name, historyToken);
      Hyperlink uriLink = new Hyperlink(uri, historyToken);
     
      boolean isTesting = OrrUtil.isTestingOntology(oi);
      boolean isInternal = isTesting ? false : OrrUtil.isInternalOntology(oi);
      if ( isTesting || isInternal ) {
        // add a mark
        HorizontalPanel hp = new HorizontalPanel();
        hp.add(nameLink);
        HTML html = new HTML(isTesting ? TESTING_ONT_MARK: INTERNAL_ONT_MARK);
        html.setTitle(isTesting ? TESTING_ONT_TOOLTIP : INTERNAL_ONT_TOOLTIP);
        hp.add(html);
        nameWidget = hp;
      }
      else {
        nameWidget = nameLink;
      }

      nameWidget.setTitle(tooltip);

      if ( clickListenerToHyperlinks != null ) {
        nameLink.addClickListener(clickListenerToHyperlinks);
        // issue #257:"version selection window remains open"
        // the listener was not added to the uri. Fixed.
        uriLink.addClickListener(clickListenerToHyperlinks);
      }
       
      int col = 0;
      if ( quickInfo != null ) {
        String quickInfoName = "" +row;
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

  }
 
  public void addContact( final Client client ){
   
    int row = listTable.getRowCount();
    Hyperlink link = new Hyperlink( client.getName(), client.getName() );
    listTable.getRowFormatter().setVerticalAlign(row,HasVerticalAlignment.ALIGN_TOP);
    final Image icon = new Image("icon_user.gif");
    icon.addClickListener(new ClickListener(){
      public void onClick( Widget sender ){
        try{
View Full Code Here

Examples of com.google.gwt.user.client.ui.Hyperlink

    else listTable.setText(row,1, client.getName() );
  }
 
  public void removeContact( Client clinet ){
    for( int i=1; i<listTable.getRowCount()){
      Hyperlink link = (Hyperlink)listTable.getWidget(i,1);
      if( link.getText().compareTo( clinet.getName() ) == 0 ) listTable.removeRow(i);
      else ++i;
    }
  }
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.