/**
  * Creates a new instance that represents the given ui element.
  *
  * @param uiElement The ui element this frame represents
  */
 public MantisElementFrame(IDesignElement uiElement) {
   super(uiElement);
   this.uiElement = uiElement;
   uiElement.addListener(this);
   uiElement.addPropertyListener(this);
   if (uiElement.getIcon() != null) icon = uiElement.getIcon();
   else
     icon =
         org.eclipse.vtp.desktop.core.Activator.getDefault().getImageRegistry().get("ICON_MODULE");
 }