~hilaire-fernandes/drgeo/trunk

« back to all changes in this revision

Viewing changes to src/DrGeoII-Core/DrGDeleteTool.class.st

  • Committer: Hilaire Fernandes
  • Date: 2017-11-15 13:17:03 UTC
  • Revision ID: hilaire.fernandes@gmail.com-20171115131703-pz09obavthi53ebt
DrGeo code under Tonel file format

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"
 
2
A tool to delete the mathItem. With subclass from StyleTool to have hidden costume to be display, so we can delete these ones aswell.
 
3
"
 
4
Class {
 
5
        #name : #DrGDeleteTool,
 
6
        #superclass : #DrGStyleTool,
 
7
        #category : #'DrGeoII-Core-Tool'
 
8
}
 
9
 
 
10
{ #category : #documentation }
 
11
DrGDeleteTool class >> description [ 
 
12
        ^'Erase an object and all its depedencies.' translated
 
13
]
 
14
 
 
15
{ #category : #documentation }
 
16
DrGDeleteTool class >> title [ 
 
17
        ^'Eraser' translated 
 
18
]
 
19
 
 
20
{ #category : #accessing }
 
21
DrGDeleteTool >> costumesAt: aPoint [
 
22
        ^self myCostumesAt: aPoint 
 
23
]
 
24
 
 
25
{ #category : #updating }
 
26
DrGDeleteTool >> reset [
 
27
        super reset.
 
28
        self switchState: DrGDeleteToolState
 
29
]