mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
messaging.md: regen topic.svg
This commit is contained in:
parent
14b9afa118
commit
5733f2fd5c
@ -5,7 +5,7 @@ hide empty methods
|
||||
left to right direction
|
||||
|
||||
' Define the objects in the diagram
|
||||
class "[[https://github.com/JetBrains/intellij-community/blob/master/platform/extensions/src/com/intellij/util/messages/Topic.java{com.intellij.util.messages.Topic} com.intellij.util.messages.Topic]]" as Topic {
|
||||
class "com.intellij.util.messages.Topic" as Topic {
|
||||
+displayName()
|
||||
+broadcastDirection()
|
||||
}
|
||||
|
@ -1,12 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="106px" preserveAspectRatio="none" style="width:441px;height:106px;" version="1.1" viewBox="0 0 441 106" width="441px" zoomAndPan="magnify"><defs><filter height="300%" id="f1a5f7qxp0anyk" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--MD5=[1d7f89d46fe5890de77e49145f8259d3]
|
||||
class Topic--><rect fill="#F8F8F8" filter="url(#f1a5f7qxp0anyk)" height="70.9766" id="Topic" style="stroke: #383838; stroke-width: 1.5;" width="244" x="6" y="16"/><ellipse cx="20" cy="31" fill="#C2C2C2" rx="10" ry="10" style="stroke: #383838; stroke-width: 1.0;"/><path d="M22.3896,35.7061 Q21.9111,35.9521 21.3848,36.0752 Q20.8584,36.1982 20.2773,36.1982 Q18.2129,36.1982 17.126,34.8379 Q16.0391,33.4775 16.0391,30.9072 Q16.0391,28.3301 17.126,26.9697 Q18.2129,25.6094 20.2773,25.6094 Q20.8584,25.6094 21.3916,25.7324 Q21.9248,25.8555 22.3896,26.1016 L22.3896,28.3438 Q21.8701,27.8652 21.3813,27.6431 Q20.8926,27.4209 20.373,27.4209 Q19.2656,27.4209 18.7017,28.2993 Q18.1377,29.1777 18.1377,30.9072 Q18.1377,32.6299 18.7017,33.5083 Q19.2656,34.3867 20.373,34.3867 Q20.8926,34.3867 21.3813,34.1646 Q21.8701,33.9424 22.3896,33.4639 Z "/><a href="https://github.com/JetBrains/intellij-community/blob/master/platform/extensions/src/com/intellij/util/messages/Topic.java" target="_top" title="com.intellij.util.messages.Topic" xlink:actuate="onRequest" xlink:href="https://github.com/JetBrains/intellij-community/blob/master/platform/extensions/src/com/intellij/util/messages/Topic.java" xlink:show="new" xlink:title="com.intellij.util.messages.Topic" xlink:type="simple"><text fill="#1C1C1C" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" text-decoration="underline" textLength="214" x="33" y="36.291">com.intellij.util.messages.Topic</text></a><line style="stroke: #383838; stroke-width: 1.5;" x1="7" x2="249" y1="46" y2="46"/><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="108" x="12" y="63.5352">+displayName()</text><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="151" x="12" y="80.0234">+broadcastDirection()</text><!--MD5=[8eaccf46e44cd9185ecd868a6bcfa3ae]
|
||||
class ListenerClass--><rect fill="#F8F8F8" filter="url(#f1a5f7qxp0anyk)" height="87.4648" id="ListenerClass" style="stroke: #383838; stroke-width: 1.5;" width="120" x="310" y="8"/><ellipse cx="324" cy="23" fill="#C2C2C2" rx="10" ry="10" style="stroke: #383838; stroke-width: 1.0;"/><path d="M326.3896,27.7061 Q325.9111,27.9521 325.3848,28.0752 Q324.8584,28.1982 324.2773,28.1982 Q322.2129,28.1982 321.126,26.8379 Q320.0391,25.4775 320.0391,22.9072 Q320.0391,20.3301 321.126,18.9697 Q322.2129,17.6094 324.2773,17.6094 Q324.8584,17.6094 325.3916,17.7324 Q325.9248,17.8555 326.3896,18.1016 L326.3896,20.3438 Q325.8701,19.8652 325.3813,19.6431 Q324.8926,19.4209 324.373,19.4209 Q323.2656,19.4209 322.7017,20.2993 Q322.1377,21.1777 322.1377,22.9072 Q322.1377,24.6299 322.7017,25.5083 Q323.2656,26.3867 324.373,26.3867 Q324.8926,26.3867 325.3813,26.1646 Q325.8701,25.9424 326.3896,25.4639 Z "/><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="90" x="337" y="28.291">ListenerClass</text><line style="stroke: #383838; stroke-width: 1.5;" x1="311" x2="429" y1="38" y2="38"/><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="83" x="316" y="55.5352">+method1()</text><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="12" x="316" y="72.0234">...</text><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="84" x="316" y="88.5117">+methodN()</text><!--MD5=[ac22afb7b8a06c286e18092d44f495e3]
|
||||
link Topic to ListenerClass--><path d="M262.05,51.5 C262.05,51.5 286.04,51.5 296.75,51.5 " fill="none" id="Topic-ListenerClass" style="stroke: #383838; stroke-width: 1.0;"/><polygon fill="#383838" points="309.97,51.5,300.97,47.5,304.97,51.5,300.97,55.5,309.97,51.5" style="stroke: #383838; stroke-width: 1.0;"/><line style="stroke: #383838; stroke-width: 1.0;" x1="304.97" x2="296.97" y1="51.5" y2="51.5"/><polygon fill="#FFFFFF" points="250.05,51.5,256.05,55.5,262.05,51.5,256.05,47.5,250.05,51.5" style="stroke: #383838; stroke-width: 1.0;"/><text fill="#000000" font-family="Roboto" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="9" x="288.8617" y="66.0116">1</text><!--MD5=[9eb62a90896ab149e6c4251c7f353082]
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="109px" preserveAspectRatio="none" style="width:414px;height:109px;background:#FFFFFF;" version="1.1" viewBox="0 0 414 109" width="414px" zoomAndPan="magnify">
|
||||
<style>@import url('https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono&display=swap');</style>
|
||||
<defs><filter height="300%" id="fto086i0ve9do" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--MD5=[1d7f89d46fe5890de77e49145f8259d3]
|
||||
class Topic--><rect codeLine="25" fill="#F8F8F8" filter="url(#fto086i0ve9do)" height="71.5999" id="Topic" style="stroke:#383838;stroke-width:1.5;" width="219" x="7" y="15"/><ellipse cx="21" cy="30" fill="#C2C2C2" rx="10" ry="10" style="stroke:#383838;stroke-width:1.0;"/><path d="M21.625,33.0469 Q22.2813,33.0469 22.75,32.8906 Q23.2188,32.7188 23.4063,32.5313 Q23.6094,32.3438 23.8125,32.1875 Q24.0156,32.0313 24.2031,32.0313 Q24.4688,32.0313 24.6719,32.2344 Q24.8906,32.4375 24.8906,32.7188 Q24.8906,33.3281 23.9375,33.8906 Q22.9844,34.4531 21.5781,34.4531 Q19.7969,34.4531 18.625,33.4063 Q17.4688,32.3594 17.4688,30.7656 L17.4688,29.8438 Q17.4688,28.1563 18.5469,27.0313 Q19.6406,25.8906 21.2656,25.8906 Q22.25,25.8906 23.2656,26.375 L23.3906,26.4219 Q23.6406,26.0938 23.9844,26.0938 Q24.3906,26.0938 24.5313,26.3281 Q24.6875,26.5625 24.6875,27.0156 L24.6875,28.1875 Q24.6875,29.1094 23.9844,29.1094 Q23.7344,29.1094 23.5625,28.9688 Q23.4063,28.8281 23.375,28.7188 Q23.3438,28.5938 23.2969,28.375 Q23.2188,27.9531 22.7813,27.7031 Q22.3594,27.4375 22,27.375 Q21.6406,27.2969 21.3281,27.2969 Q20.2656,27.2969 19.5625,28.0156 Q18.8594,28.7344 18.8594,29.8438 L18.8594,30.7344 Q18.8594,31.7813 19.6094,32.4219 Q20.3594,33.0469 21.625,33.0469 Z " fill="#000000"/><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="189" x="34" y="35.6">com.intellij.util.messages.Topic</text><line style="stroke:#383838;stroke-width:1.5;" x1="8" x2="225" y1="45" y2="45"/><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="98" x="13" y="62.9999">+displayName()</text><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="134" x="13" y="79.7999">+broadcastDirection()</text><!--MD5=[8eaccf46e44cd9185ecd868a6bcfa3ae]
|
||||
class ListenerClass--><rect codeLine="29" fill="#F8F8F8" filter="url(#fto086i0ve9do)" height="88.3998" id="ListenerClass" style="stroke:#383838;stroke-width:1.5;" width="114" x="286" y="7"/><ellipse cx="300" cy="22" fill="#C2C2C2" rx="10" ry="10" style="stroke:#383838;stroke-width:1.0;"/><path d="M300.625,25.0469 Q301.2813,25.0469 301.75,24.8906 Q302.2188,24.7188 302.4063,24.5313 Q302.6094,24.3438 302.8125,24.1875 Q303.0156,24.0313 303.2031,24.0313 Q303.4688,24.0313 303.6719,24.2344 Q303.8906,24.4375 303.8906,24.7188 Q303.8906,25.3281 302.9375,25.8906 Q301.9844,26.4531 300.5781,26.4531 Q298.7969,26.4531 297.625,25.4063 Q296.4688,24.3594 296.4688,22.7656 L296.4688,21.8438 Q296.4688,20.1563 297.5469,19.0313 Q298.6406,17.8906 300.2656,17.8906 Q301.25,17.8906 302.2656,18.375 L302.3906,18.4219 Q302.6406,18.0938 302.9844,18.0938 Q303.3906,18.0938 303.5313,18.3281 Q303.6875,18.5625 303.6875,19.0156 L303.6875,20.1875 Q303.6875,21.1094 302.9844,21.1094 Q302.7344,21.1094 302.5625,20.9688 Q302.4063,20.8281 302.375,20.7188 Q302.3438,20.5938 302.2969,20.375 Q302.2188,19.9531 301.7813,19.7031 Q301.3594,19.4375 301,19.375 Q300.6406,19.2969 300.3281,19.2969 Q299.2656,19.2969 298.5625,20.0156 Q297.8594,20.7344 297.8594,21.8438 L297.8594,22.7344 Q297.8594,23.7813 298.6094,24.4219 Q299.3594,25.0469 300.625,25.0469 Z " fill="#000000"/><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="84" x="313" y="27.6">ListenerClass</text><line style="stroke:#383838;stroke-width:1.5;" x1="287" x2="399" y1="37" y2="37"/><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="71" x="292" y="54.9999">+method1()</text><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="12" x="292" y="71.7999">...</text><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="73" x="292" y="88.5998">+methodN()</text><!--MD5=[ac22afb7b8a06c286e18092d44f495e3]
|
||||
link Topic to ListenerClass--><path codeLine="36" d="M238.13,51 C238.13,51 262.01,51 272.72,51 " fill="none" id="Topic-ListenerClass" style="stroke:#383838;stroke-width:1.0;"/><polygon fill="#383838" points="285.92,51,276.92,47,280.92,51,276.92,55,285.92,51" style="stroke:#383838;stroke-width:1.0;"/><line style="stroke:#383838;stroke-width:1.0;" x1="280.92" x2="272.92" y1="51" y2="51"/><polygon fill="#FFFFFF" points="226.13,51,232.13,55,238.13,51,232.13,47,226.13,51" style="stroke:#383838;stroke-width:1.0;"/><text fill="#000000" font-family="Roboto,sans-serif" font-size="14" lengthAdjust="spacing" textLength="8" x="265.8379" y="66.0506">1</text><!--MD5=[541532771d6157914d6f172493093693]
|
||||
@startuml
|
||||
' https://plantuml-documentation.readthedocs.io/en/latest/formatting/all-skin-params.html
|
||||
skinparam monochrome true
|
||||
skinparam shadowing true
|
||||
|
||||
skinparam DefaultFontName "Roboto,sans-serif"
|
||||
skinparam DefaultMonospacedFontName "Roboto Mono"
|
||||
|
||||
' https://material.io/design/typography/the-type-system.html
|
||||
' Body 2
|
||||
skinparam DefaultFontSize 14
|
||||
skinparam DefaultTextAlignment center
|
||||
skinparam NoteTextAlignment left
|
||||
|
||||
' default 1.5
|
||||
skinparam ActivityBorderThickness 1
|
||||
' default 2
|
||||
skinparam PartitionBorderThickness 1.5
|
||||
|
||||
skinparam classAttributeIconSize 0
|
||||
hide empty fields
|
||||
hide empty methods
|
||||
left to right direction
|
||||
|
||||
' Define the objects in the diagram
|
||||
class "com.intellij.util.messages.Topic" as Topic {
|
||||
+displayName()
|
||||
+broadcastDirection()
|
||||
}
|
||||
class ListenerClass {
|
||||
+method1()
|
||||
{method} ...
|
||||
+methodN()
|
||||
}
|
||||
|
||||
' Define the class relationships
|
||||
Topic o- -> "1 " ListenerClass
|
||||
@enduml
|
||||
|
||||
@startuml
|
||||
skinparam monochrome true
|
||||
skinparam shadowing true
|
||||
|
||||
skinparam DefaultFontName Roboto
|
||||
skinparam DefaultFontName "Roboto,sans-serif"
|
||||
skinparam DefaultMonospacedFontName "Roboto Mono"
|
||||
|
||||
skinparam DefaultFontSize 14
|
||||
@ -15,12 +56,13 @@ skinparam NoteTextAlignment left
|
||||
|
||||
skinparam ActivityBorderThickness 1
|
||||
skinparam PartitionBorderThickness 1.5
|
||||
|
||||
skinparam classAttributeIconSize 0
|
||||
hide empty fields
|
||||
hide empty methods
|
||||
left to right direction
|
||||
|
||||
class "[[https://github.com/JetBrains/intellij-community/blob/master/platform/extensions/src/com/intellij/util/messages/Topic.java{com.intellij.util.messages.Topic} com.intellij.util.messages.Topic]]" as Topic {
|
||||
class "com.intellij.util.messages.Topic" as Topic {
|
||||
+displayName()
|
||||
+broadcastDirection()
|
||||
}
|
||||
@ -33,12 +75,10 @@ class ListenerClass {
|
||||
Topic o- -> "1 " ListenerClass
|
||||
@enduml
|
||||
|
||||
PlantUML version 1.2020.09(Sun May 10 03:51:06 PDT 2020)
|
||||
PlantUML version 1.2021.8(Sat Jun 26 08:20:59 GMT 2021)
|
||||
(GPL source distribution)
|
||||
Java Runtime: OpenJDK Runtime Environment
|
||||
JVM: OpenJDK 64-Bit Server VM
|
||||
Java Version: 11.0.6+8-b765.40
|
||||
Operating System: Mac OS X
|
||||
Default Encoding: UTF-8
|
||||
Language: en
|
||||
Country: US
|
||||
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 7.1 KiB |
Loading…
x
Reference in New Issue
Block a user