KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ltk > internal > ui > refactoring > RefactoringStatusEntryFilter


1 /*******************************************************************************
2  * Copyright (c) 2005 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  *******************************************************************************/

11 package org.eclipse.ltk.internal.ui.refactoring;
12
13 import org.eclipse.ltk.core.refactoring.RefactoringStatusEntry;
14
15 /**
16  * Implementation for a refactoring status entry filter.
17  *
18  * @since 3.2
19  */

20 public class RefactoringStatusEntryFilter {
21
22     /**
23      * Is the specified status entry accepted by the filter?
24      *
25      * @param entry
26      * the status entry to test
27      * @return <code>true</code> if it is accepted for preview,
28      * <code>false</code> otherwise
29      */

30     public boolean select(final RefactoringStatusEntry entry) {
31         return true;
32     }
33 }
34
Popular Tags