Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ab776e0232d2a59f048c7e87c594142bbee9f004 (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
/*******************************************************************************
 * Copyright (c) 2011 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.data;

import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer;

/**
 * Public interface for wizard or dialog pages, panel, controls or other UI elements
 * exchanging data via a shared data object.
 */
public interface IDataExchangeNode3 extends IDataExchangeNode2 {

	/**
	 * Remove the data the node is managing from the given properties container.
	 * <p>
	 * This method may called multiple times during the lifetime of the node and the given
	 * properties container might be even <code>null</code>.
	 *
	 * @param data The properties container or <code>null</code>.
	 */
	public void removeData(IPropertiesContainer data);

	/**
	 * Copy the data the node is managing from the given source properties container
	 * to the given destination properties container.
	 *
	 * @param src The source properties container. Must not be <code>null</code>.
	 * @param dst The destination properties. Must not be <code>null/code>.
	 */
	public void copyData(IPropertiesContainer src, IPropertiesContainer dst);
}

Back to the top