Skip to content

Commit

Permalink
Remove TLMemorizeNodePositionAction.
Browse files Browse the repository at this point in the history
Fixes #101
  • Loading branch information
jecisc committed Jul 8, 2019
1 parent 62f22dc commit 476c7f5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 45 deletions.
7 changes: 0 additions & 7 deletions src/Telescope-Core/TLDrawable.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,6 @@ TLDrawable >> defaultStyle [
^ #drawable
]

{ #category : #style }
TLDrawable >> effectiveStyleSheet [
^ self
buildCompositeStyleSheetFrom:
(self parent ifNil: [ self styleSheetClass new ] ifNotNil: [ self parent effectiveStyleSheet ])
]

{ #category : #'private-connector' }
TLDrawable >> generate [
| result |
Expand Down
3 changes: 0 additions & 3 deletions src/Telescope-Core/TLDrawableCollection.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ Class {
#superclass : #OrderedCollection,
#traits : 'TTLConnectable - {#connectTo:. #connectIfNotTo:. #connectTo:entity:} + TTLDrawableCollection',
#classTraits : 'TTLConnectable classTrait + TTLDrawableCollection classTrait',
#instVars : [
'sortingStrategy'
],
#category : #'Telescope-Core-Model'
}

Expand Down
19 changes: 0 additions & 19 deletions src/Telescope-Core/TLMemorizeNodePositionAction.class.st

This file was deleted.

16 changes: 0 additions & 16 deletions src/Telescope-Demo/TLDemos.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -488,22 +488,6 @@ TLDemos class >> exampleLineStyle [
^ visualization
]

{ #category : #demos }
TLDemos class >> exampleMovingNodeChangeEntity [
<script: 'self exampleMovingNodeChangeEntity open'>
<tlFilter: #interaction>
| visu |
visu := TLVisualization fromEntities: ((1 to: 5) collect: [ :i | (i * 20) @ (i * 20) ]).
visu
addInteractions:
{(TLCustomWithParameterAction block: [ :node :position | node entity: position x asInteger @ position y asInteger ]) onMove.
TLMemorizeNodePositionAction onMove}.
visu styleSheet
nodeLabel: #asString position: #top;
labelSize: 8.
^ visu
]

{ #category : #demos }
TLDemos class >> exampleMovingNodeToAnotherGroup [
<script: 'self exampleMovingNodeToAnotherGroup open'>
Expand Down

0 comments on commit 476c7f5

Please sign in to comment.