forked from fanruan/design
kerry
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