blob: 41fc23e5fe7cf1864658eae8c742684db4ddf7bf (
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
|
/*******************************************************************************
* Copyright (c) 2011, 2012 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.core.interfaces;
/**
* A viewer input is an input of the AbstractTreeControl.
* <p>
* If the input of AbstractTreeControl is an instance of or adapted to IViewerInput,
* AbstractTreeControl adds a property change listener to the input and update
* its UI including the tree viewer and the tool bar when the properties of the input
* have changed.
*
* @see AbstractTreeControl
*/
public interface IViewerInput {
/**
* Get the id of the input used to persist the state of the tree viewer
* as the persistence id.
*/
String getInputId();
}
|