/*package*/ MessageListState getState() { return new MessageListState( myWarningsAction.isSelected(null), myInfoAction.isSelected(null), myAutoscrollToSourceAction.isSelected(null), mySearches, myMaxListSize); }
public boolean isVisible(IMessage m) { switch (m.getKind()) { case ERROR: return true; case WARNING: return myWarningsAction.isSelected(null); case INFORMATION: return myInfoAction.isSelected(null); } return true; }