The default RDS Region: The plugin works starting with APEX version 4.0.2 (plugin developed in 4.0.2.00.08). The function IS_COMPONENT_USED is not available in prior versions.
New updated version is working now with the XE 10g edition
The RDS Plugin:

Hide/Show 1. RDS Customizable - simple regions - Instructions

Two simple RDS regions (col 1 and 2)

The left region is without "Show All" - label. In the right region it is replaced by "Show Both" and put in last position.
Detailed instructions are below.

column 1

In the regions going into the RDS Report Attributes
  • Set Region Display Selector to "Yes"
  • Set Region Attributes to a class name (the same for regions going into a particular RDS)
    In this example in regions "one", "two" and "three":
    class="left"
In the RDS plugin Plugin Attributes
  • Create a new region type of Plug-in and choose RDS Customizable
  • Set Region Grouping Class Name to the class of the regions, here:
    "left"
  • Change the second parameter: Display "Show All" to: "No"

column 2 Plugin Attributes

  • Proceed like above but change class name (in the example I've just chosen "right" but it can be anything of course)
  • Set the first parameter to the class name of your choice (here:
    "right"
    )
  • Set the second parameter, this time to
    "Yes"
  • Change label to
    "Show Both"
    or whatever you wish
  • Leave the rest of the parameters unchanged

Hide/Show 2. RDS Customizable - nested regions - Instructions

Two nested RDS regions (with "Show All" images*)

parent

The parent is the plugin with settings like below Report Attributes
The image in the last tab ("Show All") is set through css attribute of the label
  • Proceed like above
  • Region Grouping Class Name:
    your-class-name
  • Display "Show All":
    "Yes"
  • Label of "Show All": leave unchanged
  • Escape "Show All": leave unchanged (
    "No"
    )
  • Css Attribute of "Show All":
    class="ui-icon ui-icon-folder-collapsed"
  • Position of "Show All": set as you wish (here:
    "Last"
    )

child(ren)

The child(ren) regions are also RDS plug-ins with Region Display Selector set to "Yes" and Region Attributes to class name of the parent RDS Plugin Attributes
The image here is the "real" one - the img tag
Plugin Attributes
  • Region Grouping Class Name:
    your-class-name
  • Display "Show All":
    "Yes"
  • Label of "Show All":
    <img src="#WORKSPACE_IMAGES#view-all.png" alt="Show All" />
  • Escape "Show All": set to
    "Yes"
    - important
  • Css Attribute of "Show All": leave empty
  • Position of "Show All": set as you wish
* Displaying images in the regions' tabs has nothing to do with the plug-in. In order to have images displayed, replace title with an image tag or, as in this case, I used jQuery images which are already implemented in the APEX. Example for the first tab:
<span class="ui-icon ui-icon-image" title="Images"></span>

Landscapes

Animals

Movies
Scripts
Credits:
  1. Many thanks to Martin who helped me solve the problem of the conditional displaying of reports. I hope he will publish a blog post about it soon. Until then just visit his blog. It's definitely worth it.
  2. I also owe huge credit to Jose Murillo for his thorough testing of version 1.1 of the plugin.
  3. The tooltips in this application is a plugin itself - by Guido Zeelen. I love it and use it a lot.
  4. The nice download image (bottom right of the page) is from icon finder.