org.fcrepo.client.objecteditor
Class ObjectEditorFrame.ObjectEditorClosingListener
java.lang.Object
javax.swing.event.InternalFrameAdapter
org.fcrepo.client.objecteditor.ObjectEditorFrame.ObjectEditorClosingListener
- All Implemented Interfaces:
- EventListener, InternalFrameListener
- Enclosing class:
- ObjectEditorFrame
protected class ObjectEditorFrame.ObjectEditorClosingListener
- extends InternalFrameAdapter
Listens for closing events and checks for object and component dirtiness.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectEditorFrame.ObjectEditorClosingListener
public ObjectEditorFrame.ObjectEditorClosingListener(String pid)
internalFrameClosing
public void internalFrameClosing(InternalFrameEvent e)
- Check if any of the items being edited are dirty. If so, give the
user a chance to keep the editor open so they can save their changes.
- Specified by:
internalFrameClosing in interface InternalFrameListener- Overrides:
internalFrameClosing in class InternalFrameAdapter
Copyright © 2012 DuraSpace. All Rights Reserved.