New View

"Sumitabh Kansal" <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Hello,
 
I am trying to create a new view in which I want to show my model stored
in XML file, now this same model I will be showing in project tree (but
it does not have source file associated with it). When this new view is
shown (which is essentially a UML diagram), I want to show corresponding
properties and documentation with that. Since these properties and
documentation views are specific for my UML diagram view, I do not want
to show it when some other view is shown.
 
I have two questions - 
 
1.	While showing my view, I am activating the window group (which
includes the documentation view), and opening it. Now the documentation
view opens up but it appears as a editor view which can be docked with
the diagram view. How do I stop it from being docked like that. I notice
that when you have a class file open in editor view, I cannot drag and
drop the explorer view onto that. Also how do I get the properties view
to show up - which could be same as the properties we see for project
tree.
 
2.	When I show my diagram view, I want to show properties for the
components on diagram in properties view. How can I get that working? I
notice that when I open form designer, I can see properties for
components on that - similarly from the inspector view, when I select
things - their properties are displayed in properties view. I can get
the selection change event on the diagram view, but how do I couple it
to the properties?
 
Thanks,
Sumitabh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.