-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce1bfd9
commit ca49045
Showing
30 changed files
with
285 additions
and
243 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Extension { #name : #OPXMIElement } | ||
Extension { #name : 'OPXMIElement' } | ||
|
||
{ #category : #'*OP-XMI-GTExtensions' } | ||
{ #category : '*OP-XMI-GTExtensions' } | ||
OPXMIElement >> writeXMLOn: aWriter [ | ||
aWriter tag: self xmiName | ||
] |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
Extension { #name : #OPXMIInfoItems } | ||
Extension { #name : 'OPXMIInfoItems' } | ||
|
||
{ #category : #'*OP-XMI-GTExtensions' } | ||
{ #category : '*OP-XMI-GTExtensions' } | ||
OPXMIInfoItems >> treeViewLabelText [ | ||
^ self asHighlightedTextWrittenWith: [ :writer | self writeTreeViewLabelXMLOn: writer ] | ||
] | ||
|
||
{ #category : #'*OP-XMI-GTExtensions' } | ||
{ #category : '*OP-XMI-GTExtensions' } | ||
OPXMIInfoItems >> writeTreeViewLabelXMLOn: aWriter [ | ||
self writeXMLOn: aWriter | ||
] | ||
|
||
{ #category : #'*OP-XMI-GTExtensions' } | ||
{ #category : '*OP-XMI-GTExtensions' } | ||
OPXMIInfoItems >> writeXMLOn: aWriter [ | ||
] |
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
4 changes: 2 additions & 2 deletions
4
repository/OP-XMI-GTExtensions/OPXMIReferenceAttribute.extension.st
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
4 changes: 2 additions & 2 deletions
4
repository/OP-XMI-GTExtensions/OPXMIReferenceElement.extension.st
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
4 changes: 2 additions & 2 deletions
4
repository/OP-XMI-GTExtensions/OPXMIValueAttribute.extension.st
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Extension { #name : #OPXMIValueAttribute } | ||
Extension { #name : 'OPXMIValueAttribute' } | ||
|
||
{ #category : #'*OP-XMI-GTExtensions' } | ||
{ #category : '*OP-XMI-GTExtensions' } | ||
OPXMIValueAttribute >> writeXMLOn: aWriter [ | ||
aWriter tag: self xmiName with: self value | ||
] |
4 changes: 2 additions & 2 deletions
4
repository/OP-XMI-GTExtensions/OPXMIValueElement.extension.st
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Extension { #name : #OPXMIValueElement } | ||
Extension { #name : 'OPXMIValueElement' } | ||
|
||
{ #category : #'*OP-XMI-GTExtensions' } | ||
{ #category : '*OP-XMI-GTExtensions' } | ||
OPXMIValueElement >> writeXMLOn: aWriter [ | ||
aWriter tag: self xmiName with: self value | ||
] |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Package { #name : #'OP-XMI-GTExtensions' } | ||
Package { #name : 'OP-XMI-GTExtensions' } |
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 |
---|---|---|
@@ -1,28 +1,30 @@ | ||
Class { | ||
#name : #OPXMIAttribute, | ||
#superclass : #OPXMIInfoItems, | ||
#name : 'OPXMIAttribute', | ||
#superclass : 'OPXMIInfoItems', | ||
#instVars : [ | ||
'xmiName' | ||
], | ||
#category : 'OP-XMI-DOM' | ||
#category : 'OP-XMI-DOM', | ||
#package : 'OP-XMI', | ||
#tag : 'DOM' | ||
} | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIAttribute class >> isAbstract [ | ||
^ self = OPXMIAttribute | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIAttribute >> isAttribute [ | ||
^ true | ||
] | ||
|
||
{ #category : #accessing } | ||
{ #category : 'accessing' } | ||
OPXMIAttribute >> xmiName [ | ||
^ xmiName | ||
] | ||
|
||
{ #category : #accessing } | ||
{ #category : 'accessing' } | ||
OPXMIAttribute >> xmiName: aString [ | ||
xmiName := 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
Class { | ||
#name : #OPXMIElement, | ||
#superclass : #OPXMIInfoItems, | ||
#name : 'OPXMIElement', | ||
#superclass : 'OPXMIInfoItems', | ||
#instVars : [ | ||
'xmiName' | ||
], | ||
#category : 'OP-XMI-DOM' | ||
#category : 'OP-XMI-DOM', | ||
#package : 'OP-XMI', | ||
#tag : 'DOM' | ||
} | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIElement class >> isAbstract [ | ||
^ self = OPXMIElement | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIElement >> isElement [ | ||
^ true | ||
] | ||
|
||
{ #category : #accessing } | ||
{ #category : 'accessing' } | ||
OPXMIElement >> xmiName [ | ||
^ xmiName | ||
] | ||
|
||
{ #category : #accessing } | ||
{ #category : 'accessing' } | ||
OPXMIElement >> xmiName: aString [ | ||
xmiName := 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,57 @@ | ||
Class { | ||
#name : #OPXMIInfoItems, | ||
#superclass : #Object, | ||
#category : 'OP-XMI-DOM' | ||
#name : 'OPXMIInfoItems', | ||
#superclass : 'Object', | ||
#category : 'OP-XMI-DOM', | ||
#package : 'OP-XMI', | ||
#tag : 'DOM' | ||
} | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems class >> isAbstract [ | ||
^ self = OPXMIInfoItems | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isAttribute [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isElement [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isObjectElement [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isReferenceAttribute [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isReferenceElement [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isReferenceItem [ | ||
^ self isReferenceAttribute | self isReferenceElement | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isValueAttribute [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isValueElement [ | ||
^ false | ||
] | ||
|
||
{ #category : #testing } | ||
{ #category : 'testing' } | ||
OPXMIInfoItems >> isValueItem [ | ||
^ self isValueAttribute | self isValueElement | ||
] |
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
Oops, something went wrong.