/
ReProperty.class.st
66 lines (51 loc) · 1.03 KB
/
ReProperty.class.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"
I'm an external property of some entity. I have a source anchor to it…
"
Class {
#name : #ReProperty,
#superclass : #Model,
#instVars : [
'sourceAnchor'
],
#category : #'Renraku-Critiques'
}
{ #category : #actions }
ReProperty >> actions [
^ #()
]
{ #category : #accessing }
ReProperty >> color [
^ Color black alpha: 0.1
]
{ #category : #accessing }
ReProperty >> entity [
^ self sourceAnchor entity
]
{ #category : #accessing }
ReProperty >> icon [
^ Form extent: 16@16 depth: 32
]
{ #category : #initialization }
ReProperty >> initializeSourceAnchor: anAnchor [
self initialize.
sourceAnchor := anAnchor
]
{ #category : #deprecated }
ReProperty >> isCritic [
self
deprecated: 'Please use #isCritique instead'
transformWith: '`@receiver isCritic' -> '`@receiver isCritique'.
^ self isCritique
]
{ #category : #testing }
ReProperty >> isCritique [
^ false
]
{ #category : #accessing }
ReProperty >> sourceAnchor [
^ sourceAnchor
]
{ #category : #accessing }
ReProperty >> title [
^ self subclassResponsibility
]