Bug 111058 [Markers] Need pluggable columns for problems
M2 The problems view has the following columns: Severity Description Resource In Folder Location This does not make sense in non resource based environments. We need to make the last 3 pluggable and rename these as required
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldFolder.java
*/
    public String getValue(Object obj) {
        if (obj == null || !(obj instanceof ConcreteMarker)) {
            return ""; 
        }
        ConcreteMarker marker = (ConcreteMarker) obj;
        return marker.getFolder();
    }
    /*
     *  (non-Javadoc)
     * @see org.eclipse.ui.views.markers.internal.IField#getImage(java.lang.Object)
     */
    public Image getImage(Object obj) {
        return null;
    }
    /*
     *  (non-Javadoc)
     * @see org.eclipse.ui.views.markers.internal.IField#compare(java.lang.Object, java.lang.Object)
     */
    public int compare(Object obj1, Object obj2) {
        if (obj1 == null || obj2 == null || !(obj1 instanceof ConcreteMarker)
                || !(obj2 instanceof ConcreteMarker)) {
            return 0;
        }
        ConcreteMarker marker1 = (ConcreteMarker) obj1;
        ConcreteMarker marker2 = (ConcreteMarker) obj2;
        return marker1.getFolderKey().compareTo(marker2.getFolderKey());
    }
}