Browse Source

代码质量

master
XiaXiang 7 years ago
parent
commit
f79dc54891
  1. 2
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFinePane.java
  2. 2
      designer/src/com/fr/start/Designer.java
  3. 2
      designer_base/src/com/fr/design/mainframe/DesignerFrame.java
  4. 2
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

2
designer/src/com/fr/design/mainframe/alphafine/component/AlphaFinePane.java

@ -23,7 +23,7 @@ public class AlphaFinePane extends BasicPane {
private static AlphaFinePane alphaFinePane;
public AlphaFinePane() {
setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 14));
setLayout(new BorderLayout());
if (DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isEnabled()) {
Toolkit.getDefaultToolkit().addAWTEventListener(AlphaFineDialog.listener(), AWTEvent.KEY_EVENT_MASK);
}

2
designer/src/com/fr/start/Designer.java

@ -352,7 +352,7 @@ public class Designer extends BaseDesigner {
*
* @return 面板组件
*/
public Component createAlphafinePane() {
public Component createAlphaFinePane() {
return AlphaFinePane.getAlphaFinePane();
}

2
designer_base/src/com/fr/design/mainframe/DesignerFrame.java

@ -340,7 +340,7 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
}
processor.hold(northEastPane, LogMessageBar.getInstance(), ad.createBBSLoginPane());
if (AlphaFineConfigManager.isALPHALicAvailable() && DesignerEnvManager.getEnvManager().getAlphaFineConfigManager().isEnabled()) {
northEastPane.add(ad.createAlphafinePane(), BorderLayout.CENTER);
northEastPane.add(ad.createAlphaFinePane(), BorderLayout.CENTER);
}
}

2
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -384,7 +384,7 @@ public abstract class ToolBarMenuDock {
return new UILabel();
}
public Component createAlphafinePane() {
public Component createAlphaFinePane() {
return new UILabel();
}

Loading…
Cancel
Save