|
|
@ -24,15 +24,9 @@ public class ChartPropertyPane extends BaseChartPropertyPane { |
|
|
|
* 创建图表属性表实例. |
|
|
|
* 创建图表属性表实例. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private synchronized static ChartPropertyPane getInstance() { |
|
|
|
private synchronized static ChartPropertyPane getInstance() { |
|
|
|
//创建新图表时,创建属性表配置面板
|
|
|
|
return new ChartPropertyPane(); |
|
|
|
if (singleton == null) { |
|
|
|
|
|
|
|
singleton = new ChartPropertyPane(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return singleton; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private static ChartPropertyPane singleton; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected TargetComponentContainer container = new TargetComponentContainer(); |
|
|
|
protected TargetComponentContainer container = new TargetComponentContainer(); |
|
|
|
|
|
|
|
|
|
|
|
protected ChartEditPane chartEditPane; |
|
|
|
protected ChartEditPane chartEditPane; |
|
|
@ -160,8 +154,4 @@ public class ChartPropertyPane extends BaseChartPropertyPane { |
|
|
|
chartEditPane.setSupportCellData(supportCellData); |
|
|
|
chartEditPane.setSupportCellData(supportCellData); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public synchronized static void clear() { |
|
|
|
|
|
|
|
singleton = null; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |