blob: c6087719f05314f956e53be7a999cb4cec1aa644 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* 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:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*/
package org.eclipse.osbp.ui.api.complexdatacontainer;
/**
* Any complex data container may implement this interface, to broadcast changes
* inside its internal data.
*
* Any other class instance may listen to changes inside the internal data in this class,
* without the need to know about any data structure necessary.
*/
public interface IComplexDataContainer {
/**
* @param listener add any other class instance as an listener for internal data
*/
public void addComplexDataContainerChangedListener(IComplexDataContainerChangedListener listener);
/**
* @param listener remove any other class instance as an listener for internal data
*/
public void removeComplexDataContainerChangedListener(IComplexDataContainerChangedListener listener);
}