Search in sources :

Example 1 with NewDeploymentListener

use of org.activiti.explorer.ui.management.deployment.NewDeploymentListener in project Activiti by Activiti.

the class ManagementMenuBar method addDeploymentsToolbarEntry.

protected void addDeploymentsToolbarEntry() {
    ToolbarPopupEntry deploymentEntry = addPopupEntry(ENTRY_DEPLOYMENTS, i18nManager.getMessage(Messages.MGMT_MENU_DEPLOYMENTS));
    deploymentEntry.addMenuItem(i18nManager.getMessage(Messages.MGMT_MENU_DEPLOYMENTS_SHOW_ALL), new ToolbarCommand() {

        public void toolBarItemSelected() {
            viewManager.showDeploymentPage();
        }
    });
    deploymentEntry.addMenuItem(i18nManager.getMessage(Messages.MGMT_MENU_DEPLOYMENTS_UPLOAD), new NewDeploymentListener());
}
Also used : NewDeploymentListener(org.activiti.explorer.ui.management.deployment.NewDeploymentListener) ToolbarCommand(org.activiti.explorer.ui.custom.ToolbarEntry.ToolbarCommand) ToolbarPopupEntry(org.activiti.explorer.ui.custom.ToolbarPopupEntry)

Aggregations

ToolbarCommand (org.activiti.explorer.ui.custom.ToolbarEntry.ToolbarCommand)1 ToolbarPopupEntry (org.activiti.explorer.ui.custom.ToolbarPopupEntry)1 NewDeploymentListener (org.activiti.explorer.ui.management.deployment.NewDeploymentListener)1