All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.base.gui.modeltree.ITreeAbstraction Maven / Gradle / Ivy

There is a newer version: 4.0.267
Show newest version
/**
 * 
 */
package jadex.base.gui.modeltree;

import javax.swing.JTree;

import jadex.bridge.IExternalAccess;

/**
 *  Interface for tree abstraction used in generic add/remove path actions.
 */
public interface ITreeAbstraction
{
	/**
	 *  Test if action is called remotely.
	 *  @return True, if is local.
	 */
	public boolean isRemote();
	
	/**
	 *  Get the underlying JTree.
	 *  @return The tree.
	 */
	public JTree getTree();
	
	/**
	 *  Get the external access of the functionality.
	 *  @return The external access.
	 */
	public IExternalAccess getExternalAccess();
	
	/**
	 *  Get the external access of the gui.
	 *  @return The external access.
	 */
	public IExternalAccess getGUIExternalAccess();
	
	/**
	 *  Called to perform the specific add/remove action.
	 *  @param obj The node on which the action should be performed.
	 */
	public void action(Object obj);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy