Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » Creating projects programmatically (how to use API)
Creating projects programmatically (how to use API) [message #506365] Thu, 07 January 2010 10:23
No real name is currently offline No real nameFriend
Messages: 4
Registered: November 2009
Junior Member

I'm trying to create a project wihtin the EPF composer programmatically, i.e. i want to create a new Methob Library, then create some activities, and basically build a whole process, but not using the composer itself, but parsing these infos from a file and then create the stuff programmatically.

I see there are classes for these thing in the API, but i really don't know where to start.

Let's say i want to create a new project in the EPF composer. My code is launched by a plugin wihtin the composer. So say i select some file in my plugin and then read it out and want to create some stuff in the composer.

How can i get the EPF composer instance and create a new project programmatically?
in the API i found the class MethodLibraryProject with the static method createProject. But this method wants a path to a method library. So i first have to create one and then somehow get a path out of it?!

It's just that can't find any examples/tutorials/whatsoever.

I would appreciate help very much!

[Updated on: Thu, 07 January 2010 13:27]

Report message to a moderator

Previous Topic:Import XPDL into EPF Composer (aka how to write a plugin)
Next Topic:Creating projects programmatically (how to use API)
Goto Forum:

Current Time: Mon Jun 25 06:15:29 GMT 2018

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

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

Back to the top