com.tensegrity.palowebviewer.modules.ui.client
Class AbstractEditorListener

java.lang.Object
  extended by com.tensegrity.palowebviewer.modules.ui.client.AbstractEditorListener
All Implemented Interfaces:
IEditorListener

public class AbstractEditorListener
extends java.lang.Object
implements IEditorListener

Default (empty) implementation for methods of IEditorListener.


Constructor Summary
AbstractEditorListener()
           
 
Method Summary
 void onModified(IXObjectEditor editor)
          This method will be invoked if some unsaved changed were made to the XObject.
 void onObjectRenamed(IXObjectEditor editor)
          This method will be invoked if XObject has been renamed
 void onSourceChanged(IXObjectEditor editor)
          This method will be invoked if XObject has been changed some way
 void onUnmodified(IXObjectEditor editor)
          This method will be invoked if changed were saved or undone.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEditorListener

public AbstractEditorListener()
Method Detail

onModified

public void onModified(IXObjectEditor editor)
Description copied from interface: IEditorListener
This method will be invoked if some unsaved changed were made to the XObject.

Specified by:
onModified in interface IEditorListener
Parameters:
editor - - the source of the event;

onSourceChanged

public void onSourceChanged(IXObjectEditor editor)
Description copied from interface: IEditorListener
This method will be invoked if XObject has been changed some way

Specified by:
onSourceChanged in interface IEditorListener
Parameters:
editor - - the source of the event;

onUnmodified

public void onUnmodified(IXObjectEditor editor)
Description copied from interface: IEditorListener
This method will be invoked if changed were saved or undone.

Specified by:
onUnmodified in interface IEditorListener
Parameters:
editor - - the source of the event;

onObjectRenamed

public void onObjectRenamed(IXObjectEditor editor)
Description copied from interface: IEditorListener
This method will be invoked if XObject has been renamed

Specified by:
onObjectRenamed in interface IEditorListener
Parameters:
editor - - the source of the event;