forked from fanruan/design
MoMeak
7 years ago
23 changed files with 138 additions and 43 deletions
@ -0,0 +1,27 @@ |
|||||||
|
package com.fr.design.mainframe; |
||||||
|
|
||||||
|
import com.fr.design.gui.frpane.HyperlinkGroupPaneActionProvider; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by plough on 2017/9/4. |
||||||
|
*/ |
||||||
|
public class ReportHyperlinkGroupPaneNoPop extends ReportHyperlinkGroupPane{ |
||||||
|
private static ReportHyperlinkGroupPaneNoPop singleton; |
||||||
|
|
||||||
|
private ReportHyperlinkGroupPaneNoPop(HyperlinkGroupPaneActionProvider hyperlinkGroupPaneActionProvider) { |
||||||
|
super(hyperlinkGroupPaneActionProvider); |
||||||
|
} |
||||||
|
|
||||||
|
public static ReportHyperlinkGroupPaneNoPop getInstance(HyperlinkGroupPaneActionProvider hyperlinkGroupPaneActionProvider) { |
||||||
|
if (singleton == null) { |
||||||
|
singleton = new ReportHyperlinkGroupPaneNoPop(hyperlinkGroupPaneActionProvider); |
||||||
|
} |
||||||
|
singleton.refreshPane(); |
||||||
|
return singleton; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
protected boolean isNewStyle() { |
||||||
|
return false; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,26 @@ |
|||||||
|
package com.fr.design.gui.xpane; |
||||||
|
|
||||||
|
import com.fr.design.gui.frpane.HyperlinkGroupPaneActionProvider; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by plough on 2017/9/5. |
||||||
|
*/ |
||||||
|
public class FormHyperlinkGroupPaneNoPop extends FormHyperlinkGroupPane{ |
||||||
|
private static FormHyperlinkGroupPaneNoPop singleton; |
||||||
|
|
||||||
|
private FormHyperlinkGroupPaneNoPop(HyperlinkGroupPaneActionProvider hyperlinkGroupPaneActionProvider) { |
||||||
|
super(hyperlinkGroupPaneActionProvider); |
||||||
|
} |
||||||
|
|
||||||
|
public static FormHyperlinkGroupPaneNoPop getInstance(HyperlinkGroupPaneActionProvider hyperlinkGroupPaneActionProvider) { |
||||||
|
if (singleton == null) { |
||||||
|
singleton = new FormHyperlinkGroupPaneNoPop(hyperlinkGroupPaneActionProvider); |
||||||
|
} |
||||||
|
return singleton; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
protected boolean isNewStyle() { |
||||||
|
return false; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue