New Project wizard - create own project type

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

New Project wizard - create own project type

Postby Petar Blagoev » Sun Feb 25, 2007 2:49 pm

Hello,
I'd like to integrate a product developed at my university, like a
MagicDraw plugin. I started to discover the OpenApi/Examples, but
didn't found any examples how to add/create an own project "profile".
When clicking on "New Project" button, a pop-up window is shown,
where one can select three kinds of preconfigured "profiles" (Blank
Project, Project from Existing source code, Project from template). I
would like to put a fourth one, named with my product name and
opening all necessary views and menus, when clicking on it. Is this
possible, which actions and managers I should use?
Thanks a lot!
Regards,
petar
Petar Blagoev
 
Posts Rating:

Re: New Project wizard - create own project type

Postby marlel » Mon Feb 26, 2007 4:06 am

Hello Petar,

Currently it is not possible to add custom configuration to "New Project"
dialog, but we will consider to make this available through OpenAPI.
You can create your template (export it "File->Export->Template...") and
later create project using this template (select "Project from Template" in
"New Project" dlg and select exported template).
For menus configuration please look at OpenAPI samples (e.g <MD
install>openapiexamplessimpleconfigurators)

Regards,
--
Martynas Lelevicius
Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363, LT-49425, Kaunas
P.O. box 2166, LT-44011, Kaunas
Phone: +370 37 324032 Fax: +370 37 320670
E-mail : marte
WWW: http://www.magicdraw.com

----- Original Message -----
From: "nntp://news.nomagic.com/nomagic.products.magicdrawuml.openapi"
<blagoev>
To: "Martynas Lelevicius" <marlel>
Sent: Monday, February 26, 2007 1:30 PM
Subject: New Project wizard - create own project type


> Hello,
> I'd like to integrate a product developed at my university, like a
> MagicDraw plugin. I started to discover the OpenApi/Examples, but
> didn't found any examples how to add/create an own project "profile".
> When clicking on "New Project" button, a pop-up window is shown,
> where one can select three kinds of preconfigured "profiles" (Blank
> Project, Project from Existing source code, Project from template). I
> would like to put a fourth one, named with my product name and
> opening all necessary views and menus, when clicking on it. Is this
> possible, which actions and managers I should use?
> Thanks a lot!
> Regards,
> petar
>

marlel
No Magic
No Magic
 
Posts: 383
Posts Rating:29
Joined: Wed Jul 11, 2012 2:31 am


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests