|
|
@ -1325,7 +1325,7 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar |
|
|
|
* @return 返回正在编辑的状态. |
|
|
|
* @return 返回正在编辑的状态. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public EditingState createEditingState() { |
|
|
|
public EditingState createEditingState() { |
|
|
|
return new ElementCaseEditingState(this.selection, this.verScrollBar.getValue(), this.horScrollBar.getValue(), this.getResolution()); |
|
|
|
return new ElementCaseEditingState(this.selection, this.verScrollBar.getValue(), this.horScrollBar.getValue(), this.resolution); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setCellNeedTOFormat(CellSelection selection) { |
|
|
|
public void setCellNeedTOFormat(CellSelection selection) { |
|
|
@ -1352,6 +1352,7 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar |
|
|
|
} |
|
|
|
} |
|
|
|
this.verticalValue = verticalValue; |
|
|
|
this.verticalValue = verticalValue; |
|
|
|
this.horizontalValue = horizontalValue; |
|
|
|
this.horizontalValue = horizontalValue; |
|
|
|
|
|
|
|
this.resolution = resolution; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -1365,7 +1366,8 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar |
|
|
|
|
|
|
|
|
|
|
|
ElementCasePane.this.getVerticalScrollBar().setValue(this.verticalValue); |
|
|
|
ElementCasePane.this.getVerticalScrollBar().setValue(this.verticalValue); |
|
|
|
ElementCasePane.this.getHorizontalScrollBar().setValue(this.horizontalValue); |
|
|
|
ElementCasePane.this.getHorizontalScrollBar().setValue(this.horizontalValue); |
|
|
|
|
|
|
|
// ElementCasePane.this.setResolution(this.resolution);
|
|
|
|
|
|
|
|
HistoryTemplateListPane.getInstance().getCurrentEditingTemplate().setScale(this.resolution); |
|
|
|
// 重绘.
|
|
|
|
// 重绘.
|
|
|
|
ElementCasePane.this.repaint(); |
|
|
|
ElementCasePane.this.repaint(); |
|
|
|
} |
|
|
|
} |
|
|
|