Exemplo n.º 1
0
  public AttachmentsInspector(AttachmentContainer container) {
    super(
        "Attachments (" + container.getAttachmentCount() + ")",
        "Files attached to this message",
        true,
        AttachmentsInspectorFactory.INSPECTOR_ID);
    this.container = container;

    container.addAttachmentsChangeListener(this);
  }
Exemplo n.º 2
0
 public void propertyChange(PropertyChangeEvent evt) {
   setTitle("Attachments (" + container.getAttachmentCount() + ")");
 }
Exemplo n.º 3
0
 @Override
 public void release() {
   super.release();
   attachmentsPanel.release();
   container.removeAttachmentsChangeListener(this);
 }