Package net.suberic.util.thread

Examples of net.suberic.util.thread.ActionWrapper


  public Action[] getActions() {
    if (defaultActions == null) {
      ActionThread folderThread = messageInfo.getFolderInfo().getFolderThread();

      defaultActions = new Action[] {
        new ActionWrapper(new OpenAction(), folderThread),
        new ActionWrapper(new OpenDefaultDisplayAction(), folderThread),
        new ActionWrapper(new OpenFullDisplayAction(), folderThread),
        new ActionWrapper(new OpenRawDisplayAction(), folderThread),
        new ActionWrapper(new OpenTextDisplayAction(), folderThread),
        new ActionWrapper(new OpenHtmlDisplayAction(), folderThread),
        new ActionWrapper(new DefaultOpenAction(), folderThread),
        new ActionWrapper(new MoveAction(), folderThread),
        new ActionWrapper(new CopyAction(), folderThread),
        new ActionWrapper(new ReplyAction(), folderThread),
        new ActionWrapper(new ReplyAllAction(), folderThread),
        new ActionWrapper(new ReplyWithAttachmentsAction(), folderThread),
        new ActionWrapper(new ReplyAllWithAttachmentsAction(), folderThread),
        new ActionWrapper(new ForwardAction(), folderThread),
        new ActionWrapper(new ForwardWithAttachmentsAction(), folderThread),
        new ActionWrapper(new ForwardAsInlineAction(), folderThread),
        new ActionWrapper(new ForwardAsAttachmentAction(), folderThread),
        new ActionWrapper(new ForwardQuotedAction(), folderThread),
        new BounceAction(),
        new DeleteAction(),
        new ActionWrapper(new PrintAction(), folderThread),
        new ActionWrapper(new SaveMessageAction(), folderThread),
        new ActionWrapper(new CacheMessageAction(), folderThread),
        new ActionWrapper(new SaveAddressAction(), folderThread),
        new ActionWrapper(new OpenAsNewAction(), folderThread),
        new ActionWrapper(new OpenCopyAction(), folderThread),
        new ActionWrapper(new MessageFilterAction(), folderThread),
        new ActionWrapper(new SpamAction(), folderThread),
        new ActionWrapper(new DecryptAction(), folderThread),
        new ActionWrapper(new CheckSignatureAction(), folderThread),
        new ActionWrapper(new ImportKeysAction(), folderThread),
        new ActionWrapper(new SignatureStatusAction(), folderThread),
        new ActionWrapper(new EncryptionStatusAction(), folderThread)
      };

      commands = new Hashtable();

      for (int i = 0; i < defaultActions.length; i++) {
View Full Code Here


    newStore.setStoreNode(this);
    displayName=Pooka.getProperty("Store." + store.getStoreID() + ".displayName", store.getStoreID());
    setCommands();
    loadChildren();
    defaultActions = new Action[] {
      new ActionWrapper(new OpenAction(), getStoreInfo().getStoreThread()),
      new ActionWrapper(new SubscribeAction(), getStoreInfo().getStoreThread()),
      new TestAction(),
      new NewFolderAction(),
      new ActionWrapper(new DisconnectAction(), getStoreInfo().getStoreThread()),
      new EditAction(),
      new StatusAction()
    };

  }
View Full Code Here

TOP

Related Classes of net.suberic.util.thread.ActionWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.