Examples of ask()


Examples of com.sissi.ucenter.relation.roster.RosterRelation.ask()

   * @see com.sissi.pipeline.Input#input(com.sissi.context.JIDContext, com.sissi.protocol.Protocol)
   */
  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    RosterRelation relation = super.ourRelation(context.jid(), super.build(protocol.getTo())).cast(RosterRelation.class);
    return relation.ask() ? true : this.establishAndReturn(context, protocol.cast(Presence.class), relation);
  }

  private boolean establishAndReturn(JIDContext context, Presence presence, RosterRelation relation) {
    super.establish(context.jid(), new PresenceRosterRelation(super.build(presence.getTo()), presence, relation));
    return true;
View Full Code Here

Examples of lineage2.gameserver.model.Player.ask()

    {
      activeChar.sendMessage(new CustomMessage("voicedcommandhandlers.Wedding.NotInFriendlist", activeChar));
      return false;
    }
    ConfirmDlg packet = new ConfirmDlg(SystemMsg.S1, 60000).addString("Player " + activeChar.getName() + " asking you to engage. Do you want to start new relationship?");
    ptarget.ask(packet, new CoupleAnswerListener(activeChar, ptarget));
    return true;
  }
 
  /**
   * Method goToLove.
View Full Code Here

Examples of lineage2.gameserver.model.Player.ask()

    }
    else
    {
      return;
    }
    mentor.ask(new ConfirmDlg(SystemMsg.S1, 30000).addString("Teleport to Mentee? " + activeChar.getName()), new MentorAnswerListener(mentor, activeChar.getName()));
  }
}
View Full Code Here

Examples of mage.client.chat.ChatPanel.ask()

                        case "gameAsk":
                            {
                                GameClientMessage message = (GameClientMessage) callback.getData();
                                GamePanel panel = MageFrame.getGame(callback.getObjectId());
                                if (panel != null) {
                                    panel.ask(message.getMessage(), message.getGameView(), callback.getMessageId());
                                }       break;
                            }
                        case "gameTarget": // e.g. Pick triggered ability
                            {
                                GameClientMessage message = (GameClientMessage) callback.getData();
View Full Code Here

Examples of mage.client.game.GamePanel.ask()

                        case "gameAsk":
                            {
                                GameClientMessage message = (GameClientMessage) callback.getData();
                                GamePanel panel = MageFrame.getGame(callback.getObjectId());
                                if (panel != null) {
                                    panel.ask(message.getMessage(), message.getGameView(), callback.getMessageId());
                                }       break;
                            }
                        case "gameTarget": // e.g. Pick triggered ability
                            {
                                GameClientMessage message = (GameClientMessage) callback.getData();
View Full Code Here

Examples of org.apache.marmotta.client.clients.SPARQLClient.ask()

    @Test
    public void testSparqlAsk() throws Exception {
        SPARQLClient client = new SPARQLClient(config);

        boolean result = client.ask("ASK { ?r <http://xmlns.com/foaf/0.1/name> ?n }");
        Assert.assertTrue(result);

    }
   
    @Test
View Full Code Here

Examples of org.jboss.errai.widgets.client.WSModalDialog.ask()

  public void callback(Message message)
  {
    String errorMessage = message.get(String.class, MessageParts.ErrorMessage);

    WSModalDialog errorDialog = new WSModalDialog();
    errorDialog.ask(errorMessage, new AcceptsCallback() {
      public void callback(Object message, Object data) {
      }
    });
    errorDialog.showModal();
  }
View Full Code Here

Examples of org.jboss.errai.widgets.client.WSModalDialog.ask()

                            }
                        }
                    }
                };

                dialog.ask("A panel is already open for '" + name + "'. What do you want to do?", openCallback);
                dialog.showModal();
                return;
            }
        }
View Full Code Here

Examples of org.jboss.errai.widgets.client.WSModalDialog.ask()

                            }
                        }
                    }
                };

                dialog.ask("A panel is already open for '" + name + "'. What do you want to do?", openCallback);
                dialog.showModal();
                return;
            }
        }
View Full Code Here

Examples of org.jitterbit.application.ui.DoNotShowAgainQuestion.ask()

        public boolean ask() {
            DoNotShowAgainQuestion q = new DoNotShowAgainQuestion(this, getString("Trashcan.DependenciesDetected"),
                            ReviveDependenciesWarningPreference.instance(), Option.CONTINUE_CANCEL,
                            Option.CONTINUE, Type.QUESTION);
            return q.ask(null);
        }

        @Override
        public void decorate(UiCanvas canvas) {
            BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 5);
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.