mirror of https://gitee.com/makejava/EasyCode.git
针对23.1修复图标丢失BUG
This commit is contained in:
parent
eb59fa93a2
commit
541171592b
|
@ -61,7 +61,6 @@
|
|||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<icon value="actions/intentionBulb.png"/>
|
||||
<text value=""/>
|
||||
</properties>
|
||||
</component>
|
||||
|
@ -91,12 +90,11 @@
|
|||
</constraints>
|
||||
<properties/>
|
||||
</component>
|
||||
<component id="b4580" class="javax.swing.JLabel">
|
||||
<component id="b4580" class="javax.swing.JLabel" binding="authorTitle">
|
||||
<constraints>
|
||||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<icon value="actions/intentionBulb.png"/>
|
||||
<text value=""/>
|
||||
<toolTipText value="用于指定生成的Java文件中的作者名称"/>
|
||||
</properties>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.sjhy.plugin.ui;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.openapi.options.Configurable;
|
||||
import com.intellij.openapi.options.ConfigurationException;
|
||||
import com.sjhy.plugin.dict.GlobalDict;
|
||||
|
@ -37,6 +38,7 @@ public class MainSettingForm implements Configurable, Configurable.Composite, Ba
|
|||
private JTextField authorEditor;
|
||||
private JLabel userSecureLabel;
|
||||
private JLabel userSecureTitle;
|
||||
private JLabel authorTitle;
|
||||
|
||||
/**
|
||||
* 子配置
|
||||
|
@ -87,7 +89,7 @@ public class MainSettingForm implements Configurable, Configurable.Composite, Ba
|
|||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Configurable[] getConfigurables() {
|
||||
public Configurable @NotNull [] getConfigurables() {
|
||||
this.childConfigurableArray = new Configurable[]{
|
||||
new TypeMapperSettingForm(),
|
||||
new TemplateSettingForm(),
|
||||
|
@ -115,6 +117,9 @@ public class MainSettingForm implements Configurable, Configurable.Composite, Ba
|
|||
this.userSecureEditor.setVisible(false);
|
||||
this.userSecureTitle.setVisible(false);
|
||||
this.userSecureLabel.setVisible(false);
|
||||
// 初始图标
|
||||
this.authorTitle.setIcon(AllIcons.Actions.IntentionBulb);
|
||||
this.userSecureTitle.setIcon(AllIcons.Actions.IntentionBulb);
|
||||
// 加载储存数据
|
||||
this.loadSettingsStore();
|
||||
// 初始化事件
|
||||
|
|
Loading…
Reference in New Issue