Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Hide Welcome page(Hide Papyrus Welcome page)
Hide Welcome page [message #1749622] Thu, 08 December 2016 17:13 Go to next message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
Hi,
Did someone know how to disable the papyrus welcome page?
I have created programmatically my diagram, and I want to open it directly, and don't get the welcome page.
Re: Hide Welcome page [message #1749623 is a reply to message #1749622] Thu, 08 December 2016 17:15 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1199
Registered: July 2009
Location: Canada
Senior Member

Hi,

Perhaps I don't understand the question. If you want to disable the welcome page, and you don't get the welcome page when you create a diagram, then what is the problem?

Christian
Re: Hide Welcome page [message #1749625 is a reply to message #1749623] Thu, 08 December 2016 17:27 Go to previous messageGo to next message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
I get the welcome page when I create the diagram, and I don't want it.

I do
IDE.openEditor(page, folder.getFile(new Path(diagramName+".di")), EDITOR_ID, Boolean.TRUE);


But it open the welcome page first
Re: Hide Welcome page [message #1749626 is a reply to message #1749625] Thu, 08 December 2016 17:30 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1199
Registered: July 2009
Location: Canada
Senior Member

The welcome page is shown automatically when there is no other page open.

After you create the diagram, you can explicitly add an open page for it into the SashModel resource's SashWindowsMngr. Then, when the editor is opened, it should find that there is an open page (the diagram) and so not open the welcome page.

HTH,

Christian
Re: Hide Welcome page [message #1749629 is a reply to message #1749626] Thu, 08 December 2016 17:45 Go to previous message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
Thanks!
It works fine.

[Updated on: Tue, 20 December 2016 10:01]

Report message to a moderator

Previous Topic:Create Papyrus diagram programmatically
Next Topic:how to enable code generation?
Goto Forum:
  


Current Time: Fri Jan 24 06:07:58 GMT 2020

Powered by FUDForum. Page generated in 0.01797 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top