Search in sources :

Example 6 with BaseAction

use of com.haulmont.cuba.gui.components.actions.BaseAction in project cuba by cuba-platform.

the class FileBrowser method init.

@Override
public void init(Map<String, Object> params) {
    super.init(params);
    filesTable.addAction(new ItemTrackingAction("download").withCaption(getMessage("download")).withHandler(event -> {
        FileDescriptor fileDescriptor = filesTable.getSingleSelected();
        if (fileDescriptor != null) {
            exportDisplay.show(fileDescriptor, null);
        }
    }));
    BaseAction multiUploadAction = new BaseAction("multiupload").withCaption(getMessage("multiupload")).withHandler(event -> {
        if (!security.isEntityOpPermitted(FileDescriptor.class, EntityOp.READ)) {
            throw new AccessDeniedException(PermissionType.ENTITY_OP, FileDescriptor.class.getSimpleName());
        }
        Window window = openWindow("multiuploadDialog", OpenType.DIALOG);
        window.addCloseListener(actionId -> {
            if (COMMIT_ACTION_ID.equals(actionId)) {
                Collection<FileDescriptor> items = ((MultiUploader) window).getFiles();
                for (FileDescriptor fdesc : items) {
                    boolean modified = filesDs.isModified();
                    filesDs.addItem(fdesc);
                    ((DatasourceImplementation) filesDs).setModified(modified);
                }
                filesTable.requestFocus();
            }
        });
    });
    multiUploadAction.setEnabled(security.isEntityOpPermitted(FileDescriptor.class, EntityOp.CREATE));
    multiUploadBtn.setAction(multiUploadAction);
}
Also used : Security(com.haulmont.cuba.core.global.Security) Table(com.haulmont.cuba.gui.components.Table) Collection(java.util.Collection) Button(com.haulmont.cuba.gui.components.Button) ExportDisplay(com.haulmont.cuba.gui.export.ExportDisplay) PermissionType(com.haulmont.cuba.security.entity.PermissionType) UUID(java.util.UUID) FileDescriptor(com.haulmont.cuba.core.entity.FileDescriptor) DatasourceImplementation(com.haulmont.cuba.gui.data.impl.DatasourceImplementation) Inject(javax.inject.Inject) AbstractLookup(com.haulmont.cuba.gui.components.AbstractLookup) EntityOp(com.haulmont.cuba.security.entity.EntityOp) Window(com.haulmont.cuba.gui.components.Window) Map(java.util.Map) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) AccessDeniedException(com.haulmont.cuba.core.global.AccessDeniedException) ItemTrackingAction(com.haulmont.cuba.gui.components.actions.ItemTrackingAction) CollectionDatasource(com.haulmont.cuba.gui.data.CollectionDatasource) OpenType(com.haulmont.cuba.gui.WindowManager.OpenType) Window(com.haulmont.cuba.gui.components.Window) AccessDeniedException(com.haulmont.cuba.core.global.AccessDeniedException) ItemTrackingAction(com.haulmont.cuba.gui.components.actions.ItemTrackingAction) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) DatasourceImplementation(com.haulmont.cuba.gui.data.impl.DatasourceImplementation) FileDescriptor(com.haulmont.cuba.core.entity.FileDescriptor)

Example 7 with BaseAction

use of com.haulmont.cuba.gui.components.actions.BaseAction in project cuba by cuba-platform.

the class SettingsWindow method init.

