Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[riena-dev] Adding ErrorMessageMarker to default marker types in AbstractMessageMarkerViewer

FYI, I've added the ErrorMessageMarker to the list supported by the AbstractMessagerMarkerViewer by default:

public AbstractMessageMarkerViewer() {
  markerTypes = new LinkedHashSet<Class<? extends IMessageMarker>>();
  ridgets = new ListenerList<IMarkableRidget>(IMarkableRidget.class);
  visible = true;
  markerTypes.add(ValidationMessageMarker.class);
+ markerTypes.add(ErrorMessageMarker.class);
}

It seemed weird to me that we have to do it over and over again (i.e. in tests and examples).

Elias.



Back to the top