开发者

How to show an Eclipse view like an intro

开发者 https://www.devze.com 2023-02-09 17:36 出处:网络
I am having an eclipse view which I am trying to display as an intro page. I am now opening the view with maximize but still the toolbars are visible.

I am having an eclipse view which I am trying to display as an intro page. I am now opening the view with maximize but still the toolbars are visible. So is there any way to make the view opening same a开发者_运维百科s intro page in eclipse.

I am not using intro as I want to make my own welcome page so I am not sure about the attitude of intro as it is mentioned that intro is basically for internal. Please correct me if I am wrong anywhere.


I would still use IIntroPart (or have a look to CustomizableIntroPart):

The intro part is a visual component within the workbench responsible for introducing the product to new users. The intro part is typically shown the first time a product is started up.

The intro part implementation is contributed to the workbench via the org.eclipse.ui.intro extension point.

(See this thread as an example).

There can be several intro part implementations, and associations between intro part implementations and products.
The workbench will only make use of the intro part implementation for the current product (as given by Platform.getProduct().
There is at most one intro part instance in the entire workbench, and it resides in exactly one workbench window at a time.

See "[Eclipse Intro] Make my own welcome page." as an example.

If you don't use it, at least have a look at the code of IIntroPart to see how it

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号