Examples of IOntologyTable


Examples of org.mmisw.orrportal.gwt.client.util.table.IOntologyTable

    vp.setSpacing(4);
    vp.setHorizontalAlignment(ALIGN_CENTER);

    final MyDialog popup = new MyDialog(vp);
    popup.setText("Available versions for " +oi.getUnversionedUri());
    IOntologyTable ontologyTable = OntologyTableCreator.create(PortalControl.getInstance().getQuickInfo(), true);
    ontologyTable.setIncludeVersionInLinks(true);
   
    final boolean sortDown = true; // (version, true) = most recent version first.
    ontologyTable.setSortColumn("version", sortDown)
   
    // this is to hide the popup when the user clicks one of the links:
    ontologyTable.addClickListenerToHyperlinks(
        new ClickListener() {
          public void onClick(Widget sender) {
            popup.hide();
          }
        }
    );
   
    vp.add(ontologyTable.getWidget());
   
    ontologyTable.setOntologyInfos(ontologyInfos, pctrl.getLoginResult());

    // close the popup if history changes:
    History.addHistoryListener(new HistoryListener() {
      public void onHistoryChanged(String historyToken) {
        popup.setAnimationEnabled(false);
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.