1
|
/*******************************************************************************
|
2
|
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
|
3
|
* All rights reserved. This program and the accompanying materials are made
|
4
|
* available under the terms of the Eclipse Public License v1.0 which
|
5
|
* accompanies this distribution, and is available at
|
6
|
* http://www.eclipse.org/legal/epl-v10.html
|
7
|
*
|
8
|
* Contributors: The Chisel Group, University of Victoria
|
9
|
*******************************************************************************/
|
10
|
package org.eclipse.zest.layouts.exampleStructures;
|
11
|
|
12
|
import org.eclipse.zest.layouts.Filter;
|
13
|
import org.eclipse.zest.layouts.LayoutItem;
|
14
|
|
15
|
/**
|
16
|
* A very simple example of a filter. This filter never filters
|
17
|
* any object.
|
18
|
*
|
19
|
* @author Casey Best
|
20
|
*/
|
21
|
public class SimpleFilter implements Filter {
|
22
|
|
23
|
/**
|
24
|
* Doesn't filter anything
|
25
|
*/
|
26
|
public boolean isObjectFiltered(LayoutItem object) {
|
27
|
return false;
|
28
|
}
|
29
|
}
|