Examples of invoke()


Examples of net.sf.rej.gui.dialog.QuickOutlineDialog.invoke()

        }
      }
    }
   
    QuickOutlineDialog qod = new QuickOutlineDialog(MainWindow.getInstance(), list);
    qod.invoke();
    EditorRow er = qod.getSelected();
    if (er != null) {
      int index = this.rowsAll.indexOf(er);
      this.list.setSelectedIndex(index);
      this.list.ensureIndexIsVisible(index);
View Full Code Here

Examples of net.sf.rej.gui.dialog.TypeChooseDialog.invoke()

      typeButton = new JButton();
      typeButton.setText("...");
      typeButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent e) {
              TypeChooseDialog chooser = new TypeChooseDialog(FieldEditor.this);
              chooser.invoke(FieldEditor.this.desc.getReturn(), true);
              JavaType newRet = chooser.getType();
              FieldEditor.this.desc.setReturn(newRet);
                FieldEditor.this.typeField.setText(newRet.toString());
        }
      });
View Full Code Here

Examples of net.sf.rej.gui.editor.BasicInfoEditor.invoke()

      }

    };
    switch (cpi.getType()) {
    case ConstantPoolInfo.UTF8:
      bie.invoke("Edit UTF-8 Info", cpi.getValue());
      break;
    case ConstantPoolInfo.DOUBLE:
      DoubleInfo di = (DoubleInfo) cpi;
      bie.invoke("Edit Double Info", String.valueOf(di.getDoubleValue()));
      break;
View Full Code Here

Examples of net.sourceforge.javautil.common.reflection.cache.ClassMethod.invoke()

  }

  @Override protected ILifecycle createLifecycle() {
    ClassMethod method = ClassCache.getFor(pojoContainer.getClass()).getMethod(Lifecycle.class);
    if (method != null) {
      return (ILifecycle) method.invoke(pojoContainer);
    } else {
      return new LifecyclePojo(pojoContainer);
    }
  }
View Full Code Here

Examples of net.sourceforge.marathon.util.EventQueueRunner.invoke()

        if (bounds == null)
            return;
        EventQueueRunner eqRunner = new EventQueueRunner();
        Window window = windowMonitor.getWindow(id.getTitle());
        if (window instanceof JFrame) {
            eqRunner.invoke(window, "setExtendedState", new Object[] { JFrame.NORMAL}, new Class[] {Integer.TYPE});
        }
        eqRunner.invoke(window, "setBounds", new Object[] { bounds }, new Class[] { Rectangle.class });
    }

    public String toScriptCode() {
View Full Code Here

Examples of nexj.core.meta.BinaryFunction.invoke()

         Primitive primitiveType = (Primitive)type;
         BinaryFunction f = primitiveType.getEQFunction(primitiveType);

         for (int i = 1; i < m_nOperandCount; ++i)
         {
            if (((Boolean)f.invoke(firstValue, m_operandArray[i].getValue())).booleanValue())
            {
               return Boolean.TRUE;
            }
         }
View Full Code Here

Examples of nexj.core.meta.Event.invoke()

   {
      load();

      Event event = (Event)m_metaclass.getSelector(sName).getMember((args != null) ? args.length : 0);

      return event.invoke((event.isStatic()) ? (Accessor)m_metaclass : this, args, m_context.getMachine());
   }

   /**
    * @see nexj.core.meta.Accessor#invoke(java.lang.String, nexj.core.scripting.Pair)
    */
 
View Full Code Here

Examples of nexj.core.meta.Metaclass.invoke()

      Metaclass animalClass = m_metadata.getMetaclass("Animal");
      Instance inst = null;
      InstanceArrayList list = null;

      // Read all
      list = (InstanceArrayList)animalClass.invoke("read", new Object[]{
         null, null, parse("((commonName . #t))"), null, null, null
      });

      assertEquals(4, list.size());
      inst = list.getInstance(0);
View Full Code Here

Examples of nexj.core.meta.persistence.virtual.UpdateMappingCase.invoke()

         boolean bError = true;

         try
         {
            update.invoke(tobjList, m_adapter.getInvocationContext().getMachine(), fragment);
            bError = false;
         }
         finally
         {
            // Set new locking values
View Full Code Here

Examples of nexj.core.meta.persistence.virtual.WorkMapping.invoke()

         tobjList.add(tobj);
      }

      try
      {
         operation.invoke(tobjList, m_adapter.getInvocationContext().getMachine(), fragment);
      }
      finally
      {
         // Sets the locking value and OID, if provided by the create mapping.
         for (int k = nStart; k < nEnd; k++)
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.