Package org.molgenis.framework.ui.commands

Examples of org.molgenis.framework.ui.commands.ScreenCommand


      // if none selected, make empty list
      if (model.getSelectedIds() == null) model.setSelectedIds(new ArrayList<Object>());

      // get the current command if any
      ScreenCommand command = model.getCommand(action);

      if (action == null || action.isEmpty())
      {
        logger.debug("action or command does not exist");
        return Show.SHOW_MAIN;
      }
      // delegate to a command
      else if (command != null && command instanceof SimpleCommand)
      {
        logger.debug("delegating to PluginCommand");
        model.setCurrentCommand(command);
        return command.handleRequest(db, request, out);
      }
      else if (action.equals("filter_add"))
      {
        this.addFilters(pager, db, request);
      }
View Full Code Here

TOP

Related Classes of org.molgenis.framework.ui.commands.ScreenCommand

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.