SCViewer/com.minres.scviewer.database/src/com/minres/scviewer/database/IHierNode.java

47 lines
1.4 KiB
Java
Raw Normal View History

2012-06-17 20:34:50 +02:00
/*******************************************************************************
* Copyright (c) 2014, 2015 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:
* MINRES Technologies GmbH - initial API and implementation
2012-06-17 20:34:50 +02:00
*******************************************************************************/
package com.minres.scviewer.database;
2012-06-17 19:53:05 +02:00
import java.beans.PropertyChangeListener;
import java.util.List;
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) ;
public String getFullName();
public String getName();
public void setName(String name);
public void setParentName(String name);
2015-01-06 17:14:16 +01:00
public List<IHierNode> getChildNodes();
2012-06-17 19:53:05 +02:00
}