|
|
@ -54,6 +54,7 @@ import com.fr.design.mainframe.toolbar.VcsScene; |
|
|
|
import com.fr.design.menu.MenuDef; |
|
|
|
import com.fr.design.menu.MenuDef; |
|
|
|
import com.fr.design.menu.NameSeparator; |
|
|
|
import com.fr.design.menu.NameSeparator; |
|
|
|
import com.fr.design.menu.ShortCut; |
|
|
|
import com.fr.design.menu.ShortCut; |
|
|
|
|
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
import com.fr.design.preview.PagePreview; |
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
@ -1109,6 +1110,10 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>> |
|
|
|
tplMenu.addShortCut(shortCuts4Authority()); |
|
|
|
tplMenu.addShortCut(shortCuts4Authority()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//查找替换
|
|
|
|
|
|
|
|
tplMenu.addShortCut(new NameSeparator(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Replace_Name_Separate"))); |
|
|
|
|
|
|
|
tplMenu.addShortCut((ShortCut) DesignModuleFactory.getITReplaceAction()); |
|
|
|
|
|
|
|
|
|
|
|
return new MenuDef[]{tplMenu}; |
|
|
|
return new MenuDef[]{tplMenu}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|