Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8afba9db316306871fbb7170f0353e14eabe9afd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2013, 2014 Wind River Systems, Inc. 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:
 * Wind River Systems - initial API and implementation
 *******************************************************************************/
package org.eclipse.tcf.te.ui.interfaces.services;

import java.util.List;

import org.eclipse.tcf.te.ui.tables.properties.NodePropertiesTableTableNode;

/**
 * Interface to be implemented by clients to filter the content of the
 * node properties table control.
 */
public interface INodePropertiesTableUIDelegate {

	/**
	 * Returns if or if not the given property is filtered from the node
	 * properties table control.
	 *
	 * @param context The context. Must not be <code>null</code>.
	 * @param name The property name. Must not be <code>null</code>.
	 * @param value The property value or <code>null</code>.
	 *
	 * @return <code>True</code> if the property is filtered, <code>false</code> otherwise.
	 */
	public boolean isFiltered(Object context, String name, Object value);

	/**
	 * Expand nodes after the list was generated and sorted.
	 * @param context The context. Must not be <code>null</code>.
	 * @param sortedNodes
	 */
	public void expandNodesAfterSort(Object context, List<NodePropertiesTableTableNode> sortedNodes);
}

Back to the top