|
|
@ -3,6 +3,7 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
package com.fr.design.actions.edit; |
|
|
|
package com.fr.design.actions.edit; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.actions.TemplateComponentActionInterface; |
|
|
|
import com.fr.design.actions.TemplateComponentActionInterface; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
@ -22,7 +23,7 @@ public class UndoAction extends UpdateAction implements TemplateComponentActionI |
|
|
|
this.setMenuKeySet(KeySetUtils.UNDO); |
|
|
|
this.setMenuKeySet(KeySetUtils.UNDO); |
|
|
|
this.setName(getMenuKeySet().getMenuKeySetName()); |
|
|
|
this.setName(getMenuKeySet().getMenuKeySetName()); |
|
|
|
this.setMnemonic(getMenuKeySet().getMnemonic()); |
|
|
|
this.setMnemonic(getMenuKeySet().getMnemonic()); |
|
|
|
this.setSmallIcon("monochrome_undo"); |
|
|
|
this.setSmallIcon(new LazyIcon("monochrome_undo")); |
|
|
|
this.setAccelerator(getMenuKeySet().getKeyStroke()); |
|
|
|
this.setAccelerator(getMenuKeySet().getKeyStroke()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|