forked from fanruan/design
hades
4 years ago
8 changed files with 38 additions and 4 deletions
@ -0,0 +1,21 @@ |
|||||||
|
package com.fr.design.plugin; |
||||||
|
|
||||||
|
import com.fr.design.dialog.UIDialog; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author hades |
||||||
|
* @version 10.0 |
||||||
|
* Created by hades on 2021/3/8 |
||||||
|
*/ |
||||||
|
public class DesignerPluginContext { |
||||||
|
|
||||||
|
private static UIDialog DIALOG; |
||||||
|
|
||||||
|
public static UIDialog getPluginDialog() { |
||||||
|
return DIALOG; |
||||||
|
} |
||||||
|
|
||||||
|
public static void setPluginDialog(UIDialog pluginDialog) { |
||||||
|
DesignerPluginContext.DIALOG = pluginDialog; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue