You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/EclipsePluginDevelopmentFAQ.md
+45-45Lines changed: 45 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,56 +11,56 @@ Contents
11
11
--------
12
12
13
13
*[1 General Development](#General-Development)
14
-
*[1.1 How do I find a class from Eclipse?](#How-do-I-find-a-class-from-Eclipse.3F)
15
-
*[1.2 I see these $NON-NLS-1$ tags all over the place when I'm browsing Eclipse's source code? What do they mean?](#I-see-these-.24NON-NLS-1.24-tags-all-over-the-place-when-I.27m-browsing-Eclipse.27s-source-code.3F-What-do-they-mean.3F)
16
-
*[1.3 I need help debugging my plug-in...](#I-need-help-debugging-my-plug-in...)
17
-
*[1.4 I'm using third party jar files and my plug-in is not working](#I.27m-using-third-party-jar-files-and-my-plug-in-is-not-working)
18
-
*[1.5 What is the IAdaptable interface?](#What-is-the-IAdaptable-interface.3F)
19
-
*[1.6 How do I read from a file that I've included in my bundle/plug-in?](#How-do-I-read-from-a-file-that-I.27ve-included-in-my-bundle.2Fplug-in.3F)
20
-
*[1.7 Where do I find the javadoc for the Eclipse API locally? I don't always want to load stuff up in a browser.](#Where-do-I-find-the-javadoc-for-the-Eclipse-API-locally.3F-I-don.27t-always-want-to-load-stuff-up-in-a-browser.)
21
-
*[1.8 A plug-in in my 'Eclipse Application' launch configuration is listed as being "out of sync", what should I do?](#A-plug-in-in-my-.27Eclipse-Application.27-launch-configuration-is-listed-as-being-.22out-of-sync.22.2C-what-should-I-do.3F)
22
-
*[1.9 How do I include native libraries in my bundle?](#How-do-I-include-native-libraries-in-my-bundle.3F)
14
+
*[1.1 How do I find a class from Eclipse?](#How-do-I-find-a-class-from-Eclipse)
15
+
*[1.2 I see these $NON-NLS-1$ tags all over the place when I'm browsing Eclipse's source code? What do they mean?](#i-see-these-non-nls-1-tags-all-over-the-place-when-im-browsing-eclipses-source-code-what-do-they-mean)
16
+
*[1.3 I need help debugging my plug-in...](#I-need-help-debugging-my-plug-in)
17
+
*[1.4 I'm using third party jar files and my plug-in is not working](#Im-using-third-party-jar-files-and-my-plug-in-is-not-working)
18
+
*[1.5 What is the IAdaptable interface?](#What-is-the-IAdaptable-interface)
19
+
*[1.6 How do I read from a file that I've included in my bundle/plug-in?](#How-do-I-read-from-a-file-that-Ive-included-in-my-bundleplug-in)
20
+
*[1.7 Where do I find the javadoc for the Eclipse API locally? I don't always want to load stuff up in a browser.](#Where-do-I-find-the-javadoc-for-the-Eclipse-API-locally-I-dont-always-want-to-load-stuff-up-in-a-browser)
21
+
*[1.8 A plug-in in my 'Eclipse Application' launch configuration is listed as being "out of sync", what should I do?](#a-plug-in-in-my-eclipse-application-launch-configuration-is-listed-as-being-out-of-sync-what-should-i-do)
22
+
*[1.9 How do I include native libraries in my bundle?](#How-do-I-include-native-libraries-in-my-bundle)
23
23
*[2 User Interface](#User-Interface)
24
-
*[2.1 There's a view / editor that I want to model. How do I find out what its source looks like and how it was designed?](#There.27s-a-view-.2F-editor-that-I-want-to-model.-How-do-I-find-out-what-its-source-looks-like-and-how-it-was-designed.3F)
25
-
*[2.2 There's a preference / property page that I want to model. How do I find out what its source looks like and how it was designed?](#There.27s-a-preference-.2F-property-page-that-I-want-to-model.-How-do-I-find-out-what-its-source-looks-like-and-how-it-was-designed.3F)
26
-
*[2.3 There's a window / dialog / popup that I want to model. How do I find out what its source looks like and how it was designed?](#There.27s-a-window-.2F-dialog-.2F-popup-that-I-want-to-model.-How-do-I-find-out-what-its-source-looks-like-and-how-it-was-designed.3F)
27
-
*[2.4 There's a wizard page that I want to model. How do I find out what its source looks like and how it was designed?](#There.27s-a-wizard-page-that-I-want-to-model.-How-do-I-find-out-what-its-source-looks-like-and-how-it-was-designed.3F)
28
-
*[2.5 How can I leverage the 'Outline' view?](#How-can-I-leverage-the-.27Outline.27-view.3F)
29
-
*[2.6 How can I show the perspective bar in my RCP application?](#How-can-I-show-the-perspective-bar-in-my-RCP-application.3F)
30
-
*[2.7 How do I get the perspective bar to show on the top right corner?](#How-do-I-get-the-perspective-bar-to-show-on-the-top-right-corner.3F)
31
-
*[2.8 How do I warn the user that a workbench part that is not currently visible has changed?](#How-do-I-warn-the-user-that-a-workbench-part-that-is-not-currently-visible-has-changed.3F)
32
-
*[2.9 How can I make use of the workbench's browser capabilities?](#How-can-I-make-use-of-the-workbench.27s-browser-capabilities.3F)
33
-
*[2.10 How do I retrieve the id of a preference page?](#How-do-I-retrieve-the-id-of-a-preference-page.3F)
34
-
*[2.11 How do I ask my decorator to decorate items?](#How-do-I-ask-my-decorator-to-decorate-items.3F)
35
-
*[2.12 How do I get the icon associated with a file or content type?](#How-do-I-get-the-icon-associated-with-a-file-or-content-type.3F)
36
-
*[2.13 How do I set the selection of an editor or view?](#How-do-I-set-the-selection-of-an-editor-or-view.3F)
37
-
*[2.14 How do I get the selection of an editor or view?](#How-do-I-get-the-selection-of-an-editor-or-view.3F)
38
-
*[2.15 How do I get progress feedback in the status bar in my RCP application?](#How-do-I-get-progress-feedback-in-the-status-bar-in-my-RCP-application.3F)
39
-
*[2.16 How do I make a New / Import / Export Wizard appear in the context menu of the Project Explorer?](#How-do-I-make-a-New-.2F-Import-.2F-Export-Wizard-appear-in-the-context-menu-of-the-Project-Explorer.3F)
40
-
*[2.17 How do I show a message dialogue for exceptions and log them?](#How-do-I-show-a-message-dialogue-for-exceptions-and-log-them.3F)
24
+
*[2.1 There's a view / editor that I want to model. How do I find out what its source looks like and how it was designed?](#theres-a-view--editor-that-i-want-to-model-how-do-i-find-out-what-its-source-looks-like-and-how-it-was-designed)
25
+
*[2.2 There's a preference / property page that I want to model. How do I find out what its source looks like and how it was designed?](#theres-a-preference--property-page-that-i-want-to-model-how-do-i-find-out-what-its-source-looks-like-and-how-it-was-designed)
26
+
*[2.3 There's a window / dialog / popup that I want to model. How do I find out what its source looks like and how it was designed?](#theres-a-window--dialog--popup-that-i-want-to-model-how-do-i-find-out-what-its-source-looks-like-and-how-it-was-designed)
27
+
*[2.4 There's a wizard page that I want to model. How do I find out what its source looks like and how it was designed?](#Theres-a-wizard-page-that-I-want-to-model-How-do-I-find-out-what-its-source-looks-like-and-how-it-was-designed)
28
+
*[2.5 How can I leverage the 'Outline' view?](#how-can-i-leverage-the-outline-view)
29
+
*[2.6 How can I show the perspective bar in my RCP application?](#How-can-I-show-the-perspective-bar-in-my-RCP-application)
30
+
*[2.7 How do I get the perspective bar to show on the top right corner?](#How-do-I-get-the-perspective-bar-to-show-on-the-top-right-corner)
31
+
*[2.8 How do I warn the user that a workbench part that is not currently visible has changed?](#How-do-I-warn-the-user-that-a-workbench-part-that-is-not-currently-visible-has-changed)
32
+
*[2.9 How can I make use of the workbench's browser capabilities?](#How-can-I-make-use-of-the-workbenchs-browser-capabilities)
33
+
*[2.10 How do I retrieve the id of a preference page?](#How-do-I-retrieve-the-id-of-a-preference-page)
34
+
*[2.11 How do I ask my decorator to decorate items?](#How-do-I-ask-my-decorator-to-decorate-items)
35
+
*[2.12 How do I get the icon associated with a file or content type?](#How-do-I-get-the-icon-associated-with-a-file-or-content-type)
36
+
*[2.13 How do I set the selection of an editor or view?](#How-do-I-set-the-selection-of-an-editor-or-view)
37
+
*[2.14 How do I get the selection of an editor or view?](#How-do-I-get-the-selection-of-an-editor-or-view)
38
+
*[2.15 How do I get progress feedback in the status bar in my RCP application?](#How-do-I-get-progress-feedback-in-the-status-bar-in-my-RCP-application)
39
+
*[2.16 How do I make a New / Import / Export Wizard appear in the context menu of the Project Explorer?](#how-do-i-make-a-new--import--export-wizard-appear-in-the-context-menu-of-the-project-explorer)
40
+
*[2.17 How do I show a message dialogue for exceptions and log them?](#How-do-I-show-a-message-dialogue-for-exceptions-and-log-them)
41
41
*[2.18 How do I launch a dialogue from a non-ui thread and get a return value](#How-do-I-launch-a-dialogue-from-a-non-ui-thread-and-get-a-return-value)
42
-
*[2.19 How do I make a title area dialogue with radio buttons?](#How-do-I-make-a-title-area-dialogue-with-radio-buttons.3F)
42
+
*[2.19 How do I make a title area dialogue with radio buttons?](#How-do-I-make-a-title-area-dialogue-with-radio-buttons)
43
43
*[3 Editors](#Editors)
44
-
*[3.1 How do I add those rectangles in my source editor like what JDT does for parameter names during code completion?](#How-do-I-add-those-rectangles-in-my-source-editor-like-what-JDT-does-for-parameter-names-during-code-completion.3F)
45
-
*[3.2 How do I implement a 'Quick Outline' for my editor?](#How-do-I-implement-a-.27Quick-Outline.27-for-my-editor.3F)
46
-
*[3.3 How do I get an editor's StyledText widget?](#How-do-I-get-an-editor.27s-StyledText-widget.3F)
47
-
*[3.4 How can I get the IDocument from an editor?](#How-can-I-get-the-IDocument-from-an-editor.3F)
48
-
*[3.5 How do I get an IFile given an IEditorPart or IEditorInput?](#How-do-I-get-an-IFile-given-an-IEditorPart-or-IEditorInput.3F)
49
-
*[3.6 How do I hide the tabs of a MultiPageEditorPart if it only has one page?](#How-do-I-hide-the-tabs-of-a-MultiPageEditorPart-if-it-only-has-one-page.3F)
50
-
*[3.7 How do I change the editor that is being opened when a marker has been opened?](#How-do-I-change-the-editor-that-is-being-opened-when-a-marker-has-been-opened.3F)
51
-
*[3.8 How can I make my editor respond to a user opening a marker?](#How-can-I-make-my-editor-respond-to-a-user-opening-a-marker.3F)
52
-
*[3.9 Why does the workbench keep opening a new editor every time I open a marker?](#Why-does-the-workbench-keep-opening-a-new-editor-every-time-I-open-a-marker.3F)
53
-
*[3.10 How should I let my editor know that its syntax colours have changed?](#How-should-I-let-my-editor-know-that-its-syntax-colours-have-changed.3F)
54
-
*[3.11 How do I close one/all of my editors upon workbench shutdown so that it won't appear upon workbench restart?](#How-do-I-close-one.2Fall-of-my-editors-upon-workbench-shutdown-so-that-it-won.27t-appear-upon-workbench-restart.3F)
55
-
*[3.12 How do I prevent a particular editor from being restored on the next workbench startup?](#How-do-I-prevent-a-particular-editor-from-being-restored-on-the-next-workbench-startup.3F)
44
+
*[3.1 How do I add those rectangles in my source editor like what JDT does for parameter names during code completion?](#How-do-I-add-those-rectangles-in-my-source-editor-like-what-JDT-does-for-parameter-names-during-code-completion)
45
+
*[3.2 How do I implement a 'Quick Outline' for my editor?](#How-do-I-implement-a-Quick-Outline-for-my-editor)
46
+
*[3.3 How do I get an editor's StyledText widget?](#How-do-I-get-an-editors-StyledText-widget)
47
+
*[3.4 How can I get the IDocument from an editor?](#How-can-I-get-the-IDocument-from-an-editor)
48
+
*[3.5 How do I get an IFile given an IEditorPart or IEditorInput?](#How-do-I-get-an-IFile-given-an-IEditorPart-or-IEditorInput)
49
+
*[3.6 How do I hide the tabs of a MultiPageEditorPart if it only has one page?](#How-do-I-hide-the-tabs-of-a-MultiPageEditorPart-if-it-only-has-one-page)
50
+
*[3.7 How do I change the editor that is being opened when a marker has been opened?](#How-do-I-change-the-editor-that-is-being-opened-when-a-marker-has-been-opened)
51
+
*[3.8 How can I make my editor respond to a user opening a marker?](#How-can-I-make-my-editor-respond-to-a-user-opening-a-marker)
52
+
*[3.9 Why does the workbench keep opening a new editor every time I open a marker?](#Why-does-the-workbench-keep-opening-a-new-editor-every-time-I-open-a-marker)
53
+
*[3.10 How should I let my editor know that its syntax colours have changed?](#How-should-I-let-my-editor-know-that-its-syntax-colours-have-changed)
54
+
*[3.11 How do I close one/all of my editors upon workbench shutdown so that it won't appear upon workbench restart?](#How-do-I-close-oneall-of-my-editors-upon-workbench-shutdown-so-that-it-wont-appear-upon-workbench-restart)
55
+
*[3.12 How do I prevent a particular editor from being restored on the next workbench startup?](#How-do-I-prevent-a-particular-editor-from-being-restored-on-the-next-workbench-startup)
56
56
*[4 Debug](#Debug)
57
-
*[4.1 How do I invoke a process and have its output managed by the 'Console' view?](#How-do-I-invoke-a-process-and-have-its-output-managed-by-the-.27Console.27-view.3F)
58
-
*[4.2 How do I associate my executed process with its command line counterpart?](#How-do-I-associate-my-executed-process-with-its-command-line-counterpart.3F)
59
-
*[4.3 How do I capture the output of my launched application like the 'Console' view?](#How-do-I-capture-the-output-of-my-launched-application-like-the-.27Console.27-view.3F)
60
-
*[4.4 How do I run Eclipse launch configurations programmatically?](#How-do-I-run-Eclipse-launch-configurations-programmatically.3F)
57
+
*[4.1 How do I invoke a process and have its output managed by the 'Console' view?](#How-do-I-invoke-a-process-and-have-its-output-managed-by-the-Console-view)
58
+
*[4.2 How do I associate my executed process with its command line counterpart?](#How-do-I-associate-my-executed-process-with-its-command-line-counterpart)
59
+
*[4.3 How do I capture the output of my launched application like the 'Console' view?](#How-do-I-capture-the-output-of-my-launched-application-like-the-Console-view)
60
+
*[4.4 How do I run Eclipse launch configurations programmatically?](#How-do-I-run-Eclipse-launch-configurations-programmatically)
61
61
*[5 Release](#Release)
62
-
*[5.1 How do I make a p2 repository?](#How-do-I-make-a-p2-repository.3F)
63
-
*[5.2 How do I add files to the root of the installation directory?](#How-do-I-add-files-to-the-root-of-the-installation-directory.3F)
62
+
*[5.1 How do I make a p2 repository?](#How-do-I-make-a-p2-repository)
63
+
*[5.2 How do I add files to the root of the installation directory?](#How-do-I-add-files-to-the-root-of-the-installation-directory)
0 commit comments