Examples of JaspiraActionEvent


Examples of org.openbp.jaspira.action.JaspiraActionEvent

    if (code == KeyEvent.VK_DELETE)
    {
      // Purge the event
      e.consume();

      modeler.fireEvent(new JaspiraActionEvent(modeler, "global.clipboard.delete", Plugin.LEVEL_APPLICATION));

      return;
    }

    // Pass the key to the current tool
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraActionEvent

  boolean autoSave()
  {
    // Auto-save any pending changes before continuing
    if (OptionMgr.getInstance().getBooleanOption("debugger.autosave", true))
    {
      fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "standard.file.saveall", LEVEL_APPLICATION));
    }
    return true;
  }
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraActionEvent

        new AnimationThread(de.getControlLinkQualifier(), true);
      }
      else
      {
        // Execute a step next command right away
        fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "debugger.client.stepnext", LEVEL_APPLICATION));
      }

      return EVENT_HANDLED;
    }
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraActionEvent

        new AnimationThread(de.getDataLinkQualifier(), false);
      }
      else
      {
        // No data flow animation, proceed directly by sending a step next event
        fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "debugger.client.stepnext", LEVEL_APPLICATION));
      }

      return EVENT_HANDLED;
    }
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraActionEvent

        ja = new JaspiraAction(modeler, "modeler.edit.copy")
        {
          public void actionPerformed(ActionEvent e)
          {
            // Forward to the clipboard plugin
            modeler.fireEvent(new JaspiraActionEvent(modeler, "global.clipboard.copy", Plugin.LEVEL_APPLICATION));
          }
        };
        ja.setEnabled(copyEnabled);
        copyPasteGroup.addMenuChild(ja);

        ja = new JaspiraAction(modeler, "modeler.edit.cut")
        {
          public void actionPerformed(ActionEvent e)
          {
            // Forward to the clipboard plugin
            modeler.fireEvent(new JaspiraActionEvent(modeler, "global.clipboard.cut", Plugin.LEVEL_APPLICATION));
          }
        };
        ja.setEnabled(cutEnabled);
        copyPasteGroup.addMenuChild(ja);

        ja = new JaspiraAction(modeler, "modeler.edit.paste")
        {
          public void actionPerformed(ActionEvent e)
          {
            // Forward to the clipboard plugin
            modeler.fireEvent(new JaspiraActionEvent(modeler, "global.clipboard.paste", Plugin.LEVEL_APPLICATION));
          }
        };
        ja.setEnabled(pasteEnabled);
        copyPasteGroup.addMenuChild(ja);

        ie.add(copyPasteGroup);

        ja = new JaspiraAction(modeler, "modeler.edit.delete")
        {
          public void actionPerformed(ActionEvent e)
          {
            // Forward to the clipboard plugin
            modeler.fireEvent(new JaspiraActionEvent(modeler, "global.clipboard.delete", Plugin.LEVEL_APPLICATION));
          }
        };
        ja.setEnabled(deleteEnabled);
        ie.add(ja);
      }
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraActionEvent

        // Otherwise, don't start the thread because we have nothing to animate.
        // However, issue the step next command if desired.
        if (autoStep)
        {
          // Send step next event
          fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "debugger.client.stepnext", LEVEL_APPLICATION));
        }
      }
    }
View Full Code Here

Examples of org.openbp.jaspira.action.JaspiraActionEvent

      }

      if (autoStep && ! aborted)
      {
        // Send step next event
        fireEvent(new JaspiraActionEvent(DebuggerPlugin.this, "debugger.client.stepnext", LEVEL_APPLICATION));
      }

      aborted = false;

      animator = null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.