Example #1
0
 /*package*/ MessageListState getState() {
   return new MessageListState(
       myWarningsAction.isSelected(null),
       myInfoAction.isSelected(null),
       myAutoscrollToSourceAction.isSelected(null),
       mySearches,
       myMaxListSize);
 }
Example #2
0
 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;
 }