Examples of IInputChangedListener


Examples of org.eclipse.jface.text.IInputChangedListener

                // .addSelectionChangedListener(openExternalJavadocAction);
                // selectionProvider.setSelection(new
                // StructuredSelection());
                // tbm.add(openExternalJavadocAction);

                final IInputChangedListener inputChangeListener = new IInputChangedListener() {
                    @Override
                    public void inputChanged(final Object newInput) {
                        backAction.update();
                        forwardAction.update();
                        if (newInput == null) {
View Full Code Here

Examples of org.eclipse.jface.text.IInputChangedListener

          if (infoControl instanceof IInformationControlExtension5) {
            final IInformationControlExtension5 iControl5= (IInformationControlExtension5) infoControl;
            if (iControl5.containsControl(control)) {
              if (infoControl instanceof IDelayedInputChangeProvider) {
                final IDelayedInputChangeProvider delayedICP= (IDelayedInputChangeProvider) infoControl;
                final IInputChangedListener inputChangeListener= new DelayedInputChangeListener(delayedICP, fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer());
                delayedICP.setDelayedInputChangeListener(inputChangeListener);
                // cancel automatic input updating after a small timeout:
                control.getShell().getDisplay().timerExec(1000, new Runnable() {
                  public void run() {
                    delayedICP.setDelayedInputChangeListener(null);
View Full Code Here

Examples of org.eclipse.jface.text.IInputChangedListener

          if (infoControl instanceof IInformationControlExtension5) {
            final IInformationControlExtension5 iControl5= (IInformationControlExtension5) infoControl;
            if (iControl5.containsControl(control)) {
              if (infoControl instanceof IDelayedInputChangeProvider) {
                final IDelayedInputChangeProvider delayedICP= (IDelayedInputChangeProvider) infoControl;
                final IInputChangedListener inputChangeListener= new DelayedInputChangeListener(delayedICP, fAdditionalInfoController.getInternalAccessor().getInformationControlReplacer());
                delayedICP.setDelayedInputChangeListener(inputChangeListener);
                // cancel automatic input updating after a small timeout:
                control.getShell().getDisplay().timerExec(1000, new Runnable() {
                  public void run() {
                    delayedICP.setDelayedInputChangeListener(null);
View Full Code Here

Examples of org.eclipse.jface.text.IInputChangedListener

      forwardAction.setEnabled(false);

      final OpenDeclarationAction openDeclarationAction = new OpenDeclarationAction(control);
      tbm.add(openDeclarationAction);

      IInputChangedListener inputChangeListener = new IInputChangedListener() {
        public void inputChanged(Object newInput) {
          backAction.update();
          forwardAction.update();

          if(newInput == null) {
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.