@Override
public void init(Map<String, Object> params) {
    Boolean changeThemeEnabledParam = (Boolean) params.get("changeThemeEnabled");
    if (changeThemeEnabledParam != null) {
        changeThemeEnabled = changeThemeEnabledParam;
    }
    AppWorkArea.Mode mode = userSettingsTools.loadAppWindowMode();
    msgTabbed = getMessage("modeTabbed");
    msgSingle = getMessage("modeSingle");
    modeOptions.setOptionsList(Arrays.asList(msgTabbed, msgSingle));
    if (mode == AppWorkArea.Mode.TABBED)
        modeOptions.setValue(msgTabbed);
    else
        modeOptions.setValue(msgSingle);
    ThemeConstantsRepository themeRepository = AppBeans.get(ThemeConstantsRepository.NAME);
    Set<String> supportedThemes = themeRepository.getAvailableThemes();
    appThemeField.setOptionsList(new ArrayList<>(supportedThemes));
    String userAppTheme = userSettingsTools.loadAppWindowTheme();
    appThemeField.setValue(userAppTheme);
    ComboBox vAppThemeField = (ComboBox) WebComponentsHelper.unwrap(appThemeField);
    vAppThemeField.setTextInputAllowed(false);
    appThemeField.setEditable(changeThemeEnabled);
    initTimeZoneFields();
    User user = userSession.getUser();
    changePasswordBtn.setAction(new BaseAction("changePassw").withCaption(getMessage("changePassw")).withHandler(event -> {
        Window passwordDialog = openWindow("sec$User.changePassword", OpenType.DIALOG, ParamsMap.of("currentPasswordRequired", true));
        passwordDialog.addCloseListener(actionId -> {
            // move focus back to window
            changePasswordBtn.requestFocus();
        });
    }));
    if (!user.equals(userSession.getCurrentOrSubstitutedUser()) || ExternalUserCredentials.isLoggedInWithExternalAuth(userSession)) {
        changePasswordBtn.setEnabled(false);
    }
    Map<String, Locale> locales = globalConfig.getAvailableLocales();
    TreeMap<String, Object> options = new TreeMap<>();
    for (Map.Entry<String, Locale> entry : locales.entrySet()) {
        options.put(entry.getKey(), messages.getTools().localeToString(entry.getValue()));
    }
    appLangField.setOptionsMap(options);
    appLangField.setValue(userManagementService.loadOwnLocale());
    Action commitAction = new BaseAction("commit").withCaption(messages.getMainMessage("actions.Ok")).withShortcut(clientConfig.getCommitShortcut()).withHandler(event -> commit());
    addAction(commitAction);
    okBtn.setAction(commitAction);
    cancelBtn.setAction(new BaseAction("cancel").withCaption(messages.getMainMessage("actions.Cancel")).withHandler(event -> cancel()));
    initDefaultScreenField();
}
Also used : StringUtils(org.apache.commons.lang.StringUtils) java.util(java.util) MenuConfig(com.haulmont.cuba.gui.config.MenuConfig) UserSettingsTools(com.haulmont.cuba.web.app.UserSettingsTools) ComboBox(com.vaadin.ui.ComboBox) ParamsMap(com.haulmont.bali.util.ParamsMap) AppBeans(com.haulmont.cuba.core.global.AppBeans) CollectionUtils(org.apache.commons.collections4.CollectionUtils) UserSession(com.haulmont.cuba.security.global.UserSession) Inject(javax.inject.Inject) ThemeConstantsRepository(com.haulmont.cuba.gui.theme.ThemeConstantsRepository) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) com.haulmont.cuba.gui.components(com.haulmont.cuba.gui.components) OpenType(com.haulmont.cuba.gui.WindowManager.OpenType) GlobalConfig(com.haulmont.cuba.core.global.GlobalConfig) ClientType(com.haulmont.cuba.core.global.ClientType) AppWorkArea(com.haulmont.cuba.gui.components.mainwindow.AppWorkArea) UserSettingService(com.haulmont.cuba.security.app.UserSettingService) TimeZones(com.haulmont.cuba.core.global.TimeZones) App(com.haulmont.cuba.web.App) UserManagementService(com.haulmont.cuba.security.app.UserManagementService) User(com.haulmont.cuba.security.entity.User) WebComponentsHelper(com.haulmont.cuba.web.gui.components.WebComponentsHelper) WebConfig(com.haulmont.cuba.web.WebConfig) MenuItem(com.haulmont.cuba.gui.config.MenuItem) ExternalUserCredentials(com.haulmont.cuba.web.security.ExternalUserCredentials) ClientConfig(com.haulmont.cuba.client.ClientConfig) UserTimeZone(com.haulmont.cuba.security.app.UserTimeZone) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) User(com.haulmont.cuba.security.entity.User) ComboBox(com.vaadin.ui.ComboBox) ThemeConstantsRepository(com.haulmont.cuba.gui.theme.ThemeConstantsRepository) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) AppWorkArea(com.haulmont.cuba.gui.components.mainwindow.AppWorkArea) ParamsMap(com.haulmont.bali.util.ParamsMap)

