Commit 07654f6b by liuyong

修改画布逻辑

1 parent 250b4e00
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
// (function()// 旧代码-------------------------------------------------------------- // (function()// 旧代码--------------------------------------------------------------
// { // {
// Sidebar.prototype.addEAPalette = function() // Sidebar.prototype.addCustomGraph = function()
// { // {
// this.setCurrentSearchEntryLibrary('eachart'); // this.setCurrentSearchEntryLibrary('eachart');
// $.ajax({ // $.ajax({
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
(function() (function()
{ {
Sidebar.prototype.addEAPalette = function() Sidebar.prototype.addCustomGraph = function()
{ {
const leftGraph = JSON.parse(localStorage.getItem('leftGraph')); const leftGraph = JSON.parse(localStorage.getItem('leftGraph'));
......
...@@ -155,7 +155,7 @@ mxscript(geBasePath + '../../../extention/js/exApp.js'); ...@@ -155,7 +155,7 @@ mxscript(geBasePath + '../../../extention/js/exApp.js');
mxscript(geBasePath + '../../../extention/js/exCustomMenu.js'); mxscript(geBasePath + '../../../extention/js/exCustomMenu.js');
mxscript(geBasePath + '../../../extention/js/exEditorUi.js'); mxscript(geBasePath + '../../../extention/js/exEditorUi.js');
mxscript(geBasePath + '../../../extention/js/exDevTools.js'); mxscript(geBasePath + '../../../extention/js/exDevTools.js');
mxscript(geBasePath + '../../../extention/js/exGraph.js');
...@@ -197,7 +197,6 @@ mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Electrical.js'); ...@@ -197,7 +197,6 @@ mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Electrical.js');
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-ER.js'); mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-ER.js');
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Floorplan.js'); mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Floorplan.js');
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Flowchart.js'); mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-Flowchart.js');
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-ArchiEA.js');
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-FluidPower.js'); mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-FluidPower.js');
mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-GCP.js'); mxscript(drawDevUrl + 'js/diagramly/sidebar/Sidebar-GCP.js');
......
...@@ -1208,7 +1208,7 @@ ...@@ -1208,7 +1208,7 @@
this.addWebIconsPalette(); this.addWebIconsPalette();
this.addWebLogosPalette(); this.addWebLogosPalette();
this.addSignsPalette(signs, dir); this.addSignsPalette(signs, dir);
this.addEAPalette(); //二次开发,增加动态读取架构设计要素 this.addCustomGraph(); //二次开发,增加动态读取架构设计要素
// LATER: Check if conflicts with restore libs after loading file // LATER: Check if conflicts with restore libs after loading file
this.showEntries(); this.showEntries();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!