|
|
|
@ -173,7 +173,8 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
} |
|
|
|
|
updateAllPropertyPane(); |
|
|
|
|
} |
|
|
|
|
}); } |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}, filter); |
|
|
|
|
PluginListenerRegistration.getInstance().listen( |
|
|
|
|
PluginEventType.BeforeStop, |
|
|
|
@ -328,6 +329,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
cellElement.popupDialog.showDefaultPane(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 禁用单元格元素tab
|
|
|
|
|
private void enableCellElementPane(PropertyItem cellElement) { |
|
|
|
|
cellElement.setEnabled(true); |
|
|
|
@ -385,7 +387,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 可通过此方法,判断当前的编辑模式 |
|
|
|
|
* */ |
|
|
|
|
*/ |
|
|
|
|
public PropertyMode getCurrentMode() { |
|
|
|
|
return currentMode; |
|
|
|
|
} |
|
|
|
@ -880,6 +882,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
public Dimension getPreferredSize() { |
|
|
|
|
return new Dimension(TAB_BUTTON_WIDTH, TAB_BUTTON_HEIGHT); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void paintComponent(Graphics g) { |
|
|
|
|
super.paintComponent(g); |
|
|
|
@ -1032,8 +1035,8 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @Description:刷新currentPopupPane面板位置,当设计器缩放时会调用这个函数 |
|
|
|
|
* @param |
|
|
|
|
* @Description:刷新currentPopupPane面板位置,当设计器缩放时会调用这个函数 |
|
|
|
|
* @return: |
|
|
|
|
* @Author: Henry.Wang |
|
|
|
|
* @date: 2020/7/30 11:39 |
|
|
|
@ -1048,8 +1051,8 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @Description:清空currentPopupPane数据,当切换模板时会调用这个函数 |
|
|
|
|
* @param |
|
|
|
|
* @Description:清空currentPopupPane数据,当切换模板时会调用这个函数 |
|
|
|
|
* @return: |
|
|
|
|
* @Author: Henry.Wang |
|
|
|
|
* @date: 2020/7/30 11:42 |
|
|
|
@ -1088,12 +1091,14 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
} |
|
|
|
|
repaint(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
if (e.getX() >= ARROW_RANGE_START) { |
|
|
|
|
onPop(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseReleased(MouseEvent e) { |
|
|
|
|
mouseDownCompCoords = null; |
|
|
|
@ -1101,6 +1106,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
contentPane.setBackground(originColor); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
|
if (e.getX() < ARROW_RANGE_START) { |
|
|
|
@ -1122,6 +1128,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
} |
|
|
|
|
repaint(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseDragged(MouseEvent e) { |
|
|
|
|
if (isMovable && mouseDownCompCoords != null) { |
|
|
|
@ -1234,6 +1241,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
private Container contentPane; |
|
|
|
|
private JPanel defaultPane; // 无可用配置项
|
|
|
|
|
private PropertyItem propertyItem; |
|
|
|
|
|
|
|
|
|
public PopupDialog(PropertyItem propertyItem) { |
|
|
|
|
super(DesignerContext.getDesignerFrame()); |
|
|
|
|
container = getContentPane(); |
|
|
|
@ -1336,6 +1344,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
|
|
|
|
|
mouseDownCompCoords = e.getLocationOnScreen(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void mouseReleased(MouseEvent e) { |
|
|
|
|
mouseDownCompCoords = null; |
|
|
|
|