Esempio 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);
  }
Esempio n. 2
0
 public void propertyChange(PropertyChangeEvent evt) {
   setTitle("Attachments (" + container.getAttachmentCount() + ")");
 }
Esempio n. 3
0
 @Override
 public void release() {
   super.release();
   attachmentsPanel.release();
   container.removeAttachmentsChangeListener(this);
 }