blob: df2fa1dbb4f28ed396a8aa6a8fbd98a1cb39ceb0 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
******************************************************************************/
package org.eclipse.ui.internal.views.markers;
import org.eclipse.ui.views.markers.MarkerField;
import org.eclipse.ui.views.markers.MarkerItem;
/**
* MarkerTypeField is the field that defines the marker type.
*
* @since 3.3
*
*/
public class MarkerTypeField extends MarkerField {
/*
* (non-Javadoc)
*
* @see org.eclipse.ui.internal.provisional.views.markers.MarkerField#getValue(org.eclipse.ui.internal.provisional.views.markers.MarkerItem)
*/
public String getValue(MarkerItem item) {
return item.getMarkerTypeName();
}
}