XiaXiang
8 years ago
12 changed files with 60 additions and 15 deletions
@ -1,4 +1,4 @@
|
||||
package com.fr.design.actions.help.AlphaFine; |
||||
package com.fr.design.actions.help.alphafine; |
||||
|
||||
import com.fr.stable.OperatingSystem; |
||||
import com.fr.stable.StringUtils; |
@ -1,4 +1,4 @@
|
||||
package com.fr.design.actions.help.AlphaFine; |
||||
package com.fr.design.actions.help.alphafine; |
||||
|
||||
import com.fr.design.DesignerEnvManager; |
||||
import com.fr.design.dialog.BasicPane; |
@ -0,0 +1,29 @@
|
||||
package com.fr.design.actions.help.alphafine; |
||||
|
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* Created by XiaXiang on 2017/5/27. |
||||
*/ |
||||
public class AlphafineContext { |
||||
private static List<AlphafineListener> fireLoginContextListener = new ArrayList<AlphafineListener>(); |
||||
|
||||
/** |
||||
* 触发AlphaFine弹窗 |
||||
*/ |
||||
public static void fireAlphaFineContextListener() { |
||||
for (AlphafineListener l : fireLoginContextListener) { |
||||
l.showDialog(); |
||||
} |
||||
} |
||||
|
||||
/** |
||||
* 添加一个弹出AlphaFine的监听事件 |
||||
* |
||||
* @param l AlphaFine框弹出监听事件 |
||||
*/ |
||||
public static void addAlphafineContextListener(AlphafineListener l) { |
||||
fireLoginContextListener.add(l); |
||||
} |
||||
} |
@ -0,0 +1,8 @@
|
||||
package com.fr.design.actions.help.alphafine; |
||||
|
||||
/** |
||||
* Created by XiaXiang on 2017/5/27. |
||||
*/ |
||||
public interface AlphafineListener { |
||||
void showDialog(); |
||||
} |
@ -1,12 +1,10 @@
|
||||
package com.fr.design.actions.help.AlphaFine; |
||||
package com.fr.design.actions.help.alphafine; |
||||
|
||||
import com.fr.design.DesignerEnvManager; |
||||
import com.fr.design.dialog.BasicDialog; |
||||
import com.fr.design.dialog.UIDialog; |
||||
import com.fr.design.utils.gui.GUICoreUtils; |
||||
|
||||
import java.awt.*; |
||||
import java.awt.event.*; |
||||
|
||||
/** |
||||
* Created by XiaXiang on 2017/5/26. |
Loading…
Reference in new issue