Package jadex.base.gui.modeltree
Class TreePanelKernelListener
- java.lang.Object
-
- jadex.base.gui.modeltree.TreePanelKernelListener
-
- All Implemented Interfaces:
IMultiKernelListener
public class TreePanelKernelListener extends java.lang.Object implements IMultiKernelListener
Listener for Kernel Updates.
-
-
Constructor Summary
Constructors Constructor Description TreePanelKernelListener(java.lang.String id, javax.swing.JTree tree, ModelFileFilterMenuItemConstructor mffmic)
Creates a new Panel Kernel Listener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
componentTypesAdded(java.lang.String[] types)
Called when component types become unavailable.void
componentTypesRemoved(java.lang.String[] types)
Called when new component types become available.boolean
equals(java.lang.Object obj)
Returns whether an object is equal.java.lang.String
getId()
Gets the ID.int
hashCode()
Generates a hash code.
-
-
-
Constructor Detail
-
TreePanelKernelListener
public TreePanelKernelListener(java.lang.String id, javax.swing.JTree tree, ModelFileFilterMenuItemConstructor mffmic)
Creates a new Panel Kernel Listener.- Parameters:
id
- ID of the listener.tree
- The GUI tree.mffmic
- The file filter.
-
-
Method Detail
-
componentTypesRemoved
public void componentTypesRemoved(java.lang.String[] types)
Called when new component types become available.- Specified by:
componentTypesRemoved
in interfaceIMultiKernelListener
- Parameters:
types
- Added component types.
-
componentTypesAdded
public void componentTypesAdded(java.lang.String[] types)
Called when component types become unavailable.- Specified by:
componentTypesAdded
in interfaceIMultiKernelListener
- Parameters:
types
- Removed component types.
-
getId
public java.lang.String getId()
Gets the ID.- Returns:
- The ID.
-
hashCode
public int hashCode()
Generates a hash code.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- A hash code.
-
equals
public boolean equals(java.lang.Object obj)
Returns whether an object is equal.- Overrides:
equals
in classjava.lang.Object
- Returns:
- True, if the object is equal.
-
-