Dive into Oracle ADF

Send me a mail
 Dive into Oracle ADF   Click to see the XML version of this web page.   (Updated: 2/3/2008; 9:12:41 PM.)
Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE

Search blog with Google:
 

Search BC4J JavaDoc:
 

March 2004
Sun Mon Tue Wed Thu Fri Sat
  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 31      
Feb   Apr

Get Firefox!

Friday, March 26, 2004

In JDeveloper 9.0.3.4 and 9.0.4, we added the "Move Package..." menu item on a business component in the navigator. This allowed you to move that component to a different package to refactor it (and its underlying metadata XML file accordingly).

In JDeveloper 10g we made a small, but significant, improvement whereby instead of selecting one component at a time and moving it, you can now [Ctrl]-Click to select any number of components, and then select "Move to Different Package..." to accomplish the job all in one go. Should simplify the lives of developers who have changed their mind after the fact about which packages their business components should live in.


3:58:42 PM    



 I love the new JDeveloper 10g features of organizing your application components by "Package Tree" and sorting the objects in a package by their object-type. These were both heavily-requested features from ISV's and partners using our current BC4J framework with large-sized applications. The features are not specific to the use of our frameworks, but they cover any kinds of components (classes, properties files, XML files, etc.) in a package directory. The sort-by-type button is new for the JDeveloper 10g production release, due out shortly.

The "Package Tree" mode allows you to only expand the current package you need to work with at the moment, without having each of your many packages occupying a line in the navigator. The sort-by-type button in the navigator changes from the default of sorting alphabetically to a mode where it first sorts by object type, then alphabetically within each kind of object type. This makes it much easier to visual scan package contents and find what you're looking for.

Of course, if you want to find something in the application navigator quickly, you can also give the navigator pane focus, and then start typing the first few letters of the name and it will incrementally search for it in the tree as well.

In the screen shot at the left, we see a package from the ADF Toy Store demo where we can more easily find an entity object because all of the entity objects sort together, as do all of the association objects.

In the future we may add further control to filter the tree, allowing you to say that you don't want to see certain types of components. For example, we already offer such new filtering in the database connection browser under the "Connection Navigator" in JDev 10g. It lets you filter what schemas you want to see under each connection, what kinds of database objects types to see under each schema, and optionally provide a name-match filter to restrict the schema objects under any schema object type "folder" to only those that match a particular string.


2:34:34 PM    


© Copyright 2008 Steve Muench.