/** Allows subclasses to fire that a change occured in a * file or folder. The change can be "expected" when it is * a result of an user action and the user knows that such * change should occur. * * @param name resource name of the file where the change occured * @param expected true if the user initiated change and expects it */ protected final void refreshResource(String name, boolean expected) { AbstractFileObject fo = (AbstractFileObject) findResourceIfExists(name); if (fo != null) { // refresh and behave like the changes is expected fo.refresh(null, null, true, expected); } }
/** Allows subclasses to fire that a change occured in a * file or folder. The change can be "expected" when it is * a result of an user action and the user knows that such * change should occur. * * @param name resource name of the file where the change occured * @param expected true if the user initiated change and expects it */ protected final void refreshResource (String name, boolean expected) { AbstractFileObject fo = (AbstractFileObject)findResourceIfExists (name); if (fo != null) { // refresh and behave like the changes is expected fo.refresh (null, null, true, expected); } } /**
/** Allows subclasses to fire that a change occured in a * file or folder. The change can be "expected" when it is * a result of an user action and the user knows that such * change should occur. * * @param name resource name of the file where the change occured * @param expected true if the user initiated change and expects it */ protected final void refreshResource (String name, boolean expected) { AbstractFileObject fo = (AbstractFileObject)findResourceIfExists (name); if (fo != null) { // refresh and behave like the changes is expected fo.refresh (null, null, true, expected); } } /**