congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ToggleBreadcrumbAction.update
Code IndexAdd Tabnine to your IDE (free)

How to use
update
method
in
org.eclipse.jdt.internal.ui.javaeditor.ToggleBreadcrumbAction

Best Java code snippets using org.eclipse.jdt.internal.ui.javaeditor.ToggleBreadcrumbAction.update (Showing top 2 results out of 315)

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

/**
 * Constructs and updates the action.
 *
 * @param page the workbench page
 * @param inContextMenu <code>true</code> iff this action is shown in the context menu of a breadcrumb
 * 
 * @since 3.7
 */
public ToggleBreadcrumbAction(IWorkbenchPage page, boolean inContextMenu) {
  super(JavaEditorMessages.getBundleForConstructedKeys(),
      inContextMenu ? "ToggleBreadcrumbAction.Hide." : "ToggleBreadcrumbAction.", //$NON-NLS-1$ //$NON-NLS-2$
      inContextMenu ? IAction.AS_PUSH_BUTTON : IAction.AS_CHECK_BOX);
  
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_BREADCRUMB_ACTION);
  fPage= page;
  if (!inContextMenu) {
    JavaPluginImages.setToolImageDescriptors(this, "toggle_breadcrumb.png"); //$NON-NLS-1$
    fPage.getWorkbenchWindow().addPerspectiveListener(this);
  }
  update();
}

origin: org.eclipse.jdt/org.eclipse.jdt.ui

/**
 * Constructs and updates the action.
 *
 * @param page the workbench page
 * @param inContextMenu <code>true</code> iff this action is shown in the context menu of a breadcrumb
 * 
 * @since 3.7
 */
public ToggleBreadcrumbAction(IWorkbenchPage page, boolean inContextMenu) {
  super(JavaEditorMessages.getBundleForConstructedKeys(),
      inContextMenu ? "ToggleBreadcrumbAction.Hide." : "ToggleBreadcrumbAction.", //$NON-NLS-1$ //$NON-NLS-2$
      inContextMenu ? IAction.AS_PUSH_BUTTON : IAction.AS_CHECK_BOX);
  
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_BREADCRUMB_ACTION);
  fPage= page;
  if (!inContextMenu) {
    JavaPluginImages.setToolImageDescriptors(this, "toggle_breadcrumb.png"); //$NON-NLS-1$
    fPage.getWorkbenchWindow().addPerspectiveListener(this);
  }
  update();
}

org.eclipse.jdt.internal.ui.javaeditorToggleBreadcrumbActionupdate

Popular methods of ToggleBreadcrumbAction

  • <init>
    Constructs and updates the action.
  • dispose
    Dispose this action
  • getPreferenceKey
    Returns the preference key for the breadcrumb. The value depends on the current perspective.
  • isChecked
  • setActionDefinitionId
  • setChecked
  • setEnabled

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • getSystemService (Context)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 12 Jupyter Notebook Extensions
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