Tabnine Logo
BuildActionGroup$ShellProviderAdapter.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.jdt.ui.actions.BuildActionGroup$ShellProviderAdapter
constructor

Best Java code snippets using org.eclipse.jdt.ui.actions.BuildActionGroup$ShellProviderAdapter.<init> (Showing top 2 results out of 315)

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

private BuildActionGroup(IWorkbenchSite site, ISelectionProvider specialSelectionProvider, RefreshAction refreshAction) {
  fSelectionProvider= specialSelectionProvider != null ? specialSelectionProvider : site.getSelectionProvider();
  fBuildAction= new BuildAction(new ShellProviderAdapter(site.getShell()), IncrementalProjectBuilder.INCREMENTAL_BUILD);
  fBuildAction.setText(ActionMessages.BuildAction_label);
  fBuildAction.setActionDefinitionId(IWorkbenchCommandConstants.PROJECT_BUILD_PROJECT);
  fRefreshAction= refreshAction;
  fRefreshAction.setActionDefinitionId(IWorkbenchCommandConstants.FILE_REFRESH);
  if (specialSelectionProvider != null) {
    fRefreshAction.setSpecialSelectionProvider(specialSelectionProvider);
  }
  fSelectionProvider.addSelectionChangedListener(fBuildAction);
  fSelectionProvider.addSelectionChangedListener(fRefreshAction);
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

private BuildActionGroup(IWorkbenchSite site, ISelectionProvider specialSelectionProvider, RefreshAction refreshAction) {
  fSelectionProvider= specialSelectionProvider != null ? specialSelectionProvider : site.getSelectionProvider();
  fBuildAction= new BuildAction(new ShellProviderAdapter(site.getShell()), IncrementalProjectBuilder.INCREMENTAL_BUILD);
  fBuildAction.setText(ActionMessages.BuildAction_label);
  fBuildAction.setActionDefinitionId(IWorkbenchCommandConstants.PROJECT_BUILD_PROJECT);
  fRefreshAction= refreshAction;
  fRefreshAction.setActionDefinitionId(IWorkbenchCommandConstants.FILE_REFRESH);
  if (specialSelectionProvider != null) {
    fRefreshAction.setSpecialSelectionProvider(specialSelectionProvider);
  }
  fSelectionProvider.addSelectionChangedListener(fBuildAction);
  fSelectionProvider.addSelectionChangedListener(fRefreshAction);
}
org.eclipse.jdt.ui.actionsBuildActionGroup$ShellProviderAdapter<init>

Popular methods of BuildActionGroup$ShellProviderAdapter

    Popular in Java

    • Start an intent from android
    • scheduleAtFixedRate (Timer)
    • startActivity (Activity)
    • findViewById (Activity)
    • RandomAccessFile (java.io)
      Allows reading from and writing to a file in a random-access manner. This is different from the uni-
    • KeyStore (java.security)
      KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
    • Collectors (java.util.stream)
    • SSLHandshakeException (javax.net.ssl)
      The exception that is thrown when a handshake could not be completed successfully.
    • JCheckBox (javax.swing)
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • Best plugins for Eclipse
    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