1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/package org.eclipse.ui.views.markers.internal; 11 12 13 /** 14 * AbstractField is the abstract superclass for fields. 15 * @since 3.2 16 * 17 */ 18 public abstract class AbstractField implements IField { 19 20 boolean visible = true; 21 22 /* (non-Javadoc) 23 * @see org.eclipse.ui.views.markers.internal.IField#isShowing() 24 */ 25 public boolean isShowing() { 26 return visible; 27 } 28 29 /** 30 * Set whether or not the receiver is showing. 31 * @param showing 32 */ 33 public void setShowing(boolean showing){ 34 visible = showing; 35 36 } 37 } 38