Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 18294 - Failure to fire change in Sort Mode of root folder of layer XML
Failure to fire change in Sort Mode of root folder of layer XML
Product: apisupport
Classification: Unclassified
Component: Project
PC Linux
: P4 (vote)
: 6.x
Assigned To: Jesse Glick
Depends on:
  Show dependency treegraph
Reported: 2001-12-03 14:21 UTC by Jesse Glick
Modified: 2008-06-19 23:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2001-12-03 14:21:01 UTC
[r33 dec 03] Create an XML layer using apisupport. On its root folder
in the Explorer, set Sort Mode to e.g. By Name. You get in the layer:
    <attr name="OpenIDE-Folder-SortMode" stringvalue="N"/>
Now change the "N" to "C". The Sort Mode property in the prop sheet of
the <root folder> does not refresh. The Bean Browser shows that the
file attribute is now indeed "C". But apparently no file attribute
event was fired to cause FolderList to call changeComparator, perhaps
because the root file object is the root of a MultiFileSystem, or
perhaps this event was ignored. The apisupport has a MFS with one
delegate, a custom variant of XMLFS; when such a textual change is
made, the old delegate is removed, a fresh one from a parse created,
and setDelegates called. Note that the Template property is correctly
refreshed from a change in the XML. So either apisupport is not firing
a change correctly, MFS is not propagating it, or FolderList is not
handling it.
Comment 1 Marek Grummich 2002-07-22 08:21:21 UTC
Target milestone was changed from '3.4' to TBD.
Comment 2 Jesse Glick 2002-12-18 21:47:48 UTC
May be related to DataFolderTest failing.
Comment 3 Jesse Glick 2005-08-24 17:39:44 UTC
Have not evaluated vis-a-vis 4.2 yet.
Comment 4 Jesse Glick 2008-06-19 23:41:49 UTC
OpenIDE-Folder-SortMode is obsolete.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo