Examples of IWorkbenchHelpSystem


Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

       
        String theFullURL = urldest + keyword;
       
        IExtensionRegistry extReg = Platform.getExtensionRegistry();
        if(extReg.getExtensions("com.adobe.coldfusion_help_7").length > 0){
          IWorkbenchHelpSystem helpsys = Workbench.getInstance().getHelpSystem();
          helpsys.search(keyword);
        }
        else{
            IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
            try {
               BrowserView browser = (BrowserView)page.showView(BrowserView.ID_BROWSER);
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

      String theFullURL = urldest + query;

      IExtensionRegistry extReg = Platform.getExtensionRegistry();
      if (extReg.getExtensions("com.adobe.coldfusion_help_7").length > 0) {
        IWorkbenchHelpSystem helpsys = Workbench.getInstance().getHelpSystem();
        helpsys.search(query);
      } else {
        IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
        try {
          if (fStore.getBoolean(CFMLPreferenceConstants.P_HELP_URL_USE_EXTERNAL_BROWSER)) {
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

                @Override
                public void run()
                {
                    try
                    {
                        final IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
                        helpSystem.displayDynamicHelp();
                    }
                    catch ( Throwable e )
                    {
                        e.printStackTrace();
                    }
                }
            };
            Actions.HELP_VIEW.initialize( helpViewAction );

            helpWindowAction = new Action()
            {
                @Override
                public void run()
                {
                    final IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
                    helpSystem.displayHelp();
                }
            };
            Actions.HELP_WINDOW.initialize( helpWindowAction );

            connectionsAction = new Action()
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

        super.postStartup();
        // show help on startup if the user wants it
        boolean showHelp = Activator.getDefault().getPreferenceStore().getBoolean( Preferences.HELP_ON_START );
        if ( showHelp )
        {
            IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
            helpSystem.displayDynamicHelp();

            NeoGraphViewPart graphView = (NeoGraphViewPart) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(
                    NeoGraphViewPart.ID );
            if ( graphView != null )
            {
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  public void createFieldEditors() {
    Composite parent = getFieldEditorParent();
    IWorkbenchHelpSystem help = PlatformUI.getWorkbench().getHelpSystem();
    String helpContext = Activator.getDefault().getBundle().getSymbolicName() + ".WikiPreferencePage";
    help.setHelp(parent, helpContext);
    addField(new StringFieldEditor(WIKI_URL, "Wiki URL (e.g. http://www.ntnu.no/wiki/display/tdt4100/):", parent));
    for (int i = 0; i < WIKI_PATH_KEYS.length; i++) {
      String[] keys = WIKI_PATH_KEYS[i];
      String label = keys[0];
      if (Character.isLowerCase(label.charAt(0))) {
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

    try {
      exerciseDetailsView = new Browser(rightPane, styles);
    } catch (Throwable t) {
      manager.log("Could not instantiate Browser control", IStatus.ERROR, t);
    }
    IWorkbenchHelpSystem help = PlatformUI.getWorkbench().getHelpSystem();
    String helpContext = JexUiPlugin.getPlugin().getBundle().getSymbolicName() + ".ExerciseView";
    help.setHelp(sash, helpContext);
    help.setHelp(exerciseViewer.getControl(), helpContext);
    help.setHelp(exerciseSelector.getControl(), helpContext);
    help.setHelp(startupMessage, helpContext);
    if (exerciseDetailsView != null) {
      help.setHelp(exerciseDetailsView, helpContext);
      sash.setWeights(new int[]{30, 70});
    }
    exerciseResourceSelected((JexResource) null);
   
    exerciseSelector.addSelectionChangedListener(new ISelectionChangedListener() {
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

      return;
    }
    if (req == null) {
      URL url = null;
      if (JExerciseViewHelpLocation != null) {
        IWorkbenchHelpSystem help = PlatformUI.getWorkbench().getHelpSystem();
        String helpPath = "/" + JexUiPlugin.getPlugin().getBundle().getSymbolicName() + JExerciseViewHelpLocation;
        url = help.resolve(helpPath, true);
      }
      if (url != null) {
        setRightControl(exerciseDetailsView);
        exerciseDetailsView.setUrl(url.toString());
      } else {
View Full Code Here

Examples of org.eclipse.ui.help.IWorkbenchHelpSystem

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  public void createFieldEditors() {
    Composite parent = getFieldEditorParent();
    IWorkbenchHelpSystem help = PlatformUI.getWorkbench().getHelpSystem();
    String helpContext = JexUiPlugin.getPlugin().getBundle().getSymbolicName() + ".JexPreferencePage";
    help.setHelp(parent, helpContext);
    addField(new StringFieldEditor(JEX_TESTS_PATH, "Tests folder path (e.g. /tdt4100/tests/):", parent));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.