Bug 267010 - [General] Project creation wizard creating a new project and a new Papyrus model at once
Summary: [General] Project creation wizard creating a new project and a new Papyrus mo...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: M7   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords: plan, usability
Depends on: 313179
Blocks:
  Show dependency tree
 
Reported: 2009-03-04 08:03 EST by Patrick Tessier CLA
Modified: 2010-11-09 16:50 EST (History)
2 users (show)

See Also:
sebastien.gerard: iplog-


Attachments
Initial patch (11.01 KB, patch)
2010-05-11 11:25 EDT, Tatiana Fesenko CLA
sebastien.gerard: iplog+
Details | Diff
Initial patch with copyrights (11.75 KB, patch)
2010-05-11 12:00 EDT, Tatiana Fesenko CLA
sebastien.gerard: iplog+
Details | Diff
Patch with improvements (3.40 KB, patch)
2010-05-11 12:28 EDT, Tatiana Fesenko CLA
sebastien.gerard: iplog+
Details | Diff
Patch that initializes a model (2.20 KB, patch)
2010-05-11 13:18 EDT, Tatiana Fesenko CLA
sebastien.gerard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tessier CLA 2009-03-04 08:03:34 EST
the purpose is to create directly by the contextual menu to create a papyrus projet and files.
for the moment, we to select other and choose the papyrus.
Comment 1 Patrick Tessier CLA 2009-09-02 08:15:19 EDT
it is possible to create a papyrus file. 
So now it is a functionality to add with  a priority P2. (I think that it is a functionality important for user)
Comment 2 Thibault Landré CLA 2009-10-16 05:31:13 EDT
If I understand, this task is related with the possibility to create a Papyrus model directly from the "New" Menu, in the Papyrus Perspective. 

Am I right ? If so, can you close this task Patrick ?
Comment 3 Patrick Tessier CLA 2010-01-07 10:25:34 EST
No a project (the directory)
Comment 4 Yann Tanguy CLA 2010-04-19 06:07:54 EDT
Renamed and postponed to M7.

Current project wizard currently creates an empty project, it should create a model at the same time.
Comment 5 Remi Schnekenburger CLA 2010-05-10 06:32:29 EDT
change assignement to T. Fesenko
Comment 6 Tatiana Fesenko CLA 2010-05-11 11:25:47 EDT
Created attachment 167944 [details]
Initial patch
Comment 7 Tatiana Fesenko CLA 2010-05-11 11:33:28 EDT
The initial patch adds DiagramKindPage into New Papyrus Project wizard. Therefore, it allows to create any kind of Papyrus model directly while creating a new Project. So, it fixes the problem.

However, I would like to make the following improvements as a part of this request:
-Get rid of 'add referenced projects' page
-Open papyrus perspective after new Papyrus project creation
-Use BasicNewResourceWizard instead of BasicNewProjectResourceWizard
-Use new version of Log
-refactor - put code, creating diagram into one place
Comment 8 Tatiana Fesenko CLA 2010-05-11 12:00:42 EDT
Created attachment 167952 [details]
Initial patch with copyrights
Comment 9 Remi Schnekenburger CLA 2010-05-11 12:05:58 EDT
(In reply to comment #8)
> Created an attachment (id=167952) [details]
> Initial patch with copyrights

commited in r.1613
Comment 10 Tatiana Fesenko CLA 2010-05-11 12:28:26 EDT
Created attachment 167962 [details]
Patch with improvements

-Open papyrus perspective after new Papyrus project creation
-Use new version of Log
-Put 'New Papyrus Project' and 'New Papyrus Model' Wizard declarions together in plugin.xml
Comment 11 Remi Schnekenburger CLA 2010-05-11 12:33:24 EDT
(In reply to comment #10)
> Created an attachment (id=167962) [details]
> Patch with improvements
> 
> -Open papyrus perspective after new Papyrus project creation
> -Use new version of Log
> -Put 'New Papyrus Project' and 'New Papyrus Model' Wizard declarions together
> in plugin.xml

Commit r1614 with previous patch applied
Thanks!
Comment 12 Tatiana Fesenko CLA 2010-05-11 13:18:05 EDT
Created attachment 167981 [details]
Patch that initializes a model
Comment 13 Remi Schnekenburger CLA 2010-05-11 13:23:01 EDT
(In reply to comment #12)
> Created an attachment (id=167981) [details]
> Patch that initializes a model

Applied in r1615
Comment 14 Tatiana Fesenko CLA 2010-06-07 06:29:00 EDT
Fixed