Package com.projity.graphic.configuration

Examples of com.projity.graphic.configuration.BarStyle


  protected void init() {
      removeAll();
        final JMenu bars=new JMenu(Messages.getString("Network.Popup.barStylesMenu"));
    CollectionUtils.forAllDo(interactor.getGraph().getBarStyles().getRows(), new Closure() {
      public void execute(Object arg0) {
        BarStyle barStyle = (BarStyle)arg0;
        BarMenuAction menuAction =new BarMenuAction(barStyle);
        bars.add(menuAction);
       
      }
    });
View Full Code Here


      add(new AssignmentsMenuAction());
        final JMenu bars=new JMenu(Messages.getString("Gantt.Popup.barStylesMenu"));
        final JMenu annotations=new JMenu(Messages.getString("Gantt.Popup.annotationStylesMenu"));
    CollectionUtils.forAllDo(interactor.getGraph().getBarStyles().getRows(), new Closure() {
      public void execute(Object arg0) {
        BarStyle barStyle = (BarStyle)arg0;
        BarMenuAction menuAction =new BarMenuAction(barStyle);
        if (barStyle.isLink()) // move the show links item to the main menu
          add(menuAction);
        else if (barStyle.isCalendar()) // move the show links item to the main menu
          add(menuAction);
        else if (barStyle.isHorizontalGrid()) // move the show links item to the main menu
          add(menuAction);
        else if (barStyle.isAnnotation())
          annotations.add(menuAction);
        else
          bars.add(menuAction);
       
      }
View Full Code Here

TOP

Related Classes of com.projity.graphic.configuration.BarStyle

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.