new AccessMode(AccessMode.RO, AccessMode.NORMAL))
.addAction(new MenuAction() {
@Override
public void run(final String text) {
globalInfo.hidePopup();
final DrbdLogs drbdLogs = drbdLogsProvider.get();
drbdLogs.init(globalInfo.getCluster(), GlobalInfo.ALL_LOGS_PATTERN);
drbdLogs.showDialog();
}
});
items.add(viewLogMenu);
return items;
}