Model Notes

Posts   
 
   
 
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 19-Oct-2011 13:44:37   

Hi guys,

Can I request that a notes field be added Entities etc that can viewed when they are hovered over.

Cheers

Pete

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39761
Joined: 17-Aug-2003
# Posted on: 20-Oct-2011 10:56:38   

Each field has a description 'field' (most right column in the field editor). Each field also has custom properties (name-value pairs, filled with values from the schema, if present).

Where exactly do you want to see the values when hovering and which values?

Frans Bouma | Lead developer LLBLGen Pro
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 21-Oct-2011 14:48:40   

I do have a specific use-case in mind.

When I'm setting the cascade-mappings etc for nhibernate it would be useful to store a note to flag it as "being done".

If I hover over the entity in the browser I would like this 'note' to open in a hover window so I don't have to open the entity to see it.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39761
Joined: 17-Aug-2003
# Posted on: 24-Oct-2011 10:25:02   

lad4bear wrote:

I do have a specific use-case in mind.

When I'm setting the cascade-mappings etc for nhibernate it would be useful to store a note to flag it as "being done".

If I hover over the entity in the browser I would like this 'note' to open in a hover window so I don't have to open the entity to see it.

You do know that you can set these settings in bulk at the project level? You can also see which ones don't have a specific setting set to a given value by using the element search feature.

Anyway, hovering over a field in the project explorer IMHO should actually show info about the field and eventually it's mappings but notes... I don't see really how this is useful for more people.

Frans Bouma | Lead developer LLBLGen Pro
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 24-Oct-2011 12:04:24   

You do know that you can set these settings in bulk at the project level? You can also see which ones don't have a specific setting set to a given value by using the element search feature.

I do know you can set these globally. I didn't know about the element search feature so I'll look into this. Thanks for the info.

Anyway, hovering over a field in the project explorer IMHO should actually show info about the field and eventually it's mappings

I agree, but I was asking about entities, when I hover over an entity I don't see any info. Do you see entities and fields as being synonymous?

notes... I don't see really how this is useful for more people.

Tracking changes to nhibernate relationships was a very specific use-case that I would find useful but there is a wider case for adding metadata to the model. We might want to store info about a field (i.e, maps to an enumeration), or a list of business rules that apply to an entity, or a list of use-cases an entity is involved in, or the name of a domain expert etc. Anything that affects / influences the design of the model really. A notes field on each model node would give us the flexibility to add whatever info we like to the model and it wouldn't require a lot of work on your part either.

Anyway, just an idea.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39761
Joined: 17-Aug-2003
# Posted on: 25-Oct-2011 09:46:03   

You can add info to the model, both in description fields and in custom properties (which you can use in the code generator as well). You can also easily add your own settings to the project (see SDK, how to create framework settings files) which you can use to add additional information to the model, and again use in custom templates if you want to.

I just don't see why that all have to pop up in tooltips.

Frans Bouma | Lead developer LLBLGen Pro
Anonymous
User
Posts: 0
Joined: 11-Nov-2006
# Posted on: 25-Oct-2011 12:32:57   

I'll use custom properties as suggested. The popup was simply for speed of access.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39761
Joined: 17-Aug-2003
# Posted on: 26-Oct-2011 10:35:43   

lad4bear wrote:

I'll use custom properties as suggested. The popup was simply for speed of access.

Yes, editing fields etc. in bulk is sometimes not that efficient. We have plans to make this easier.

Frans Bouma | Lead developer LLBLGen Pro