|
|
@ -36,6 +36,7 @@ import com.fr.io.utils.ResourceIOUtils; |
|
|
|
import com.fr.stable.CoreConstants; |
|
|
|
import com.fr.stable.CoreConstants; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
|
|
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.event.DocumentEvent; |
|
|
|
import javax.swing.event.DocumentEvent; |
|
|
@ -149,7 +150,9 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt |
|
|
|
|
|
|
|
|
|
|
|
ToolBarDef toolbarDef = new ToolBarDef(); |
|
|
|
ToolBarDef toolbarDef = new ToolBarDef(); |
|
|
|
toolbarDef.addShortCut(openReportAction, refreshTreeAction); |
|
|
|
toolbarDef.addShortCut(openReportAction, refreshTreeAction); |
|
|
|
toolbarDef.addShortCut(openFolderAction, renameAction); |
|
|
|
if (WorkContext.getCurrent().isLocal()) { |
|
|
|
|
|
|
|
toolbarDef.addShortCut(openFolderAction, renameAction); |
|
|
|
|
|
|
|
} |
|
|
|
toolbarDef.addShortCut(delFileAction); |
|
|
|
toolbarDef.addShortCut(delFileAction); |
|
|
|
Set<ShortCut> extraShortCuts = ExtraDesignClassManager.getInstance().getExtraShortCuts(); |
|
|
|
Set<ShortCut> extraShortCuts = ExtraDesignClassManager.getInstance().getExtraShortCuts(); |
|
|
|
for (ShortCut shortCut : extraShortCuts) { |
|
|
|
for (ShortCut shortCut : extraShortCuts) { |
|
|
@ -158,6 +161,7 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt |
|
|
|
|
|
|
|
|
|
|
|
toolbarDef.updateToolBar(toolBar); |
|
|
|
toolbarDef.updateToolBar(toolBar); |
|
|
|
refreshActions(); |
|
|
|
refreshActions(); |
|
|
|
|
|
|
|
refresh(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|