Auto prefill Derived model when only one exists

Posts   
 
    
Puser
User
Posts: 228
Joined: 20-Sep-2012
# Posted on: 01-Feb-2018 11:08:53   

Hi,

When adding an entity to a derived model it would be nice if the Derived Model would be prefilled with an existing Derived Model, only when one exists. You would then still be able to add a new one by entering a new model name, but it would save two operations when it is the same.

kind regards!

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 01-Feb-2018 18:43:36   

If you want to add an entity to an existing derived mode, you can right-click the derived model and select "New Derived Element", then you will only need to enter the element name and pick the root entity.

So it's either pick the derived entity then select the entity, or pick the entity then select or name the derived model.

Puser
User
Posts: 228
Joined: 20-Sep-2012
# Posted on: 02-Feb-2018 10:14:57   

You miss the point. of course you can go the other way around, not only you have to enter the whole name, but you have to choose from the list which can be large. Point is, you can make a possible usability optimalization, when there is only one option, pre select it. Just a suggestion to make things easier.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 02-Feb-2018 10:45:09   

I get what you mean, tho it can then be confusing when you want to add it to a new one: the name is already pre-filled, the type of the model is greyed out (as it's already set for the existing model), and it's not entirely obvious to simply specify a different name for a new model. the current dialog offers both: you type a new name if you want a new model, or select the existing one (type the first character will do, followed by Enter).

Solving the confusion would then require a 'new' button which is redundant too.

So it's a mixed bag: a change as you suggest is helpful, but not helpful for a different situation... we'll think about it though.

Frans Bouma | Lead developer LLBLGen Pro
Puser
User
Posts: 228
Joined: 20-Sep-2012
# Posted on: 02-Feb-2018 11:11:41   

Nice!

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 12-Feb-2018 10:50:40   

Implemented in v5.4

Frans Bouma | Lead developer LLBLGen Pro
Puser
User
Posts: 228
Joined: 20-Sep-2012
# Posted on: 12-Feb-2018 10:56:33   

smile