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");