001/**
002 * 
003 */
004package icy.undo;
005
006import icy.resource.icon.IcyIcon;
007
008import javax.swing.undo.UndoableEdit;
009
010/**
011 * Icy {@link UndoableEdit} interface
012 * 
013 * @author Stephane
014 */
015public interface IcyUndoableEdit extends UndoableEdit
016{
017    /**
018     * Retrieve source of this edit
019     */
020    public Object getSource();
021
022    /**
023     * @return the icon
024     */
025    public IcyIcon getIcon();
026
027    /**
028     * @return <code>true</code> if this edit can be merged with a compatible edit
029     */
030    public boolean isMergeable();
031}