Examples of run()


Examples of org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run()

        final Shell shell = new Shell();
        final RefactoringWizardOpenOperation op = new RefactoringWizardOpenOperation(
                wizard);

        try {
            final int ret = op.run(shell, refactoring.getName());

            if (RefactoringStatus.OK == ret) {
                refactoring.doAfterRefactoring();
            }
        } catch (final Exception e) {
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.ui.action.IKeyAction.run()

    public void keyPressed(KeyEvent event) {
        IKeyAction keyAction = natTable.getUiBindingRegistry()
                .getKeyEventAction(event);
        if (keyAction != null) {
            natTable.forceFocus();
            keyAction.run(natTable, event);
        }
    }

    @Override
    public void mouseDown(MouseEvent event) {
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.ui.action.IMouseAction.run()

        if (natTable.commitAndCloseActiveCellEditor()) {
            IMouseAction mouseDownAction = natTable.getUiBindingRegistry()
                    .getMouseDownAction(event);
            if (mouseDownAction != null) {
                event.data = NatEventData.createInstanceFromEvent(event);
                mouseDownAction.run(natTable, event);
            }

            IMouseAction singleClickAction = getUiBindingRegistry()
                    .getSingleClickAction(event);
            IMouseAction doubleClickAction = getUiBindingRegistry()
View Full Code Here

Examples of org.eclipse.pde.internal.ui.wizards.plugin.NewProjectCreationOperation.run()

                public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
                    monitor.beginTask("Creating Algorithm Project...", 150);
                   
                    try {
                        op.run(new SubProgressMonitor(monitor, 100));
                    } catch (Throwable e) {
                        e.printStackTrace();
                    }
                   
                    File outFile = provider.getProject().getLocation().append(
View Full Code Here

Examples of org.eclipse.persistence.internal.security.PrivilegedGetMethod.run()

    private boolean isSet(Object object) {
        Boolean isSet;
        try {
            Class objectClass = object.getClass();
            PrivilegedGetMethod privilegedGetMethod = new PrivilegedGetMethod(objectClass, getIsSetMethodName(), getIsSetParameterTypes(), false, true);
            Method isSetMethod = privilegedGetMethod.run();
            PrivilegedMethodInvoker privilegedMethodInvoker = new PrivilegedMethodInvoker(isSetMethod, object, isSetParameters);
            isSet = (Boolean) privilegedMethodInvoker.run();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.PrivilegedGetValueFromField.run()

  private SDOResolvable getDelegate() {
    try
      Field delegateField = (Field) privilegedGetDelegateField.run();
      PrivilegedGetValueFromField privilegedGetValueFromDelegateField = new PrivilegedGetValueFromField(delegateField, this);
      return (SDOResolvable) privilegedGetValueFromDelegateField.run();
    }catch (NoSuchFieldException nsfException){
      throw SDOException.errorAccessingExternalizableDelegator("delegate", nsfException);
    }catch (IllegalAccessException iaException){
      throw SDOException.errorAccessingExternalizableDelegator("delegate", iaException);
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.PrivilegedMethodInvoker.run()

        try {
            Class objectClass = object.getClass();
            PrivilegedGetMethod privilegedGetMethod = new PrivilegedGetMethod(objectClass, getIsSetMethodName(), getIsSetParameterTypes(), false, true);
            Method isSetMethod = privilegedGetMethod.run();
            PrivilegedMethodInvoker privilegedMethodInvoker = new PrivilegedMethodInvoker(isSetMethod, object, isSetParameters);
            isSet = (Boolean) privilegedMethodInvoker.run();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return isSet.booleanValue();
    }
View Full Code Here

Examples of org.eclipse.persistence.internal.security.PrivilegedNewInstanceFromClass.run()

        if (null == unmappedContentHandlerClass) {
            unmappedContentHandler = DEFAULT_UNMAPPED_CONTENT_HANDLER;
        } else {
            try {
                PrivilegedNewInstanceFromClass privilegedNewInstanceFromClass = new PrivilegedNewInstanceFromClass(unmappedContentHandlerClass);
                unmappedContentHandler = (UnmappedContentHandler)privilegedNewInstanceFromClass.run();
            } catch (ClassCastException e) {
                throw XMLMarshalException.unmappedContentHandlerDoesntImplement(e, unmappedContentHandlerClass.getName());
            } catch (IllegalAccessException e) {
                throw XMLMarshalException.errorInstantiatingUnmappedContentHandler(e, unmappedContentHandlerClass.getName());
            } catch (InstantiationException e) {
View Full Code Here

Examples of org.eclipse.persistence.internal.security.PrivilegedSetValueInField.run()

  private void setDelegate(Resolvable resolvable) {
    try {
      Field delegateField = (Field) privilegedGetDelegateField.run();
      PrivilegedSetValueInField privilegedSetValueInDelegateField = new PrivilegedSetValueInField(delegateField, this, resolvable);
      privilegedSetValueInDelegateField.run();
    } catch (NoSuchFieldException nsfException){
      throw SDOException.errorAccessingExternalizableDelegator("delegate", nsfException);
    } catch (IllegalAccessException iaException){
      throw SDOException.errorAccessingExternalizableDelegator("delegate", iaException);
    }   
View Full Code Here

Examples of org.eclipse.php.internal.ui.actions.ConfigureWorkingSetAction.run()

    }

    ConfigureWorkingSetAction action = new ConfigureWorkingSetAction(
        getSite());
    action.setWorkingSetModel(workingSetModel);
    action.run();
  }

  /*
   * (non-Javadoc)
   *
 
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.