|
|
|
@ -31,6 +31,10 @@ import java.lang.reflect.Constructor;
|
|
|
|
|
public class WidgetEventPane extends UIListGroupControlPane { |
|
|
|
|
private static final Selection NO_SELECTION = new CellSelection(-1, -1, -1, -1); |
|
|
|
|
|
|
|
|
|
private static final int WIDGET_BTN_GAP = 10; |
|
|
|
|
|
|
|
|
|
private static final int WIDGET_PANE_BTN_GAP = 4; |
|
|
|
|
|
|
|
|
|
private Selection selection = NO_SELECTION; |
|
|
|
|
|
|
|
|
|
private ElementCasePane object; |
|
|
|
@ -108,9 +112,9 @@ public class WidgetEventPane extends UIListGroupControlPane {
|
|
|
|
|
@Override |
|
|
|
|
public int getVerticalGap() { |
|
|
|
|
if (getContentDBManiPane().get(0) instanceof SmartInsertDBManipulationInWidgetEventPane) { |
|
|
|
|
return 10; |
|
|
|
|
return WIDGET_BTN_GAP; |
|
|
|
|
} else { |
|
|
|
|
return 4; |
|
|
|
|
return WIDGET_PANE_BTN_GAP; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|