This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
// used to distinguish _binding_ changes done in this class and outside of
the core/registry
static FileSystem.AtomicAction referenceAction = new RegistryAtomicAction
public void run() throws IOException {
}
};
private FileSystem.AtomicAction lastAtomicAction = null;
public FileSystem.AtomicAction getLastAtomicAction() {
return lastAtomicAction;
folder.getFileSystem().runAtomicAction(lastAtomicAction = new File
folder.getFileSystem().runAtomicAction(new RegistryAtomicAction ()
--
{
} finally {
// reset it to null - events should be processed now
lastAtomicAction = null;
private static abstract class RegistryAtomicAction implements FileSystem.A
public boolean equals(Object obj) {
return (obj instanceof RegistryAtomicAction);
public int hashCode() {
return RegistryAtomicAction.class.hashCode();
if(fe.firedFrom(ctx.getContextBindings().getLastAtomicAction())) {
if(fe.firedFrom(ContextBindings.referenceAction)) {