Tabnine Logo
OwnerDrawLabelProvider$OwnerDrawListener.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.jface.viewers.OwnerDrawLabelProvider$OwnerDrawListener
constructor

Best Java code snippets using org.eclipse.jface.viewers.OwnerDrawLabelProvider$OwnerDrawListener.<init> (Showing top 2 results out of 315)

origin: org.eclipse.scout.sdk.deps/org.eclipse.jface

private static OwnerDrawListener getOrCreateOwnerDrawListener(
    final ColumnViewer viewer) {
  Control control = viewer.getControl();
  OwnerDrawListener listener = (OwnerDrawListener) control
      .getData(OWNER_DRAW_LABEL_PROVIDER_LISTENER);
  if (listener == null) {
    listener = new OwnerDrawListener(viewer);
    control.setData(OWNER_DRAW_LABEL_PROVIDER_LISTENER, listener);
    control.addListener(SWT.MeasureItem, listener);
    control.addListener(SWT.EraseItem, listener);
    control.addListener(SWT.PaintItem, listener);
  }
  return listener;
}
origin: org.eclipse.platform/org.eclipse.jface

private static OwnerDrawListener getOrCreateOwnerDrawListener(
    final ColumnViewer viewer) {
  Control control = viewer.getControl();
  OwnerDrawListener listener = (OwnerDrawListener) control
      .getData(OWNER_DRAW_LABEL_PROVIDER_LISTENER);
  if (listener == null) {
    listener = new OwnerDrawListener(viewer);
    control.setData(OWNER_DRAW_LABEL_PROVIDER_LISTENER, listener);
    control.addListener(SWT.MeasureItem, listener);
    control.addListener(SWT.EraseItem, listener);
    control.addListener(SWT.PaintItem, listener);
  }
  return listener;
}
org.eclipse.jface.viewersOwnerDrawLabelProvider$OwnerDrawListener<init>

Popular methods of OwnerDrawLabelProvider$OwnerDrawListener

    Popular in Java

    • Updating database using SQL prepared statement
    • putExtra (Intent)
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • notifyDataSetChanged (ArrayAdapter)
    • FileWriter (java.io)
      A specialized Writer that writes to a file in the file system. All write requests made by calling me
    • URI (java.net)
      A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
    • DateFormat (java.text)
      Formats or parses dates and times.This class provides factories for obtaining instances configured f
    • Enumeration (java.util)
      A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
    • SortedSet (java.util)
      SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
    • Annotation (javassist.bytecode.annotation)
      The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
    • CodeWhisperer alternatives
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now