Minimizing entities in the designer surface

Posts   
 
    
NMackay
User
Posts: 138
Joined: 31-Oct-2011
# Posted on: 30-May-2012 11:16:21   

Is there anyway the designer could remember the entity is minimized when you save the model?

I ask because we mostly work with reverse engineering and some of these tables are huge (130+ columns sadly in some cases as these tables can trace their routes to AS400), I find myself minimizing these entities quite a lot for real estate even though I have a large widescreen monitor with 1680x1050 desktop. Also printing it out becomes pointless without minimising the entity.

I suggested a minimize all entities button for 3.5 (the one good feature I found in Telerik ORM stuck_out_tongue_winking_eye ) but it never made it into the release.

Was wondering if there was some property in the model file I could override manually?

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 30-May-2012 23:32:01   

Do you mean the "Entities" node in the Project Explorer? Or are you speaking of individual Entity's nodes?

NMackay
User
Posts: 138
Joined: 31-Oct-2011
# Posted on: 31-May-2012 09:41:50   

Walaa wrote:

Do you mean the "Entities" node in the Project Explorer? Or are you speaking of individual Entity's nodes?

Entities in the model view (editing a model).

Attachments
Filename File size Added on Approval
Designer.png 84,866 31-May-2012 09:42.01 Approved
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 31-May-2012 12:09:42   

When you move an entity or minimize it, and save the project, a .layout file has to be created as well, alongside your project file. Is that the case? If so, that file contains the new layouts and minimization of the entities.

When you re-open the project, that file is loaded as well and used to reposition/minimize the entities on a view. I just tried it, works OK.

So if you don't see the layout file, please try to move 1 entity and try again.

Frans Bouma | Lead developer LLBLGen Pro
NMackay
User
Posts: 138
Joined: 31-Oct-2011
# Posted on: 31-May-2012 12:21:19   

Otis wrote:

When you move an entity or minimize it, and save the project, a .layout file has to be created as well, alongside your project file. Is that the case? If so, that file contains the new layouts and minimization of the entities.

When you re-open the project, that file is loaded as well and used to reposition/minimize the entities on a view. I just tried it, works OK.

So if you don't see the layout file, please try to move 1 entity and try again.

Ahhh, see whats wrong now, TFS had marked the layout file as readonly, I just deleted that one and resaved the model and it works fine now.

Was the Collapsed attribute added in 3.5? The layout file seemed to be from 3.1.

Thats cool, does the trick very nicely smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 31-May-2012 13:37:25   

I do think collapsed state was stored in v3.1 as well...

Frans Bouma | Lead developer LLBLGen Pro