Package org.jboss.as.console.client.shared.runtime.logviewer.actions

Examples of org.jboss.as.console.client.shared.runtime.logviewer.actions.OpenLogFile


        final ToolButton view = new ToolButton(Console.CONSTANTS.common_label_view(), new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                ModelNode logFile = selectionModel.getSelectedObject();
                if (logFile != null) {
                    circuit.dispatch(new OpenLogFile(logFile.get(FILE_NAME).asString()));
                }
            }
        });
        view.setEnabled(false);
        tools.addToolButtonRight(view);
View Full Code Here


        final ToolButton view = new ToolButton(Console.CONSTANTS.common_label_view(), new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                ModelNode logFile = selectionModel.getSelectedObject();
                if (logFile != null) {
                    circuit.dispatch(new OpenLogFile(logFile.get(FILE_NAME).asString()));
                }
            }
        });
        view.setEnabled(false);
        view.setOperationAddress("/{selected.host}/{selected.server}/subsystem=logging", "read-log-file");
View Full Code Here

        final ToolButton view = new ToolButton(Console.CONSTANTS.common_label_view(), new ClickHandler() {
            @Override
            public void onClick(ClickEvent event) {
                ModelNode logFile = selectionModel.getSelectedObject();
                if (logFile != null) {
                    circuit.dispatch(new OpenLogFile(logFile.get(FILE_NAME).asString()));
                }
            }
        });
        view.setEnabled(false);
        view.getElement().setId("BT_" + BASE_ID + "_view");
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.shared.runtime.logviewer.actions.OpenLogFile

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.