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 05:23
No real name is currently offline No real name
Messages: 4
Registered: November 2009
Junior Member
Hi,

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!
thanks

[Updated on: Thu, 07 January 2010 08: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: Thu Aug 28 07:16:53 EDT 2014

Powered by FUDForum. Page generated in 0.13251 seconds