Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 946821ec
authored
Dec 06, 2023
by
Thews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20231206汪皖苏
1 parent
ec3aaac0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
16 deletions
public/drawio/js/diagramly/sidebar/Sidebar-ArchiMate3.js
public/drawio/js/diagramly/sidebar/Sidebar-ArchiMate3.js
View file @
946821e
...
...
@@ -3,22 +3,38 @@
// Adds ArchiMate v3.0 shapes
Sidebar
.
prototype
.
addArchimate3Palette
=
function
()
{
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Application'
);
this
.
addArchimate3ApplicationPalette
();
// 20231206wangwansu 上面是原本的版本
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Application');
// this.addArchimate3ApplicationPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Business');
// this.addArchimate3BusinessPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Composite');
// this.addArchimate3CompositePalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Implementation and Migration');
// this.addArchimate3ImplementationAndMigrationPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Motivation');
// this.addArchimate3MotivationPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Physical');
// this.addArchimate3PhysicalPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Relationships');
// this.addArchimate3RelationshipsPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Strategy');
// this.addArchimate3StrategyPalette();
// this.setCurrentSearchEntryLibrary('archimate3', 'archimate3Technology');
// this.addArchimate3TechnologyPalette();
// this.setCurrentSearchEntryLibrary();
// 20231206wangwansu 下面是修改的版本
// 业务架构
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Business'
);
this
.
addArchimate3BusinessPalette
();
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Composite'
);
this
.
addArchimate3CompositePalette
();
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Implementation and Migration'
);
this
.
addArchimate3ImplementationAndMigrationPalette
();
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Motivation'
);
this
.
addArchimate3MotivationPalette
();
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Physical'
);
this
.
addArchimate3PhysicalPalette
();
// 应用架构
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Application'
);
this
.
addArchimate3ApplicationPalette
();
// 关系架构
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Relationships'
);
this
.
addArchimate3RelationshipsPalette
();
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Strategy'
);
this
.
addArchimate3StrategyPalette
();
// 技术架构
this
.
setCurrentSearchEntryLibrary
(
'archimate3'
,
'archimate3Technology'
);
this
.
addArchimate3TechnologyPalette
();
this
.
setCurrentSearchEntryLibrary
();
...
...
@@ -76,7 +92,7 @@
];
// this.addPalette('archimate3Application', 'Archimate 3.0 / Application', false, mxUtils.bind(this, function(content)
this
.
addPalette
(
'archimate3Application'
,
'
架构 / 应用
'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
this
.
addPalette
(
'archimate3Application'
,
'
应用架构
'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
{
for
(
var
i
=
0
;
i
<
fns
.
length
;
i
++
)
{
...
...
@@ -148,7 +164,7 @@
];
// this.addPalette('archimate3Business', 'archimate 3.0 / Business', false, mxUtils.bind(this, function(content)
this
.
addPalette
(
'archimate3Business'
,
'
架构 / 业务
'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
this
.
addPalette
(
'archimate3Business'
,
'
业务架构
'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
{
for
(
var
i
=
0
;
i
<
fns
.
length
;
i
++
)
{
...
...
@@ -369,7 +385,7 @@
];
// this.addPalette('archimate3Relationships', 'Archimate 3.0 / Relationships', false, mxUtils.bind(this, function(content)
this
.
addPalette
(
'archimate3Relationships'
,
'架构
/
关系'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
this
.
addPalette
(
'archimate3Relationships'
,
'架构
元素
关系'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
{
for
(
var
i
=
0
;
i
<
fns
.
length
;
i
++
)
{
...
...
@@ -479,7 +495,7 @@
];
// this.addPalette('archimate3Technology', 'Archimate 3.0 / Technology', false, mxUtils.bind(this, function(content)
this
.
addPalette
(
'archimate3Technology'
,
'
架构 / 技术
'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
this
.
addPalette
(
'archimate3Technology'
,
'
技术架构
'
,
false
,
mxUtils
.
bind
(
this
,
function
(
content
)
{
for
(
var
i
=
0
;
i
<
fns
.
length
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment