no message
This commit is contained in:
@@ -43,12 +43,12 @@ public class SaveGraph extends Pass<File> {
|
||||
if (target.exists() && !target.delete())
|
||||
throw new PassException("Не удается удалить предыдущий файл " + Utils_.Brackets(target.getAbsolutePath()));
|
||||
//-
|
||||
mxGraph graph = graphForm.control.getGraph();
|
||||
mxGraph graph = graphForm.getControl().getGraph();
|
||||
BufferedImage image = mxCellRenderer.createBufferedImage(graph,
|
||||
null, 1, Color.WHITE,
|
||||
graphForm.control.isAntiAlias(),
|
||||
graphForm.getControl().isAntiAlias(),
|
||||
null,
|
||||
graphForm.control.getCanvas());
|
||||
graphForm.getControl().getCanvas());
|
||||
// Creates the URL-encoded XML data
|
||||
mxCodec codec = new mxCodec();
|
||||
String xml = URLEncoder.encode(mxXmlUtils.getXml(codec.encode(graph.getModel())), "UTF-8");
|
||||
|
||||
@@ -338,7 +338,7 @@ public class FileForm implements FileWindow, FormWithSplitters {
|
||||
@Override
|
||||
public void ShowFirstError() {
|
||||
if (file.father.db.errors.ui_.getRowCount() > 0)
|
||||
file.father.db.errors.ui_.control.SelectRow(0);
|
||||
file.father.db.errors.ui_.getControl().SelectRow(0);
|
||||
}
|
||||
@Override
|
||||
public void ShowCompilationOutput() {
|
||||
|
||||
@@ -46,13 +46,13 @@ public class FunctionsForm implements FunctionsWindow {
|
||||
bZoomIn.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
functionsGraphForm.control.zoomIn();
|
||||
functionsGraphForm.getControl().zoomIn();
|
||||
}
|
||||
});
|
||||
bZoomOut.addActionListener(new ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
functionsGraphForm.control.zoomOut();
|
||||
functionsGraphForm.getControl().zoomOut();
|
||||
}
|
||||
});
|
||||
bSaveGraphAsImage.addActionListener(new ActionListener() {
|
||||
|
||||
Reference in New Issue
Block a user