Examples of containsControl()


Examples of org.eclipse.jface.text.IInformationControlExtension5.containsControl()

          IInformationControl infoControl= fAdditionalInfoController.getCurrentInformationControl2();
          // During isReplaceInProgress(), events can come from the replacing information control
          if (event.widget instanceof Control && infoControl instanceof IInformationControlExtension5) {
            Control control= (Control) event.widget;
            IInformationControlExtension5 iControl5= (IInformationControlExtension5) infoControl;
            if (!(iControl5.containsControl(control)))
              fAdditionalInfoController.hideInformationControl();
            else if (event.type == SWT.MouseWheel)
              fAdditionalInfoController.getInternalAccessor().replaceInformationControl(false);
          } else if (infoControl != null && infoControl.isFocusControl()) {
            fAdditionalInfoController.getInternalAccessor().replaceInformationControl(true);
View Full Code Here

Examples of org.eclipse.jface.text.IInformationControlExtension5.containsControl()

        if (event.widget instanceof Control) {
          Control control= (Control) event.widget;
          IInformationControl infoControl= fAdditionalInfoController.getCurrentInformationControl2();
          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:
View Full Code Here

Examples of org.eclipse.jface.text.IInformationControlExtension5.containsControl()

        if (replacer != null && fContentAssistant != null) {
          IInformationControl iControl= replacer.getCurrentInformationControl2();
          if (event.widget instanceof Control && iControl instanceof IInformationControlExtension5) {
            Control control= (Control) event.widget;
            IInformationControlExtension5 iControl5= (IInformationControlExtension5) iControl;
            if (iControl5.containsControl(control)) {
              control.getDisplay().asyncExec(new Runnable() {
                public void run() {
                  if (fContentAssistant != null && ! fContentAssistant.hasProposalPopupFocus())
                    fContentAssistant.hide();
                }
View Full Code Here

Examples of org.eclipse.jface.text.IInformationControlExtension5.containsControl()

          IInformationControl infoControl= fAdditionalInfoController.getCurrentInformationControl2();
          // During isReplaceInProgress(), events can come from the replacing information control
          if (event.widget instanceof Control && infoControl instanceof IInformationControlExtension5) {
            Control control= (Control) event.widget;
            IInformationControlExtension5 iControl5= (IInformationControlExtension5) infoControl;
            if (!(iControl5.containsControl(control)))
              fAdditionalInfoController.hideInformationControl();
            else if (event.type == SWT.MouseVerticalWheel)
              fAdditionalInfoController.getInternalAccessor().replaceInformationControl(false);
          } else if (infoControl != null && infoControl.isFocusControl()) {
            fAdditionalInfoController.getInternalAccessor().replaceInformationControl(true);
View Full Code Here

Examples of org.eclipse.jface.text.IInformationControlExtension5.containsControl()

        if (event.widget instanceof Control) {
          Control control= (Control) event.widget;
          IInformationControl infoControl= fAdditionalInfoController.getCurrentInformationControl2();
          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:
View Full Code Here

Examples of org.eclipse.jface.text.IInformationControlExtension5.containsControl()

        if (replacer != null && fContentAssistant != null) {
          IInformationControl iControl= replacer.getCurrentInformationControl2();
          if (event.widget instanceof Control && iControl instanceof IInformationControlExtension5) {
            Control control= (Control) event.widget;
            IInformationControlExtension5 iControl5= (IInformationControlExtension5) iControl;
            if (iControl5.containsControl(control)) {
              control.getDisplay().asyncExec(new Runnable() {
                public void run() {
                  if (fContentAssistant != null && ! fContentAssistant.hasProposalPopupFocus())
                    fContentAssistant.hide();
                }
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.