|
|
|
@ -2,6 +2,8 @@ package com.fr.design.mainframe;
|
|
|
|
|
|
|
|
|
|
import com.fr.design.DesignState; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
|
import com.fr.design.fun.TitlePlaceProcessor; |
|
|
|
|
import com.fr.design.gui.imenu.UIMenuHighLight; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.mainframe.loghandler.LogMessageBar; |
|
|
|
@ -23,6 +25,7 @@ import javax.swing.JMenuBar;
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.SwingUtilities; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Component; |
|
|
|
|
import java.awt.FlowLayout; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -140,6 +143,17 @@ public class NorthRegionContainerPane extends JPanel {
|
|
|
|
|
northEastPane.removeAll(); |
|
|
|
|
northEastPane.setLayout(new FlowLayout(FlowLayout.RIGHT, 0, 0)); |
|
|
|
|
northEastPane.add(LogMessageBar.getInstance()); |
|
|
|
|
TitlePlaceProcessor processor = ExtraDesignClassManager.getInstance().getSingle(TitlePlaceProcessor.MARK_STRING); |
|
|
|
|
if (processor != null) { |
|
|
|
|
final Component[] bbsLoginPane = {null}; |
|
|
|
|
OSSupportCenter.buildAction(new OSBasedAction() { |
|
|
|
|
@Override |
|
|
|
|
public void execute(Object... objects) { |
|
|
|
|
bbsLoginPane[0] = ad.createBBSLoginPane(); |
|
|
|
|
} |
|
|
|
|
}, SupportOSImpl. BBS_USER_LOGIN_PANE); |
|
|
|
|
processor.hold(northEastPane, LogMessageBar.getInstance(), bbsLoginPane[0]); |
|
|
|
|
} |
|
|
|
|
northEastPane.add(ad.createAlphaFinePane()); |
|
|
|
|
if (!DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isEnabled()) { |
|
|
|
|
ad.createAlphaFinePane().setVisible(false); |
|
|
|
|