Package com.sun.messaging.jmq.admin.apps.console.event

Examples of com.sun.messaging.jmq.admin.apps.console.event.ConsoleActionEvent


        addAction(PREFERENCES, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_EXIT))  {
              public void actionPerformed(ActionEvent e) {
                ConsoleActionEvent cae = new
        ConsoleActionEvent(this, ConsoleActionEvent.EXIT);
                fireAdminEventDispatched(cae);
              }
          };
        addAction(EXIT, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_ABOUT)) {
              public void actionPerformed(ActionEvent e) {
                ConsoleActionEvent cae = new
        ConsoleActionEvent(this, ConsoleActionEvent.ABOUT);
                fireAdminEventDispatched(cae);
              }
          };
        addAction(ABOUT, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_PROPERTIES),
        AGraphics.adminImages[AGraphics.PROPERTIES])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.PROPS_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(PROPERTIES, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_SHUTDOWN_BROKER),
      AGraphics.adminImages[AGraphics.SHUTDOWN])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.SHUTDOWN_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(SHUTDOWN, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_RESTART_BROKER),
      AGraphics.adminImages[AGraphics.RESTART])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.RESTART_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(RESTART, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_PAUSE),
      AGraphics.adminImages[AGraphics.PAUSE])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.PAUSE_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(PAUSE, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_RESUME),
      AGraphics.adminImages[AGraphics.RESUME])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.RESUME_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(RESUME, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_CONNECT),
      AGraphics.adminImages[AGraphics.CONNECT_TO_OBJSTORE])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.CONNECT_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(CONNECT, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_DISCONNECT),
      AGraphics.adminImages[AGraphics.DISCONNECT_FROM_OBJSTORE])  {
              public void actionPerformed(ActionEvent e) {
                DialogEvent de = new DialogEvent(this);
                de.setDialogType(DialogEvent.DISCONNECT_DIALOG);
                fireAdminEventDispatched(de);
              }
          };
        addAction(DISCONNECT, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_EXPAND_ALL),
      AGraphics.adminImages[AGraphics.EXPAND_ALL])  {
              public void actionPerformed(ActionEvent e) {
                ConsoleActionEvent cae = new
        ConsoleActionEvent(this, ConsoleActionEvent.EXPAND_ALL);
                fireAdminEventDispatched(cae);
              }
          };
        addAction(EXPAND_ALL, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_COLLAPSE_ALL),
      AGraphics.adminImages[AGraphics.COLLAPSE_ALL])  {
              public void actionPerformed(ActionEvent e) {
                ConsoleActionEvent cae = new
        ConsoleActionEvent(this, ConsoleActionEvent.COLLAPSE_ALL);
                fireAdminEventDispatched(cae);
              }
          };
        addAction(COLLAPSE_ALL, tmpAction);

  tmpAction =
      new AbstractAction(acr.getString(acr.I_REFRESH),
    AGraphics.adminImages[AGraphics.REFRESH])  {
              public void actionPerformed(ActionEvent e) {
                ConsoleActionEvent cae = new
        ConsoleActionEvent(this, ConsoleActionEvent.REFRESH);
                fireAdminEventDispatched(cae);
              }
          };
        addAction(REFRESH, tmpAction);
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.admin.apps.console.event.ConsoleActionEvent

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.