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