2012-06-17 20:34:50 +02:00
|
|
|
/*******************************************************************************
|
2020-11-29 10:25:48 +01:00
|
|
|
* Copyright (c) 2015, 2020 MINRES Technologies GmbH and others.
|
2012-06-17 20:34:50 +02:00
|
|
|
* 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:
|
2015-01-21 21:58:35 +01:00
|
|
|
* MINRES Technologies GmbH - initial API and implementation
|
2012-06-17 20:34:50 +02:00
|
|
|
*******************************************************************************/
|
2015-01-03 16:34:32 +01:00
|
|
|
package com.minres.scviewer.database;
|
2012-06-17 19:53:05 +02:00
|
|
|
|
|
|
|
import java.beans.PropertyChangeListener;
|
|
|
|
import java.util.List;
|
|
|
|
|
2020-11-29 10:25:48 +01:00
|
|
|
/**
|
|
|
|
* The Interface IHierNode.
|
|
|
|
*/
|
2015-01-10 00:23:46 +01:00
|
|
|
public interface IHierNode extends Comparable<IHierNode>{
|
2015-01-06 17:14:16 +01:00
|
|
|
|
2012-06-17 19:53:05 +02:00
|
|
|
/**
|
|
|
|
* Attach a non-null PropertyChangeListener to this object.
|
|
|
|
*
|
|
|
|
* @param l
|
|
|
|
* a non-null PropertyChangeListener instance
|
|
|
|
* @throws IllegalArgumentException
|
|
|
|
* if the parameter is null
|
|
|
|
*/
|
|
|
|
public void addPropertyChangeListener(PropertyChangeListener l);
|
2015-01-06 17:14:16 +01:00
|
|
|
|
2012-06-17 19:53:05 +02:00
|
|
|
/**
|
|
|
|
* Remove a PropertyChangeListener from this component.
|
|
|
|
*
|
|
|
|
* @param l
|
|
|
|
* a PropertyChangeListener instance
|
|
|
|
*/
|
|
|
|
public void removePropertyChangeListener(PropertyChangeListener l) ;
|
|
|
|
|
2020-11-29 10:25:48 +01:00
|
|
|
/**
|
|
|
|
* Gets the full name.
|
|
|
|
*
|
|
|
|
* @return the full name
|
|
|
|
*/
|
2012-06-17 19:53:05 +02:00
|
|
|
public String getFullName();
|
|
|
|
|
2020-11-29 10:25:48 +01:00
|
|
|
/**
|
|
|
|
* Gets the name.
|
|
|
|
*
|
|
|
|
* @return the name
|
|
|
|
*/
|
2012-06-17 19:53:05 +02:00
|
|
|
public String getName();
|
|
|
|
|
2020-11-29 10:25:48 +01:00
|
|
|
/**
|
|
|
|
* Sets the name.
|
|
|
|
*
|
|
|
|
* @param name the new name
|
|
|
|
*/
|
2012-06-17 19:53:05 +02:00
|
|
|
public void setName(String name);
|
|
|
|
|
2020-11-29 10:25:48 +01:00
|
|
|
/**
|
|
|
|
* Sets the parent.
|
|
|
|
*
|
|
|
|
* @param parent the new parent
|
|
|
|
*/
|
2020-11-28 19:41:00 +01:00
|
|
|
public void setParent(IHierNode parent);
|
2015-10-22 00:02:58 +02:00
|
|
|
|
2020-11-29 10:25:48 +01:00
|
|
|
/**
|
|
|
|
* Gets the child nodes.
|
|
|
|
*
|
|
|
|
* @return the child nodes
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
public List<IHierNode> getChildNodes();
|
2020-11-29 10:25:48 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Derive waveform.
|
|
|
|
*
|
|
|
|
* @return the i derived waveform or null if none could be created
|
|
|
|
*/
|
|
|
|
public IDerivedWaveform deriveWaveform();
|
2012-06-17 19:53:05 +02:00
|
|
|
|
|
|
|
}
|