Examples of removeFocusListener()


Examples of org.eclipse.jface.text.IInformationControl.removeFocusListener()

        fSubjectControl.removeKeyListener(this);
      }

      IInformationControl fInformationControlToClose= getCurrentInformationControl2();
      if (fInformationControlToClose != null)
        fInformationControlToClose.removeFocusListener(this);

      if (fDisplay != null && !fDisplay.isDisposed()) {
        fDisplay.removeFilter(SWT.MouseMove, this);
        fDisplay.removeFilter(SWT.FocusOut, this);
      }
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

      selectionProvider.removeSelectionChangedListener(this);

    StyledText text= fTextViewer.getTextWidget();
    if (text != null) {
      text.removeMouseListener(this);
      text.removeFocusListener(this);
    }

    if (fTextViewer instanceof ITextViewerExtension) {
      ((ITextViewerExtension) fTextViewer).removeVerifyKeyListener(this);
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

      StyledText text= fViewer.getTextWidget();
      if (text == null)
        return;

      fViewer.getSelectionProvider().removeSelectionChangedListener(this);
      text.removeFocusListener(this);
      text.removeMouseListener(this);
      text.removeModifyListener(this);

      fClipboard.dispose();
      fClipboard= null;
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

      return;
     
    text.removeKeyListener(this);
    text.removeMouseListener(this);
    text.removeMouseMoveListener(this);
    text.removeFocusListener(this);
    text.removePaintListener(this);
   
    ((ITextViewerExtension4)sourceViewer).removeTextPresentationListener(this);
  }
 
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

      return;

    text.removeKeyListener(this);
    text.removeMouseListener(this);
    text.removeMouseMoveListener(this);
    text.removeFocusListener(this);
    text.removePaintListener(this);
  }

  private void updateColor(ITextViewer viewer) {
    StyledText text = viewer.getTextWidget();
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

    if (text != null && !text.isDisposed()) {
      text.removeKeyListener(this);
      text.getDisplay().removeFilter(SWT.KeyUp, this);
      text.removeMouseListener(this);
      text.removeMouseMoveListener(this);
      text.removeFocusListener(this);
      text.removeMouseTrackListener(this);
    }
    fTextViewer.removeTextListener(this);
   
    fHyperlinkPresenter.uninstall();
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

      StyledText text= fViewer.getTextWidget();
      if (text == null)
        return;

      fViewer.getSelectionProvider().removeSelectionChangedListener(this);
      text.removeFocusListener(this);
      text.removeMouseListener(this);
      text.removeModifyListener(this);

      fClipboard.dispose();
      fClipboard= null;
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

      selectionProvider.removeSelectionChangedListener(this);

    StyledText text= fTextViewer.getTextWidget();
    if (text != null) {
      text.removeMouseListener(this);
      text.removeFocusListener(this);
    }

    if (fTextViewer instanceof ITextViewerExtension) {
      ((ITextViewerExtension) fTextViewer).removeVerifyKeyListener(this);
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

                selectionProvider.removeSelectionChangedListener(this);

            StyledText text = fTextViewer.getTextWidget();
            if (text != null) {
                text.removeMouseListener(this);
                text.removeFocusListener(this);
            }

            if (fTextViewer instanceof ITextViewerExtension) {
                ((ITextViewerExtension) fTextViewer).removeVerifyKeyListener(this);
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.removeFocusListener()

             * When the initial focus is gained, set the caret position to the last position (just after the prompt)
             */
            public void focusGained(FocusEvent e) {
                setCaretOffset(getDocument().getLength(), true);
                //just a 1-time listener
                styledText.removeFocusListener(this);
            }

            public void focusLost(FocusEvent e) {

            }
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.