Property sheet tab ordering and propertysets within a tab have inconsistent ordering.
"mccorb" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
I figured this out. Where sheet is a Sheet...
Code:
Node.PropertySet[] sheetSets = sheet.toArray();
for(int i = 0; i < sheetSets.length; i++)
{
sheet.remove(sheetSets[i].getName());
}
As I was moving around on the the Explorer view I wasn't clearing all the nodes. It would just add new sheet.sets and populate the values on existing sheets that weren't cleared.