NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

[platform-dev] Saving and recalling window/mode layouts?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Maehem



Joined: 02 Jul 2009
Posts: 28
Location: Las Vegas, NV

PostPosted: Wed Nov 21, 2012 11:15 pm    Post subject: [platform-dev] Saving and recalling window/mode layouts? Reply with quote

I have a feature request for our app where the user would be able to
reconfigure the TopComponents, sliding them wherever they want. Right
now NetBeans does that and remembers the window configuration from the
previous run. But what we want to do is let the user Save the current
window layout, give it a name, and be able to recall it from a list of
saved layouts.

The barrier I see at the moment is that when the user starts sliding
windows around, new "Anonymous" modes are created. But the API does not
allow us to programatically create new modes. It seems that Modes must
be pre-defined in the layer.xml at build time.

We've been able to create pre-defined layouts that we can load as
needed. But how might we capture a user configured layout and bring it
back on demand?


Any ideas or pointers?

Mark
Back to top
lucy albert



Joined: 05 Feb 2017
Posts: 1

PostPosted: Sun Feb 05, 2017 8:05 am    Post subject: Reply with quote

No further update?

panniculectomy
hyperthymesia
dorsalgia
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo