diff -r eddd43c4b4ce openide.explorer/apichanges.xml --- a/openide.explorer/apichanges.xml Tue Jun 29 16:30:47 2010 +0200 +++ b/openide.explorer/apichanges.xml Tue Jun 29 23:49:43 2010 +0200 @@ -50,6 +50,21 @@ Explorer API + + + OutlineView can provide horizontal scroll bar in the tree column. + + + + + + In order to be able to provide horizontal scroll bar in the tree column, + two methods are added: getTreeHorizontalScrollBarPolicy() + and setTreeHorizontalScrollBarPolicy(). + + + + ListView can now display ".." item diff -r eddd43c4b4ce openide.explorer/manifest.mf --- a/openide.explorer/manifest.mf Tue Jun 29 16:30:47 2010 +0200 +++ b/openide.explorer/manifest.mf Tue Jun 29 23:49:43 2010 +0200 @@ -2,5 +2,5 @@ OpenIDE-Module: org.openide.explorer OpenIDE-Module-Localizing-Bundle: org/openide/explorer/Bundle.properties AutoUpdate-Essential-Module: true -OpenIDE-Module-Specification-Version: 6.29 +OpenIDE-Module-Specification-Version: 6.30 diff -r eddd43c4b4ce openide.explorer/src/org/openide/explorer/view/OutlineView.java --- a/openide.explorer/src/org/openide/explorer/view/OutlineView.java Tue Jun 29 16:30:47 2010 +0200 +++ b/openide.explorer/src/org/openide/explorer/view/OutlineView.java Tue Jun 29 23:49:43 2010 +0200 @@ -324,7 +324,39 @@ hScrollBar.getModel().addChangeListener(listener); } - void setTreeHorizontalScrollBarPolicy(int policy) { + /** + * Returns the horizontal scroll bar policy value for the tree column. + * @return the treeHorizontalScrollBarPolicy property + * @see #setTreeHorizontalScrollBarPolicy + * @since 6.30 + */ + public int getTreeHorizontalScrollBarPolicy() { + return treeHorizontalScrollBarPolicy; + } + + /** + * Determines when the horizontal scrollbar appears in the tree column. + * The options are:
    + *
  • ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED + *
  • ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER + *
  • ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS + *
+ * + * @param policy one of the three values listed above + * @exception IllegalArgumentException if policy + * is not one of the legal values shown above + * @see #getTreeHorizontalScrollBarPolicy + * @since 6.30 + * + * @beaninfo + * preferred: true + * bound: true + * description: The tree column scrollbar policy + * enum: HORIZONTAL_SCROLLBAR_AS_NEEDED ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED + * HORIZONTAL_SCROLLBAR_NEVER ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER + * HORIZONTAL_SCROLLBAR_ALWAYS ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS + */ + public void setTreeHorizontalScrollBarPolicy(int policy) { if (policy == treeHorizontalScrollBarPolicy) { return ; }