always highlighting node at mote plugin activation

This commit is contained in:
fros4943 2007-09-21 16:11:44 +00:00
parent b72c228379
commit 12c539d2b5

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: VisPlugin.java,v 1.5 2007/03/23 23:34:33 fros4943 Exp $ * $Id: VisPlugin.java,v 1.6 2007/09/21 16:11:44 fros4943 Exp $
*/ */
package se.sics.cooja; package se.sics.cooja;
@ -80,7 +80,10 @@ public abstract class VisPlugin extends JInternalFrame implements Plugin {
// NOP // NOP
} }
public void internalFrameActivated(InternalFrameEvent e) { public void internalFrameActivated(InternalFrameEvent e) {
// NOP // Signal mote highlight
if (VisPlugin.this.tag != null && tag instanceof Mote) {
gui.signalMoteHighlight((Mote) tag);
}
} }
public void internalFrameDeactivated(InternalFrameEvent e) { public void internalFrameDeactivated(InternalFrameEvent e) {
// NOP // NOP