Package de.esoco.j2me.util

Examples of de.esoco.j2me.util.Executable


    {
      boolean bNewEncryption = !rModel.usesEncryption();
      String  sMsgKey       = bNewEncryption ? "MsNewPasswd"
                          : "MsPassword";

      Executable aEncryptSet = new Executable()
      {
        public void execute(Object rArg)
          throws UserNotificationException
        {
          setNodeEncryption(rNode, bEncrypt);
View Full Code Here


  {
    CryptoHandler rCrypto = rModel.getCryptoHandler();

    if (rModel.usesEncryption() && rCrypto == null)
    {
      Executable aNewPwQuery = new Executable()
      {
        public void execute(Object rArg)
        {
          queryPassword("MsNewPasswd", true, rModel, true, null);
        }
View Full Code Here

    Object[] aMsgArgs = new Object[] { rNode.getTitle() };
    String   sMsg     = TextUtil.formatMessage(getString("JL_MsDelNode"),
                           aMsgArgs);

    MessageScreen.showConfirmation(getString("JL_MtDelNode"), sMsg, true,
                  new Executable()
                  {
                    public void execute(Object rArg)
                      throws UserNotificationException
                    {
                      // will only be invoked if the user selects Ok
View Full Code Here

                       Command.ITEM, 13, false,
                       rNodeController)
    {
      protected void processNode(final HierarchyNode rNode)
      {
        rNodeController.checkNodeDelete(rNode, new Executable()
                        {
                          public void execute(Object rArg)
                            throws UserNotificationException
                          {
                            rView.deleteNode(rNode);
View Full Code Here

  {
    Log.fatal(eCause);

    MessageScreen.showError(getErrorTitle(eCause),
                getErrorMessage(eCause),
                new Executable()
                {
                  public void execute(Object rArg)
                  {
                    theInstance.destroyApp(true);
                  }
View Full Code Here

  {
    // the executable will only be invoked if the user selects OK
    MessageScreen.showConfirmation(getString("JL_MtQuit"),
                     getString("JL_MsQuit"),
                     true,
                     new Executable()
                     {
                       public void execute(Object rArg)
                       {
                         quit();
                       }
View Full Code Here

    // Use a MessageScreen to query the new title and, if confirmed, callback
    // to method newNode(); params null, null: no Image, empty textfield
    MessageScreen.showMessageBox(getString("JL_MtNewNode"), null, null,
                  new Item[] { aChoice, aInput }, false,
                  new Executable()
                  {
                    public void execute(Object rArg)
                      throws UserNotificationException
                    {
                      // this callback will only be invoked if the user selects Ok
View Full Code Here

    // Use a MessageScreen to query the new title, if confirmed callback
    // to method renameNode()
    MessageScreen.showInput(getString("JL_MtRenNode"),
               getString("JL_LNodeName"), rNode.getTitle(),
               MAX_TITLE_SIZE, TextField.ANY, false,
               new Executable()
               {
                 public void execute(Object rArg)
                   throws UserNotificationException
                 { // this callback will only be invoked if the user selects Ok
                   renameNode(rNode,
View Full Code Here

                        rRsrc.getString("JL_MsNoEdit"));
    }

    if (rNodeController != null)
    {
      rNodeController.checkNodeAccess(rNode, new Executable()
                      {
                        public void execute(Object rArg)
                          throws UserNotificationException
                        {
                          processNode(rNode);
View Full Code Here

TOP

Related Classes of de.esoco.j2me.util.Executable

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.