-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1164 from moosetechnology/new-DSM
New DSM with weights
- Loading branch information
Showing
5 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
" | ||
This is a modified version of the `RSComposite` to accomodate our new DSM | ||
" | ||
Class { | ||
#name : #MiRSDSMShape, | ||
#superclass : #RSComposite, | ||
#category : #'MooseIDE-Dependency-DSM' | ||
} | ||
|
||
{ #category : #accessing } | ||
MiRSDSMShape >> color: aColor [ | ||
self children first color: aColor | ||
] | ||
|
||
{ #category : #initialization } | ||
MiRSDSMShape >> initialize [ | ||
super initialize. | ||
|
||
self add: (RSBox new size: 15). | ||
self add: (RSLabel new fontSize: 5). | ||
self adjustToChildren | ||
|
||
] | ||
|
||
{ #category : #accessing } | ||
MiRSDSMShape >> text: aString [ | ||
self children second text: aString | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters