Package com.sencha.gxt.widget.core.client.menu

Examples of com.sencha.gxt.widget.core.client.menu.Menu$MenuAppearance


      List<ColumnConfig<FileModel, ?>> list = new ArrayList<ColumnConfig<FileModel, ?>>();
      list.add(name);
      ColumnModel<FileModel> cm = new ColumnModel<FileModel>(list);

      myTreeGrid = new FileTreeGrid(context, getMyTreeStore(), cm, name);
      Menu fileMenu = new FileMenu(fileManagerPresenter)
          .getFileMenu();
      final MenuItem referMenuItem = getReferMenuItem(false);
      fileMenu.add(new SeparatorMenuItem());
      fileMenu.add(referMenuItem);
      fileMenu.addBeforeShowHandler(new BeforeShowHandler() {
        @Override
        public void onBeforeShow(BeforeShowEvent event) {
          if(getMyTreeGrid().getSelectionModel().getSelectedItem().isFolder()){
            referMenuItem.setEnabled(false);
          }else{
View Full Code Here


    selectRun.disable();
    add(new SeparatorToolItem());
    add(sync);
    add(syncJump);
    add(new SeparatorToolItem());
    Menu menu=new Menu();
    menu.add(upload);
    extend.setMenu(menu);
    add(extend);
    add(new SeparatorToolItem());
    add(config);
  }
View Full Code Here

TOP

Related Classes of com.sencha.gxt.widget.core.client.menu.Menu$MenuAppearance

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.