Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Create Oomph model with Index root element from Wizard
Create Oomph model with Index root element from Wizard [message #1429599] Tue, 23 September 2014 12:52 Go to next message
Axel RICHARD is currently offline Axel RICHARDFriend
Messages: 43
Registered: September 2010
Location: France
Member
Hi,

I want to create an oomph model with Index as the root element.

If I use the following wizard : File > New > Other ... > Oomph > Setup Project Model, it allows me to create three types of models:
* Simple Project
* Eclipse Project
* Github Project
Unfortunatley, all of these templates have the Project element for root.
Is it possible to add a new type of template (e.g. with name "Empty Index Project" ?) that allows to create a simple empty model with just an Index element as root of the model ?
If you're agree with that idea, I can contibute such template.

Best regards,


Axel Richard
Obeo

[Updated on: Tue, 23 September 2014 12:53]

Report message to a moderator

Re: Create Oomph model with Index root element from Wizard [message #1429633 is a reply to message #1429599] Tue, 23 September 2014 13:54 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Axel,

Comments below.

On 23/09/2014 2:52 PM, Axel RICHARD wrote:
> Hi,
>
> I want to create a oomph model with Index as the root element.
We don't actually want to see a proliferation of indexes...
>
> If I use the following wizard : File > New > Other ... > Oomph > Setup
> Project Model, it allows me to create three types of models:
> * Simple Project
> * Eclipse Project
> * Github Project
> Unfortunatley, all of these templates have the Project element for root.
Yes, it's a Setup Project wizard.
> Is it possible to add a new type of template (e.g. with name "Empty
> Index Project" ?) that allows to create a simple empty model with just
> an Index element as root of the model ?
It's meant to be extensible but we've not actually provided any
extension points for that yet.
> If you're agree with that idea, I can contibute such template.
I don't really see the point in providing wizards for index or catalog
creation. It's not a common activity and in fact we don't want it to
be a common activity. We want there to be an index with everything in
it and for people to contribute to that.

What's the point of creating an index?

In any case, it's easy enough to create any of these things by opening a
resource of that type, which you can do easily in any setup editor using
the "Show all resources" tool and then using context menu to open any of
those resources in its own editor. Then you can use Save as... to save
it anywhere and proceed from there, i.e., deleting what you don't want...
>
> Best regards,


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create Oomph model with Index root element from Wizard [message #1430562 is a reply to message #1429633] Wed, 24 September 2014 14:08 Go to previous messageGo to next message
Axel RICHARD is currently offline Axel RICHARDFriend
Messages: 43
Registered: September 2010
Location: France
Member
> What's the point of creating an index?

In our case, (see oomph headless topic https://www.eclipse.org/forums/index.php/t/782061/) we use the setup model to allow to end-users to specify the installation and workspace paths and also additional plugins to install.
With the actual wizards, it is not possible to add such tasks in the oomph model created.

>In any case, it's easy enough to create any of these things by opening a
>resource of that type, which you can do easily in any setup editor using
>the "Show all resources" tool and then using context menu to open any of
>those resources in its own editor. Then you can use Save as... to save
>it anywhere and proceed from there, i.e., deleting what you don't want...

Yes but it is not very user friendly.


Axel Richard
Obeo

[Updated on: Wed, 24 September 2014 15:33]

Report message to a moderator

Re: Create Oomph model with Index root element from Wizard [message #1430654 is a reply to message #1430562] Wed, 24 September 2014 16:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
Axel,

Comments below.

On 24/09/2014 4:08 PM, Axel RICHARD wrote:
>> What's the point of creating an index?
>
> In our case, (see oomph headless topic
> https://www.eclipse.org/forums/index.php/t/782061/) we use the setup
> model to allow to end-users to specify the installation and workspace
> paths and also additional plugins to install.
Such tasks could be define anywhere that's visible to the task gathering
process... I.e., in the index, the product catalog, the project
catalog, the project setup, the installation.setup, the
workspace.setup, or the user.setup... Wouldn't any of those places be
suitable. I imagine you must be synthesizing something to drive the
process, e.g., the installation.setup and the workspace.setup, so those
would be suitable places to inject p2 tasks...

If I understand better what you're automatically creating I can better
suggest where you might add things...

> With the actual wizards, it is not possible to add such tasks in the
> oomph model created.
>
>> In any case, it's easy enough to create any of these things by
>> opening a resource of that type, which you can do easily in any setup
>> editor using the "Show all resources" tool and then using context
>> menu to open any of those resources in its own editor. Then you can
>> use Save as... to save it anywhere and proceed from there, i.e.,
>> deleting what you don't want...
>
> Yes but is not very user friendly.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Targlet configuration
Next Topic:Cloning git , importing and connecting to egit
Goto Forum:
  


Current Time: Thu Sep 26 10:13:05 GMT 2024

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

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

Back to the top