blob: d6241513f32d115fbf50232277325b038b1e8652 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2004, 2006 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.gmf.runtime.diagram.ui.properties.filters;
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
import org.eclipse.jface.viewers.IFilter;
/**
* Filter to retain edit part properties
*
* @author Natalia Balaba
*/
public class EditPartPropertySectionFilter
implements IFilter {
public boolean select(Object object) {
if (object instanceof IGraphicalEditPart)
return true;
return false;
}
}