Show Eclipse RCP Welcome Page Each Time You Run

Is there a way to get the RCP product to show the welcome page every time it watched RCP? (By default, the welcome page is only displayed the first time you view RCP.)

I tried org.eclipse.ui/SHOW_INTRO=truein plugin_customization.ini but that didn't help ...

Thanks Frank

+3
source share
4 answers

In your intro xml you can have something like

<contentProvider id="awc" class="org.eclipse.ui.intro.contentproviders.AlwaysWelcomeCheckbox" pluginId="org.eclipse.ui.intro">
    <text></text>
</contentProvider>

which allows the user to choose whether the input page will be displayed each time. It displays a small flag wherever you place it. I do not know if it is possible to enable it by default.

, , - workbench.xml RCP.

+1

, . WorkbenchAdvisor.

 PrefUtil.getAPIPreferenceStore().setValue(
            IWorkbenchPreferenceConstants.SHOW_INTRO, true);
 PrefUtil.saveAPIPrefs();

PrefUtil , , xml (, , Intro)

PS: , , plugin.customization, false, plugin_customization , , . true , .

+4

-showsplash

0

"intro" "contentDetector".

contentDetector is the fully qualified name of the class that extends org.eclipse.ui.intro.IntroContentDetector. This additional class is used to detect newly added content. If new content is available, a presentation showing the introduction will be reopened.

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_intro.html

0
source

Source: https://habr.com/ru/post/1736664/


All Articles