md3.md3view
Class MD3ModelUpdateDetachMenuVisitor

java.lang.Object
  |
  +--md3.md3model.MD3ModelVisitor
        |
        +--md3.md3view.MD3ModelUpdateDetachMenuVisitor

public class MD3ModelUpdateDetachMenuVisitor
extends MD3ModelVisitor

An MD3Model visitor that walks through an MD3Model structure and updates a detach menu with the names of the visited models.

Author:
Erwin Vervaet (erwin@cs.kuleuven.ac.be)

Constructor Summary
MD3ModelUpdateDetachMenuVisitor(java.awt.Menu detachMenu)
          Create a new visitor that will update the given menu.
 
Method Summary
 void visit(MD3Model model)
          Visit a MD3Model object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD3ModelUpdateDetachMenuVisitor

public MD3ModelUpdateDetachMenuVisitor(java.awt.Menu detachMenu)

Create a new visitor that will update the given menu.

Method Detail

visit

public void visit(MD3Model model)
Description copied from class: MD3ModelVisitor

Visit a MD3Model object.

Overrides:
visit in class MD3ModelVisitor
Tags copied from class: MD3ModelVisitor
Parameters:
model - The object to visit.