Examples of closeWindow()


Examples of com.googlecode.mcvaadin.McWindow.closeWindow()

            @Override
            public void exec(McEvent e) throws Exception {
                // Copy the button date to window for passing through either
                // "OK" or "CANCEL"
                confirm.setData(e.getClickEvent().getButton().getData());
                confirm.closeWindow();
            }

        };
        Button cancel = h.button(cancelTitle, btnListener);
        cancel.setData(McEvent.USER_CONFIRM_CANCEL);
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.login.LoginUtil.closeWindow()

                if (windowCloseHandlerRegistration != null) {
                    windowCloseHandlerRegistration.removeHandler();
                }
                // Warning: this will only work for https if invoked after the call to windowCloseHandlerRegistration.removeHandler
                if (isLoginWithHttps) {
                    loginUtil.closeWindow();
                }
            }
        });
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.login.LoginUtil.closeWindow()

                if (windowCloseHandlerRegistration != null) {
                    windowCloseHandlerRegistration.removeHandler();
                }
                // Warning: this will only work for https if invoked after the call to windowCloseHandlerRegistration.removeHandler
                if (isLoginWithHttps) {
                    loginUtil.closeWindow();
                }
            }
        });
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.ui.login.LoginUtil.closeWindow()

                if (windowCloseHandlerRegistration != null) {
                    windowCloseHandlerRegistration.removeHandler();
                }
                // Warning: this will only work for https if invoked after the call to windowCloseHandlerRegistration.removeHandler                               
                if (isLoginWithHttps) {
                    loginUtil.closeWindow();
                }
            }
        });
    }
View Full Code Here

Examples of org.compiere.grid.ICreateFrom.closeWindow()

        if(cf != null)
        {
          if(cf.isInitOK())
          {
            cf.showWindow();
            cf.closeWindow();
            m_curTab.dataRefresh();
          }
          else
            cf.closeWindow();
          return;
View Full Code Here

Examples of org.compiere.grid.ICreateFrom.closeWindow()

            cf.showWindow();
            cf.closeWindow();
            m_curTab.dataRefresh();
          }
          else
            cf.closeWindow();
          return;
        }       
        //  else may start process
      }
    }  //  CreateFrom
View Full Code Here

Examples of org.spout.vanilla.component.entity.inventory.WindowHolder.closeWindow()

    args.assertCompletelyParsed();

    WindowHolder holder = ((Player) source).get(WindowHolder.class);
    Window window = holder.getActiveWindow();
    if (window.isOpened()) {
      holder.closeWindow();
    } else {
      holder.openWindow(holder.getDefaultWindow());
    }
  }
View Full Code Here

Examples of org.spout.vanilla.component.entity.inventory.WindowHolder.closeWindow()

    WindowHolder window = session.getPlayer().get(WindowHolder.class);
    if (window != null) {
      if (window.getActiveWindow() instanceof ChestWindow) {
        SoundEffects.RANDOM_CHESTCLOSED.playGlobal(session.getPlayer().getPhysics().getPosition());
      }
      window.closeWindow();
    }
  }

  @Override
  public void handleClient(ClientSession session, WindowCloseMessage message) {
View Full Code Here

Examples of pneumaticCraft.api.client.IGuiAnimatedStat.closeWindow()

            boolean leftSided = ((IGuiAnimatedStat)widget).isLeftSided();
            for(IGuiWidget w : widgets) {
                if(w instanceof IGuiAnimatedStat) {
                    IGuiAnimatedStat stat = (IGuiAnimatedStat)w;
                    if(widget != stat && stat.isLeftSided() == leftSided) {//when the stat is on the same side, close it.
                        stat.closeWindow();
                    }
                }
            }
        }
        NetworkHandler.sendToServer(new PacketGuiButton(te, widget.getID()));
View Full Code Here

Examples of pneumaticCraft.api.client.IGuiAnimatedStat.closeWindow()

            boolean leftSided = ((IGuiAnimatedStat)widget).isLeftSided();
            for(IGuiWidget w : widgets) {
                if(w instanceof IGuiAnimatedStat) {
                    IGuiAnimatedStat stat = (IGuiAnimatedStat)w;
                    if(widget != stat && stat.isLeftSided() == leftSided) {//when the stat is on the same side, close it.
                        stat.closeWindow();
                    }
                }
            }
        }
    }
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.