Examples of onClose()


Examples of com.eviware.soapui.ui.desktop.DesktopPanel.onClose()

  private class InternalDesktopFrameListener extends InternalFrameAdapter
  {
    public void internalFrameClosing( InternalFrameEvent e )
    {
      DesktopPanel desktopPanel = internalFrameToDesktopPanelMap.get( e.getInternalFrame() );
      if( !transferring && !desktopPanel.onClose( true ) )
      {
        return;
      }

      desktopPanel.removePropertyChangeListener( desktopPanelPropertyChangeListener );
View Full Code Here

Examples of com.eviware.soapui.ui.desktop.DesktopPanel.onClose()

    }

    private class InternalDesktopFrameListener extends InternalFrameAdapter {
        public void internalFrameClosing(InternalFrameEvent e) {
            DesktopPanel desktopPanel = internalFrameToDesktopPanelMap.get(e.getInternalFrame());
            if (!transferring && !desktopPanel.onClose(true)) {
                return;
            }

            desktopPanel.removePropertyChangeListener(desktopPanelPropertyChangeListener);
View Full Code Here

Examples of net.rim.device.api.ui.Screen.onClose()

            final Memo activeMemo = ((MemoScreen) activeScreen).getMemo();
            final int index = ((MemoScreen) activeScreen).getMemoIndex();

            if (index == -1 || !activeMemo.getMode().equals(serviceUid)) {
                // New memo with no wipable data, OK to save it.
                activeScreen.onClose();
            } else {
                final Dialog dialog =
                        new Dialog(
                                Dialog.D_OK,
                                "Application has been instructed to wipe corporate data."
View Full Code Here

Examples of org.asynchttpclient.providers.netty.ws.NettyWebSocket.onClose()

            if (webSocket != null) {
                if (frame instanceof CloseWebSocketFrame) {
                    Channels.setDiscard(channel);
                    CloseWebSocketFrame closeFrame = CloseWebSocketFrame.class.cast(frame);
                    webSocket.onClose(closeFrame.statusCode(), closeFrame.reasonText());
                } else {
                    ByteBuf buf = frame.content();
                    if (buf != null && buf.readableBytes() > 0) {
                        try {
                            NettyResponseBodyPart part = nettyConfig.getBodyPartFactory().newResponseBodyPart(buf, frame.isFinalFragment());
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior.onClose()

    return CLOSE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onClose(execution);

    execution.setCurrentState(CLOSED);

    return execution;
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior.onClose()

    return CLOSE;
  }

  protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    behavior.onClose(execution);

    execution.setCurrentState(CLOSED);

    return execution;
  }
View Full Code Here

Examples of org.eclipse.jetty.websocket.common.events.EventDriver.onClose()

        JsrEvents<ClientEndpoint, ClientEndpointConfig> jsrevents = new JsrEvents<>(metadata);

        EventDriver driver = new JsrAnnotatedEventDriver(policy,ei,jsrevents);

        // Execute onClose call
        driver.onClose(new CloseInfo(StatusCode.NORMAL,"normal"));

        // Test captured event
        EventQueue<String> events = endpoint.eventQueue;
        Assert.assertThat("Number of Events Captured",events.size(),is(1));
        String closeEvent = events.poll();
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.