示例#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);
 }