Example 8 with BaseAction

use of com.haulmont.cuba.gui.components.actions.BaseAction in project cuba by cuba-platform.

the class MbeansDisplayWindow method init.

@Override
public void init(Map<String, Object> params) {
    super.init(params);
    objectNameField.addValueChangeListener(new ObjectNameFieldListener());
    mbeansTable.addAction(new RefreshAction(mbeansTable));
    Action inspectAction = new ItemTrackingAction("inspect").withCaption(getMessage("action.inspect")).withHandler(event -> {
        Set<ManagedBeanInfo> selected = mbeansTable.getSelected();
        if (!selected.isEmpty()) {
            ManagedBeanInfo mbi = selected.iterator().next();
            if (mbi.getObjectName() != null) {
                // otherwise it's a fake root node
                Window editor = openEditor("jmxConsoleInspectMbean", mbi, OpenType.THIS_TAB);
                editor.addCloseListener(actionId -> {
                    mbeansTable.requestFocus();
                });
            } else {
                // expand / collapse fake root node
                UUID itemId = mbi.getId();
                if (mbeansTable.isExpanded(itemId)) {
                    mbeansTable.collapse(itemId);
                } else {
                    mbeansTable.expand(itemId);
                }
            }
        }
    });
    mbeansTable.addAction(inspectAction);
    mbeansTable.setItemClickAction(inspectAction);
    localJmxInstance = jmxControlAPI.getLocalInstance();
    jmxInstancesDs.refresh();
    jmxConnectionField.setValue(localJmxInstance);
    jmxConnectionField.setRequired(true);
    jmxConnectionField.addValueChangeListener(e -> {
        JmxInstance jmxInstance = (JmxInstance) e.getValue();
        try {
            mbeanDs.setJmxInstance(jmxInstance);
            mbeanDs.refresh();
        } catch (JmxControlException ex) {
            showNotification(getMessage("unableToConnectToInterface"), NotificationType.WARNING);
            if (jmxInstance != localJmxInstance) {
                jmxConnectionField.setValue(localJmxInstance);
            }
        }
    });
    jmxConnectionField.removeAllActions();
    jmxConnectionField.addAction(new PickerField.LookupAction(jmxConnectionField) {

        @Override
        public void afterCloseLookup(String actionId) {
            jmxInstancesDs.refresh();
        }
    });
    jmxConnectionField.addAction(new BaseAction("actions.Add").withIcon("icons/plus-btn.png").withHandler(event -> {
        JmxInstanceEditor instanceEditor = (JmxInstanceEditor) openEditor(metadata.create(JmxInstance.class), OpenType.DIALOG);
        instanceEditor.addCloseListener(actionId -> {
            if (COMMIT_ACTION_ID.equals(actionId)) {
                jmxInstancesDs.refresh();
                jmxConnectionField.setValue(instanceEditor.getItem());
            }
        });
    }));
    mbeanDs.setJmxInstance(localJmxInstance);
    mbeanDs.refresh();
    localJmxField.setValue(jmxControlAPI.getLocalNodeName());
    localJmxField.setEditable(false);
    mbeansTable.setStyleProvider((entity, property) -> {
        if (entity != null && entity.getObjectName() == null) {
            return "c-jmx-tree-table-domain";
        }
        return null;
    });
}
Also used : JmxControlException(com.haulmont.cuba.web.jmx.JmxControlException) StringUtils(org.apache.commons.lang.StringUtils) RefreshAction(com.haulmont.cuba.gui.components.actions.RefreshAction) ManagedBeanInfoDatasource(com.haulmont.cuba.web.app.ui.jmxcontrol.ds.ManagedBeanInfoDatasource) Resource(javax.annotation.Resource) ParamsMap(com.haulmont.bali.util.ParamsMap) Set(java.util.Set) UUID(java.util.UUID) ManagedBeanInfo(com.haulmont.cuba.web.jmx.entity.ManagedBeanInfo) JmxInstance(com.haulmont.cuba.core.entity.JmxInstance) Metadata(com.haulmont.cuba.core.global.Metadata) Inject(javax.inject.Inject) JmxControlAPI(com.haulmont.cuba.web.jmx.JmxControlAPI) JmxInstanceEditor(com.haulmont.cuba.web.app.ui.jmxinstance.edit.JmxInstanceEditor) Map(java.util.Map) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) com.haulmont.cuba.gui.components(com.haulmont.cuba.gui.components) ItemTrackingAction(com.haulmont.cuba.gui.components.actions.ItemTrackingAction) CollectionDatasource(com.haulmont.cuba.gui.data.CollectionDatasource) OpenType(com.haulmont.cuba.gui.WindowManager.OpenType) RefreshAction(com.haulmont.cuba.gui.components.actions.RefreshAction) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) ItemTrackingAction(com.haulmont.cuba.gui.components.actions.ItemTrackingAction) ItemTrackingAction(com.haulmont.cuba.gui.components.actions.ItemTrackingAction) JmxInstanceEditor(com.haulmont.cuba.web.app.ui.jmxinstance.edit.JmxInstanceEditor) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) ManagedBeanInfo(com.haulmont.cuba.web.jmx.entity.ManagedBeanInfo) JmxInstance(com.haulmont.cuba.core.entity.JmxInstance) RefreshAction(com.haulmont.cuba.gui.components.actions.RefreshAction) JmxControlException(com.haulmont.cuba.web.jmx.JmxControlException) UUID(java.util.UUID)

