You can create your own view definition that is very similar to ProblemView by creating a custom Markers view.
org.eclipse.ui.internal.views.markers.ProblemsView uses the marker generator org.eclipse.ui.ide.problemsGenerator. By creating a subclass class of org.eclipse.ui.views.markers.MarkerSupportView and providing a marker generator, you can use a simple view definition:
<extension point="org.eclipse.ui.views"> <view class="com.example.MyErrorView" icon="icons/sample.gif" id="com.example.myErrorView" name="My Error View"/> </extension>
See Prakash http://blog.eclipse-tips.com/2008/11/creating-custom-marker-view.html for a more complex example. Using the icon from another plugin is difficult because there is no guarantee that it will remain where it is, but if you really want to use it
icon="platform:/plugin/org.eclipse.ui.ide/icons/full/eview16/problems_view.gif"
Note only, this format does not support changing the NL icon.
source share