Package org.eclipse.jface.text

Examples of org.eclipse.jface.text.DefaultInformationControl$IInformationPresenter


                            return new PresenterControlCreator(editor);
                        }
                    };
                    return info;
                }
                return new DefaultInformationControl(parent,
                        EditorsUI.getTooltipAffordanceString(),
                        new ErlInformationPresenter(true));
            }
        };
    }
View Full Code Here


                        }
                        super.setSize(width, height);
                    }
                };
            } else {
                control = new DefaultInformationControl(parent,
                        EditorsUI.getTooltipAffordanceString(),
                        new ErlInformationPresenter(true));
            }
            return control;
        }
View Full Code Here

            final ISourceViewer sourceViewer) {
        return new IInformationControlCreator() {

            @Override
            public IInformationControl createInformationControl(final Shell parent) {
                return new DefaultInformationControl(parent,
                        EditorsUI.getTooltipAffordanceString(),
                        new ErlInformationPresenter(true));
            }
        };
    }
View Full Code Here

    private IInformationControlCreator getQuickAssistAssistantInformationControlCreator() {
        return new IInformationControlCreator() {
            @Override
            public IInformationControl createInformationControl(final Shell parent) {
                final String affordance = getAdditionalInfoAffordanceString();
                return new DefaultInformationControl(parent, affordance);
            }
        };
    }
View Full Code Here

            control.addLocationListener(new HandleEdocLinksLocationListener(control));

            return control;
        }
        return new DefaultInformationControl(parent,
                EditorsUI.getTooltipAffordanceString(), new ErlInformationPresenter(true));
    }
View Full Code Here

        ContentAssistant assistant = new ContentAssistant();

        // required to display additional info
        assistant.setInformationControlCreator(new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent, true);
            }
        });

        processor.setFile(file);
        // Set this processor for each supported content type
View Full Code Here

        ContentAssistant assistant = new ContentAssistant();

        // required to display additional info
        assistant.setInformationControlCreator(new IInformationControlCreator() {
            public IInformationControl createInformationControl(Shell parent) {
                return new DefaultInformationControl(parent);
            }
        });

        _processor = new IvyContentAssistProcessor();
        _processor.setFile(_file);
View Full Code Here

  @Override
  public IInformationControlCreator getInformationControlCreator(ISourceViewer sourceViewer) {
    return new IInformationControlCreator() {
      @Override
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, false);
      }
    };
  }
View Full Code Here

              HTMLPrinter.addPageEpilog(info);
              return info.toString();
            }
            };
        }
    return new DefaultInformationControl(parent, style, new HTMLTextPresenter(), EditorsUI.getTooltipAffordanceString());
  }
View Full Code Here

   * @since 3.3
   */
  private IInformationControlCreator getQuickAssistAssistantInformationControlCreator() {
    return new IInformationControlCreator() {
      public IInformationControl createInformationControl(Shell parent) {
        return new DefaultInformationControl(parent, SWT.NONE, new HTMLTextPresenter(true));
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.text.DefaultInformationControl$IInformationPresenter

Copyright © 2018 www.massapicom. 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.