Example 9 with BaseAction

use of com.haulmont.cuba.gui.components.actions.BaseAction in project cuba by cuba-platform.

the class ServerLogWindow method init.

@Override
public void init(Map<String, Object> params) {
    localJmxField.setValue(jmxControlAPI.getLocalNodeName());
    localJmxField.setEditable(false);
    localJmxInstance = jmxControlAPI.getLocalInstance();
    jmxInstancesDs.refresh();
    jmxConnectionField.setValue(localJmxInstance);
    jmxConnectionField.setRequired(true);
    jmxConnectionField.addValueChangeListener(e -> {
        JmxInstance jmxInstance = (JmxInstance) e.getValue();
        try {
            refreshHostInfo();
        } catch (JmxControlException ex) {
            showNotification(getMessage("exception.unableToConnectToInterface"), NotificationType.WARNING);
            if (jmxInstance != localJmxInstance) {
                jmxConnectionField.setValue(localJmxInstance);
            }
        }
    });
    autoRefreshCheck.addValueChangeListener(e -> {
        if (Boolean.TRUE.equals(e.getValue())) {
            updateLogTailTimer.start();
        } else {
            updateLogTailTimer.stop();
        }
    });
    jmxConnectionField.removeAllActions();
    LookupAction action = LookupAction.create(jmxConnectionField);
    action.setAfterLookupCloseHandler((window, actionId) -> {
        jmxInstancesDs.refresh();
    });
    jmxConnectionField.addAction(action);
    jmxConnectionField.addAction(new BaseAction("actions.Add").withIcon("icons/plus-btn.png").withHandler(event -> {
        JmxInstanceEditor instanceEditor = (JmxInstanceEditor) openEditor(metadata.create(JmxInstance.class), OpenType.DIALOG);
        instanceEditor.addCloseListener(actionId -> {
            if (COMMIT_ACTION_ID.equals(actionId)) {
                jmxInstancesDs.refresh();
                jmxConnectionField.setValue(instanceEditor.getItem());
            }
        });
    }));
    logTailLabel.setSizeAuto();
    logTailLabel.setHtmlEnabled(true);
    logTailLabel.setStyleName("c-log-content");
    loggerLevelField.setOptionsList(LoggingHelper.getLevels());
    appenderLevelField.setOptionsList(LoggingHelper.getLevels());
    refreshHostInfo();
    loggerNameField.addValueChangeListener(e -> {
        List<String> currentLoggers = new ArrayList<>(jmxRemoteLoggingAPI.getLoggerNames(getSelectedConnection()));
        Collections.sort(currentLoggers);
        currentLoggers.add(0, getMessage("logger.new"));
        if (e.getValue() != null && e.getValue().equals(currentLoggers.get(0))) {
            openAddLoggerDialog();
        }
    });
    downloadButton.setEnabled(security.isSpecificPermitted("cuba.gui.administration.downloadlogs"));
    ComboBox comboBox = logFileNameField.unwrap(ComboBox.class);
    comboBox.addShortcutListener(new ShortcutListener("", KeyCode.D, new int[] { ModifierKey.CTRL, ModifierKey.SHIFT }) {

        @Override
        public void handleAction(Object sender, Object target) {
            downloadLog();
        }
    });
    comboBox.addShortcutListener(new ShortcutListener("", KeyCode.S, new int[] { ModifierKey.CTRL, ModifierKey.SHIFT }) {

        @Override
        public void handleAction(Object sender, Object target) {
            showLogTail();
        }
    });
    downloadButton.setDescription("CTRL-SHIFT-D");
    showTailButton.setDescription("CTRL-SHIFT-S");
}
Also used : LookupAction(com.haulmont.cuba.gui.components.PickerField.LookupAction) StringUtils(org.apache.commons.lang.StringUtils) java.util(java.util) LookupAction(com.haulmont.cuba.gui.components.PickerField.LookupAction) Security(com.haulmont.cuba.core.global.Security) ComboBox(com.vaadin.ui.ComboBox) LoggerFactory(org.slf4j.LoggerFactory) ParamsMap(com.haulmont.bali.util.ParamsMap) Settings(com.haulmont.cuba.gui.settings.Settings) Timer(com.haulmont.cuba.gui.components.Timer) Metadata(com.haulmont.cuba.core.global.Metadata) Inject(javax.inject.Inject) JmxControlAPI(com.haulmont.cuba.web.jmx.JmxControlAPI) KeyCode(com.vaadin.event.ShortcutAction.KeyCode) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) LogArchiver(com.haulmont.cuba.core.sys.logging.LogArchiver) com.haulmont.cuba.gui.components(com.haulmont.cuba.gui.components) OpenType(com.haulmont.cuba.gui.WindowManager.OpenType) JmxControlException(com.haulmont.cuba.web.jmx.JmxControlException) Logger(org.slf4j.Logger) LoggingHelper(com.haulmont.cuba.core.sys.logging.LoggingHelper) LogDataProvider(com.haulmont.cuba.web.export.LogDataProvider) ExportDisplay(com.haulmont.cuba.gui.export.ExportDisplay) ExceptionUtils(org.apache.commons.lang.exception.ExceptionUtils) IOException(java.io.IOException) JmxRemoteLoggingAPI(com.haulmont.cuba.web.jmx.JmxRemoteLoggingAPI) CubaScrollBoxLayout(com.haulmont.cuba.web.toolkit.ui.CubaScrollBoxLayout) JmxInstance(com.haulmont.cuba.core.entity.JmxInstance) Level(ch.qos.logback.classic.Level) ModifierKey(com.vaadin.event.ShortcutAction.ModifierKey) StringReader(java.io.StringReader) AppConfig(com.haulmont.cuba.gui.AppConfig) JmxInstanceEditor(com.haulmont.cuba.web.app.ui.jmxinstance.edit.JmxInstanceEditor) ShortcutListener(com.vaadin.event.ShortcutListener) LogControlException(com.haulmont.cuba.core.sys.logging.LogControlException) BufferedReader(java.io.BufferedReader) CollectionDatasource(com.haulmont.cuba.gui.data.CollectionDatasource) StringEscapeUtils(org.apache.commons.lang.StringEscapeUtils) ComboBox(com.vaadin.ui.ComboBox) JmxInstanceEditor(com.haulmont.cuba.web.app.ui.jmxinstance.edit.JmxInstanceEditor) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) JmxInstance(com.haulmont.cuba.core.entity.JmxInstance) ShortcutListener(com.vaadin.event.ShortcutListener) JmxControlException(com.haulmont.cuba.web.jmx.JmxControlException)

