forked from fanruan/design
Browse Source
* commit '5a817a7833dddc8c8f7e732ed4bcb2f3fa020637': REPORT-3734 [9.0一轮回归]设计器控件管理打不开master
superman
7 years ago
10 changed files with 112 additions and 29 deletions
@ -0,0 +1,25 @@ |
|||||||
|
package com.fr.design.widget; |
||||||
|
|
||||||
|
import com.fr.design.mainframe.ElementCasePane; |
||||||
|
|
||||||
|
import java.awt.*; |
||||||
|
|
||||||
|
/** |
||||||
|
* 没有悬浮弹窗的控件事件编辑面板 |
||||||
|
* Created by plough on 2017/8/28. |
||||||
|
*/ |
||||||
|
public class WidgetEventPaneNoPop extends WidgetEventPane { |
||||||
|
public WidgetEventPaneNoPop(ElementCasePane ePane) { |
||||||
|
super(ePane); |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
protected boolean isNewStyle() { |
||||||
|
return false; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
protected void popupEditDialog(Point mousePos) { |
||||||
|
// no pop, do nothing
|
||||||
|
} |
||||||
|
} |
@ -0,0 +1,17 @@ |
|||||||
|
package com.fr.design.widget; |
||||||
|
|
||||||
|
import com.fr.design.mainframe.ElementCasePane; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by kerry on 2017/8/29. |
||||||
|
*/ |
||||||
|
public class WidgetManageCardPane extends CellWidgetCardPane{ |
||||||
|
|
||||||
|
public WidgetManageCardPane(ElementCasePane pane) { |
||||||
|
super(pane); |
||||||
|
} |
||||||
|
|
||||||
|
protected WidgetEventPane initWidgetEventPane(ElementCasePane pane){ |
||||||
|
return new WidgetEventPaneNoPop(pane); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue