always highlighting node at mote plugin activation
This commit is contained in:
parent
b72c228379
commit
12c539d2b5
1 changed files with 11 additions and 8 deletions
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* 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;
|
||||
|
@ -80,7 +80,10 @@ public abstract class VisPlugin extends JInternalFrame implements Plugin {
|
|||
// NOP
|
||||
}
|
||||
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) {
|
||||
// NOP
|
||||
|
|
Loading…
Add table
Reference in a new issue