Example 10 with BaseAction

use of com.haulmont.cuba.gui.components.actions.BaseAction in project cuba by cuba-platform.

the class StatisticsWindow method initJMXTable.

protected void initJMXTable() {
    localJmxInstance = jmxControlAPI.getLocalInstance();
    jmxInstancesDs.refresh();
    jmxConnectionField.setValue(localJmxInstance);
    jmxConnectionField.setRequired(true);
    jmxConnectionField.addValueChangeListener(e -> {
        try {
            setNode(jmxConnectionField.getValue());
        } catch (JmxControlException ex) {
            JmxInstance jmxInstance = jmxConnectionField.getValue();
            showNotification(messages.getMessage("com.haulmont.cuba.web.app.ui.jmxcontrol", "unableToConnectToInterface"), NotificationType.WARNING);
            if (jmxInstance != localJmxInstance) {
                jmxConnectionField.setValue(localJmxInstance);
            }
        }
    });
    jmxConnectionField.removeAllActions();
    jmxConnectionField.addAction(new PickerField.LookupAction(jmxConnectionField) {

        @Override
        public void afterCloseLookup(String actionId) {
            jmxInstancesDs.refresh();
        }
    });
    jmxConnectionField.addAction(new BaseAction("actions.Add").withIcon("icons/plus-btn.png").withHandler(event -> {
        JmxInstanceEditor instanceEditor = (JmxInstanceEditor) openEditor(metadata.create(JmxInstance.class), OpenType.DIALOG);
        instanceEditor.addCloseWithCommitListener(() -> {
            jmxInstancesDs.refresh();
            jmxConnectionField.setValue(instanceEditor.getItem());
        });
    }));
    localNodeLab.setValue(jmxControlAPI.getLocalNodeName());
    localNodeLab.setEditable(false);
}
Also used : JmxControlException(com.haulmont.cuba.web.jmx.JmxControlException) ParamsMap(com.haulmont.bali.util.ParamsMap) MetaPropertyPath(com.haulmont.chile.core.model.MetaPropertyPath) UUID(java.util.UUID) MetaClass(com.haulmont.chile.core.model.MetaClass) JmxInstance(com.haulmont.cuba.core.entity.JmxInstance) Metadata(com.haulmont.cuba.core.global.Metadata) Inject(javax.inject.Inject) JmxControlAPI(com.haulmont.cuba.web.jmx.JmxControlAPI) GroupDatasource(com.haulmont.cuba.gui.data.GroupDatasource) JmxInstanceEditor(com.haulmont.cuba.web.app.ui.jmxinstance.edit.JmxInstanceEditor) Map(java.util.Map) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) com.haulmont.cuba.gui.components(com.haulmont.cuba.gui.components) CollectionDatasource(com.haulmont.cuba.gui.data.CollectionDatasource) OpenType(com.haulmont.cuba.gui.WindowManager.OpenType) JmxInstanceEditor(com.haulmont.cuba.web.app.ui.jmxinstance.edit.JmxInstanceEditor) BaseAction(com.haulmont.cuba.gui.components.actions.BaseAction) JmxControlException(com.haulmont.cuba.web.jmx.JmxControlException) JmxInstance(com.haulmont.cuba.core.entity.JmxInstance)

