congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JavadocHover$OpenDeclarationAction
Code IndexAdd Tabnine to your IDE (free)

How to use
JavadocHover$OpenDeclarationAction
in
org.eclipse.jdt.internal.ui.text.java.hover

Best Java code snippets using org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover$OpenDeclarationAction (Showing top 6 results out of 315)

origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

final OpenDeclarationAction openDeclarationAction= new OpenDeclarationAction(iControl);
tbm.add(openDeclarationAction);
origin: org.eclipse.jdt/org.eclipse.jdt.ui

  @Override
  public void inputChanged(Object newInput) {
    backAction.update();
    forwardAction.update();
    if (newInput == null) {
      selectionProvider.setSelection(new StructuredSelection());
    } else if (newInput instanceof BrowserInformationControlInput) {
      BrowserInformationControlInput input= (BrowserInformationControlInput) newInput;
      Object inputElement= input.getInputElement();
      selectionProvider.setSelection(new StructuredSelection(inputElement));
      boolean isJavaElementInput= inputElement instanceof IJavaElement;
      showInJavadocViewAction.setEnabled(isJavaElementInput);
      openDeclarationAction.setEnabled(isJavaElementInput);
    }
  }
};
origin: org.eclipse.jdt/org.eclipse.jdt.ui

public OpenDeclarationAction(BrowserInformationControl infoControl) {
  fInfoControl= infoControl;
  setText(JavaHoverMessages.JavadocHover_openDeclaration);
  JavaPluginImages.setLocalImageDescriptors(this, "goto_input.png"); //$NON-NLS-1$ //TODO: better images
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

final OpenDeclarationAction openDeclarationAction= new OpenDeclarationAction(iControl);
tbm.add(openDeclarationAction);
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

  @Override
  public void inputChanged(Object newInput) {
    backAction.update();
    forwardAction.update();
    if (newInput == null) {
      selectionProvider.setSelection(new StructuredSelection());
    } else if (newInput instanceof BrowserInformationControlInput) {
      BrowserInformationControlInput input= (BrowserInformationControlInput) newInput;
      Object inputElement= input.getInputElement();
      selectionProvider.setSelection(new StructuredSelection(inputElement));
      boolean isJavaElementInput= inputElement instanceof IJavaElement;
      showInJavadocViewAction.setEnabled(isJavaElementInput);
      openDeclarationAction.setEnabled(isJavaElementInput);
    }
  }
};
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

public OpenDeclarationAction(BrowserInformationControl infoControl) {
  fInfoControl= infoControl;
  setText(JavaHoverMessages.JavadocHover_openDeclaration);
  JavaPluginImages.setLocalImageDescriptors(this, "goto_input.png"); //$NON-NLS-1$ //TODO: better images
}
org.eclipse.jdt.internal.ui.text.java.hoverJavadocHover$OpenDeclarationAction

Javadoc

Action that opens the current hover input element.

Most used methods

  • <init>
  • setEnabled
  • setText

Popular in Java

  • Making http post requests using okhttp
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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