Examples of IconPanel


Examples of com.arjuna.ats.tools.toolsframework.iconpanel.IconPanel

    gbc.anchor = GridBagConstraints.WEST;
    gbl.setConstraints(_domainLabel, gbc);
    this.add(_domainLabel);

    /** Setup and add icon panel **/
    _iconPanel = new IconPanel(800);
    gbc.gridy = 1;
    gbc.fill = GridBagConstraints.BOTH;
    gbl.setConstraints(_iconPanel, gbc);
    this.add(_iconPanel);

View Full Code Here

Examples of com.arjuna.ats.tools.toolsframework.iconpanel.IconPanel

            /** Create state viewer panel **/
            _stateViewer = new StatePanel();
            _stateViewer.setBackground(Color.white);

            /** Create object view **/
            _objectView = new IconPanel();
            JScrollPane objectScrollPane = new JScrollPane(_objectView);

            /** Create right hand split panel **/
            JSplitPane rightHandSplitPlane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, objectScrollPane, new JScrollPane(_stateViewer));
            rightHandSplitPlane.setDividerSize(3);
View Full Code Here

Examples of com.arjuna.ats.tools.toolsframework.iconpanel.IconPanel

            /** Create state viewer panel **/
            _stateViewer = new StatePanel();
            _stateViewer.setBackground(Color.white);

            /** Create object view **/
            _objectView = new IconPanel();
            JScrollPane objectScrollPane = new JScrollPane(_objectView);

            /** Create right hand split panel **/
            JSplitPane rightHandSplitPlane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, objectScrollPane, new JScrollPane(_stateViewer));
            rightHandSplitPlane.setDividerSize(3);
View Full Code Here

Examples of opus.gwt.management.console.client.dashboard.IconPanel

    this.eventBus = clientFactory.getEventBus();
    navigationPanel = new NavigationPanel(clientFactory);
    breadCrumbsPanel = new BreadCrumbsPanel(clientFactory);
    projectManagerController = new ProjectManagerController(clientFactory);
    projectDeployerController = new ProjectDeployerController(clientFactory);
    iconPanel = new IconPanel(clientFactory);
    initWidget(uiBinder.createAndBindUi(this));
    RootLayoutPanel.get().add(this);
    RootLayoutPanel.get().setStyleName(style.rootLayoutPanel());
    registerHandlers();
    startConsole();
View Full Code Here

Examples of org.buildndeploy.client.ui.file.IconPanel

     
      @Override
      public void onMessage(String s, MessageType t) {
        System.out.println("got message " + s);
        Beanery factory = AppController.getBeanFactory();
        IconPanel iconPanel = mainPanel.draggablePanel;
        switch(t) {
        case AddEvent:
          JsArray<BlobInfoJS> c = JsonUtils.safeEval(s);
          for (int i = 0; i < c.length(); i++) {
            BlobInfoJS x = c.get(i);
            iconPanel.add(x);
          }
        break;
        case MoveEvent:
          AutoBean<MoveEvent> moveBean = AutoBeanCodex.decode(factory, MoveEvent.class, s);
          MoveEvent moveEvent = moveBean.as();
          moveIcon(moveEvent.getBlobKey(), moveEvent.getFrom(), moveEvent.getTo());
          break;
        case DeleteEvent:
          iconPanel.delete(s);
        break;
        default:
          // Ignore
        }
      }
View Full Code Here

Examples of org.buildndeploy.client.ui.file.IconPanel

      }
    });
  }
 
  private void moveIcon(String blobKey, int oldIndex, int newIndex) {
    IconPanel iconPanel = mainPanel.draggablePanel;
    List<BlobInfoJS> oldFiles = iconPanel.getFiles();
    BlobInfoJS toAdd = oldFiles.get(oldIndex);
    if (toAdd.getBlobKey().equals(blobKey)) {
      iconPanel.insert(toAdd, newIndex);
      // Increment to account for shift after insert
      if (oldIndex > newIndex)
        oldIndex++;
      iconPanel.delete(oldIndex, false);
    }
  }
View Full Code Here

Examples of org.buildndeploy.client.ui.file.IconPanel

  // ========================================================================= //
  //      PRIVATE METHODS                            //
  // ========================================================================= //
 
  private void populateFilePanel(JsArray<BlobInfoJS> c) {
    IconPanel iconPanel = mainPanel.draggablePanel;
   
    for (int i = 0; i < c.length(); i++) {
      BlobInfoJS x = c.get(i);
      iconPanel.add(x);
    }
  }
View Full Code Here

Examples of org.projectforge.web.wicket.flowlayout.IconPanel

    return this;
  }

  private Component createHeadCell(final String componentId, final IconType icon, final String tooltip)
  {
    return new IconPanel(componentId, icon, getLocalizedString(tooltip));
  }
View Full Code Here

Examples of org.projectforge.web.wicket.flowlayout.IconPanel

  }

  private Component createTicker(final String componentId, final boolean value)
  {
    if (value == true) {
      return new IconPanel(componentId, IconType.ACCEPT);
    } else {
      return new IconPanel(componentId, IconType.DENY);
    }
  }
View Full Code Here

Examples of org.projectforge.web.wicket.flowlayout.IconPanel

        }
      };
      selectMeLink.setOutputMarkupId(true);
    }
    add(selectMeLink);
    selectMeLink.add(new IconPanel("selectMeHelp", IconType.USER, getString("tooltip.selectMe")).setColor(CSSColor.GREEN));
    return this;
  }
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.