Aggregations

BaseAction (com.haulmont.cuba.gui.components.actions.BaseAction)11 com.haulmont.cuba.gui.components (com.haulmont.cuba.gui.components)10 Inject (javax.inject.Inject)9 java.util (java.util)7 StringUtils (org.apache.commons.lang.StringUtils)7 ParamsMap (com.haulmont.bali.util.ParamsMap)6 OpenType (com.haulmont.cuba.gui.WindowManager.OpenType)6 CollectionDatasource (com.haulmont.cuba.gui.data.CollectionDatasource)5 MetaClass (com.haulmont.chile.core.model.MetaClass)4 ClientConfig (com.haulmont.cuba.client.ClientConfig)4 Metadata (com.haulmont.cuba.core.global.Metadata)4 Window (com.haulmont.cuba.gui.components.Window)4 Map (java.util.Map)4 Logger (org.slf4j.Logger)4 LoggerFactory (org.slf4j.LoggerFactory)4 EventRouter (com.haulmont.bali.events.EventRouter)3 Preconditions (com.haulmont.bali.util.Preconditions)3 Entity (com.haulmont.cuba.core.entity.Entity)3 JmxInstance (com.haulmont.cuba.core.entity.JmxInstance)3 WindowManager (com.haulmont.cuba.gui.WindowManager)3