Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

8.3. Editing

When the Properties page displays the content in a tree, it is important to edit the content without having to switch to the Source page (see Section 14.2.4, Marker resolution—quick fix, on page 556 for an example of manipulating the content in an existing text editor).

8.3.1. Cell editors

Similar to the createInlineEditor method (Section 7.3.9, Inline editing, on page 333), create a new initTreeEditors() method, which is called from createPages(). This method initializes two TreeViewerColumn instances responsible for managing the cell editor in the key and value columns respectively:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial