Working With MultiView Windows

I have recently been working with the Multiview windows. A multiview provides the tab capability where each tab is a separate component. This is similar to a JTabbedPane. I am going to describe a few things which were subtle. This is the first tip. \* How do you get that little \* to show up when the editor is dirty. This is done for you if you have a SaveCookie in the set of activatedNode. If you are using your DataNode as the activated node, then this will be handled for you. This is useful for more complex editors which have a variety of selected nodes. Remember the activated node controls the property sheet as well. The easiest way to do this is to attach a listener to the NodeDelegate and update the title of the multiview if the cookieset changes.
Comments:

Post a Comment:
Comments are closed for this entry.
About

cwebster

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today