Examples of addExtension()


Examples of javax.jdo.Query.addExtension()

        final String pkOtoaId = pkOtoa.getId();
        final String filter = pkOtoaId + "==" + map.get(pkOtoaId);
        final Query jdoQuery = getPersistenceManager().newQuery(cls, filter);

        // http://www.datanucleus.org/servlet/jira/browse/NUCCORE-1103
        jdoQuery.addExtension("datanucleus.multivaluedFetch", "none");
       
        if (LOG.isDebugEnabled()) {
            LOG.debug(cls.getName() + " # " + queryName + " ( " + filter + " )");
        }
       
View Full Code Here

Examples of misc.CustomFileFilter.addExtension()

   */
  private void chooseExportFile() {
    JFileChooser fileChooser = new JFileChooser(Application.settings.getLastPath());
    CustomFileFilter filter = new CustomFileFilter();
    filter.setDescription("*."+(String)exportLanguages.get(jComboBoxLanguage.getSelectedItem()));
    filter.addExtension((String)exportLanguages.get(jComboBoxLanguage.getSelectedItem()));
    fileChooser.setFileFilter(filter);
    if(fileChooser.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {
      String filePath = fileChooser.getSelectedFile().getAbsolutePath();
      // Check on extension
      if (!filePath.toLowerCase().endsWith("."+(String)exportLanguages.get(jComboBoxLanguage.getSelectedItem())))
View Full Code Here

Examples of net.infopeers.restrant.engine.parser.TestParams.addExtension()

  public void testAnnotatedArg() throws Exception{
   
    TestController controller = new TestController();
    TestParams params = new TestParams();
    params.addExtension("id", "12345");
   
    // idは@Method({"id"})で指定されている
    ReflectInvoker invoker = new ReflectInvoker(null, controller, "testAnnotated", params);
    invoker.invoke(null, null);
   
View Full Code Here

Examples of net.sourceforge.javautil.web.server.application.impl.WebApplicationStandard.addExtension()

     
      if (wsd != null) {
        for (WebApplicationExtensionDescriptor waed : wsd.getExtensions()) {
          String ecl = waed.getClassName() == null ? server.getExtension(waed.getName()) : waed.getClassName();
          if (ecl == null) continue;
          application.addExtension(waed.getName(), ecl, waed.getSettings());
        }
      }
     
      depl.set("host", host);
      depl.setApplication(application);
View Full Code Here

Examples of net.sourceforge.processdash.ui.lib.ExampleFileFilter.addExtension()

        if (lastBackupDirectory != null)
            fc.setCurrentDirectory(lastBackupDirectory);
        fc.setDialogTitle(title);
        ExampleFileFilter ff = makeFilter(PDBK);
        for (String type : BACKUP_FILE_TYPES)
            ff.addExtension(type);
        fc.addChoosableFileFilter(ff);
        fc.setFileFilter(ff);
       
        if (fc.showOpenDialog(parent) != JFileChooser.APPROVE_OPTION)
            return null;
View Full Code Here

Examples of net.sourceforge.squirrel_sql.fw.util.ExtensionFilter.addExtension()

         {
            fc.setFileSelectionMode(JFileChooser.FILES_ONLY);

            ExtensionFilter ef = new ExtensionFilter();
            // i18n[graphToFile.ImageFileSpec=JPG image format]
            ef.addExtension(s_stringMgr.getString("graphToFile.ImageFileSpec"),"jpg");
            fc.setFileFilter(ef);
         }

         if (fc.showSaveDialog(_mainFrame) == JFileChooser.APPROVE_OPTION)
         {
View Full Code Here

Examples of net.sphene.goim.rcp.xmpp.smackextensions.SearchIQ.addExtension()

            .getSelection());
      }
    }
    replyValue = reply;
    if (searchIQ != null)
      iq.addExtension(reply.getDataFormToSend());

    if (searchIQ == null) {
//      close();
      return;
    }
View Full Code Here

Examples of nu.fw.jeti.jabber.elements.InfoQueryBuilder.addExtension()

      rib.jid = contact;
      rib.name = nick;
      rib.ask = "subscribe";
      rb.addItem(rib.build());
      InfoQueryBuilder iqb = new InfoQueryBuilder();
      iqb.addExtension(rb.build());
      iqb.setType("set");
      backend.send(iqb.build());
    } catch (InstantiationException e2)
    {
      e2.printStackTrace();
View Full Code Here

Examples of nu.fw.jeti.jabber.elements.MessageBuilder.addExtension()

      if(message.hasExtensions())
      {
        for (Iterator iter = message.getExtensions(); iter.hasNext();)
        {
          Extension extension = (Extension)iter.next();
          builder.addExtension(extension);
          if(extension instanceof XDelay)delayed=true;
        };
      }
      if(!delayed)
      {
View Full Code Here

Examples of nu.fw.jeti.jabber.elements.PresenceBuilder.addExtension()

      pb.priority = loginInfo.getPriority();
      Avatars avatars = getAvatarInterface();
      //pb.addExtension(capabilities.getCaps());
      if(avatars!=null)
      {
        pb.addExtension(avatars.addHash());
      }
      if(show!=Presence.UNAVAILABLE && openPGP!=null)
      {
        pb.addExtension(openPGP.signPresence(status));
      }
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.