|
|
@ -29,6 +29,7 @@ import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.imenu.UIMenuHighLight; |
|
|
|
import com.fr.design.gui.imenu.UIMenuHighLight; |
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
import com.fr.design.gui.itoolbar.UIToolbar; |
|
|
|
import com.fr.design.gui.itoolbar.UIToolbar; |
|
|
|
|
|
|
|
import com.fr.design.gui.itree.filetree.TemplateFileTree; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
@ -463,7 +464,7 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt |
|
|
|
// 交换层级
|
|
|
|
// 交换层级
|
|
|
|
searchToolbarPane.switchPane(TemplateTreeSearchToolbarPane.SEARCH_PANE); |
|
|
|
searchToolbarPane.switchPane(TemplateTreeSearchToolbarPane.SEARCH_PANE); |
|
|
|
refreshRightToolBarByContentPaneType(); |
|
|
|
refreshRightToolBarByContentPaneType(); |
|
|
|
TemplateTreePane.getInstance().refreshDockingView(); |
|
|
|
// 这边没啥必要再刷新TemplateTreePane了,正常是改变Env需要重新加载目录树才刷新的,搜索直接搜原来的
|
|
|
|
TemplateTreeSearchManager.getInstance().switchToSearch(TemplateTreePane.getInstance().getTemplateFileTree()); |
|
|
|
TemplateTreeSearchManager.getInstance().switchToSearch(TemplateTreePane.getInstance().getTemplateFileTree()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -844,4 +845,12 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public TemplateFileTree getTemplateTreePane() { |
|
|
|
|
|
|
|
if (selectedOperation instanceof TemplateTreePane) { |
|
|
|
|
|
|
|
return ((TemplateTreePane) selectedOperation).getTemplateFileTree(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return new TemplateFileTree(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|