Tools__ProjectList.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 03 Oct 2012 23:28:49 +0100
branchjv
changeset 12298 87a1837791ec
parent 12296 6921627a8c27
child 12308 5d9291c0fc27
permissions -rw-r--r--
Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
 COPYRIGHT (c) 2000 by eXept Software AG
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
	      All Rights Reserved
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
 hereby transferred.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
"{ NameSpace: Tools }"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
BrowserList subclass:#ProjectList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
	instanceVariableNames:'projectList projectNameList selectionIndexHolder worker
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
		workerQueue'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
	classVariableNames:'AdditionalEmptyProjects HideModules'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
	poolDictionaries:''
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
	category:'Interface-Browsers-New'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    24
!ProjectList class methodsFor:'documentation'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
copyright
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    28
 COPYRIGHT (c) 2000 by eXept Software AG
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29
	      All Rights Reserved
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    30
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    31
 This software is furnished under a license and may be used
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    32
 only in accordance with the terms of that license and with the
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    34
 be provided or otherwise made available to, or used by, any
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    35
 other person.  No title to or ownership of the software is
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    36
 hereby transferred.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    37
"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    38
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    39
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    40
!ProjectList class methodsFor:'interface specs'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    41
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    42
singleProjectWindowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    43
    "This resource specification was automatically generated
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    44
     by the UIPainter of ST/X."
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    45
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    46
    "Do not manually edit this!! If it is corrupted,
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    47
     the UIPainter may not be able to read the specification."
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    48
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    49
    "
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    50
     UIPainter new openOnClass:ClassCategoryList andSelector:#singleCategoryWindowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    51
     ClassCategoryList new openInterface:#singleCategoryWindowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    52
    "
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    53
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    54
    <resource: #canvas>
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    55
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
    56
    ^
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    57
     #(#FullSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    58
	#name: #singleProjectWindowSpec
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
    59
	#window:
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    60
       #(#WindowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    61
	  #label: 'ProjectList'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    62
	  #name: 'ProjectList'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    63
	  #min: #(#Point 0 0)
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    64
	  #max: #(#Point 1024 721)
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    65
	  #bounds: #(#Rectangle 218 175 518 475)
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    66
	)
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
    67
	#component:
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    68
       #(#SpecCollection
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    69
	  #collection: #(
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
	   #(#LabelSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    71
	      #label: 'ProjectName'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    72
	      #name: 'ProjectLabel'
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    73
	      #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 25 0)
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    74
	      #translateLabel: true
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    75
	      #labelChannel: #projectLabelHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    76
	      #menu: #menuHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    77
	    )
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    78
	   )
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    79
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    80
	)
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    81
      )
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    82
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    83
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    84
windowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    85
    "This resource specification was automatically generated
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    86
     by the UIPainter of ST/X."
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    87
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    88
    "Do not manually edit this!! If it is corrupted,
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    89
     the UIPainter may not be able to read the specification."
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    90
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    91
    "
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    92
     UIPainter new openOnClass:ProjectList andSelector:#windowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    93
     ProjectList new openInterface:#windowSpec
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    94
     ProjectList open
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    95
    "
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    96
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    97
    <resource: #canvas>
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    98
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
    99
    ^
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   100
     #(#FullSpec
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   101
	#name: #windowSpec
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   102
	#window:
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   103
       #(#WindowSpec
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   104
	  #label: 'ProjectList'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   105
	  #name: 'ProjectList'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   106
	  #min: #(#Point 0 0)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   107
	  #bounds: #(#Rectangle 13 23 313 323)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   108
	)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   109
	#component:
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   110
       #(#SpecCollection
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   111
	  #collection: #(
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   112
	   #(#SequenceViewSpec
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   113
	      #name: 'List'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   114
	      #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   115
	      #tabable: true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   116
	      #model: #selectionIndexHolder
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   117
	      #menu: #menuHolder
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   118
	      #hasHorizontalScrollBar: true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   119
	      #hasVerticalScrollBar: true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   120
	      #miniScrollerHorizontal: true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   121
	      #isMultiSelect: true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   122
	      #valueChangeSelector: #selectionChangedByClick
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   123
	      #useIndex: true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   124
	      #sequenceList: #projectNameList
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   125
	      #doubleClickChannel: #doubleClickChannel
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   126
	      #properties:
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   127
	     #(#PropertyListDictionary
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   128
		#dragArgument: nil
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   129
		#dropArgument: nil
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   130
		#canDropSelector: #canDropContext:
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   131
		#dropSelector: #doDropContext:
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   132
	      )
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   133
	    )
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   134
	   )
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   135
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   136
	)
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   137
      )
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   138
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   139
    "Created: / 17.2.2000 / 23:45:47 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   140
    "Modified: / 17.2.2000 / 23:47:53 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   141
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   142
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   143
!ProjectList class methodsFor:'queries-plugin'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   144
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   145
aspectSelectors
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   146
    ^ #(
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   147
	#(#doubleClickChannel #action )
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   148
	immediateUpdate
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   149
	selectedProjects
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   150
	menuHolder
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   151
	outGeneratorHolder
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   152
	inGeneratorHolder
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   153
	selectionChangeCondition
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   154
	updateTrigger
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   155
	forceGeneratorTrigger
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   156
	hideUnloadedClasses
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   157
	organizerMode
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   158
	slaveMode
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   159
       )
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   160
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   161
    "Created: / 17.2.2000 / 23:46:18 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   162
    "Modified: / 25.2.2000 / 22:32:10 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   163
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   164
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   165
!ProjectList methodsFor:'aspects'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   166
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   167
itemList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   168
    ^ self projectList value
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   169
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   170
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   171
projectLabelHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   172
    ^ self pseudoListLabelHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   173
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   174
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   175
projectList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   176
    projectList isNil ifTrue:[
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   177
	projectList := ValueHolder new.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   178
	projectList addDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   179
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   180
    ^ projectList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   181
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   182
    "Created: / 17.2.2000 / 23:39:32 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   183
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   184
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   185
projectNameList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   186
    projectNameList isNil ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   187
	projectNameList := ValueHolder new.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   188
	"/ projectNameList addDependent:self.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   189
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   190
    ^ projectNameList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   191
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   192
    "Created: / 17.2.2000 / 23:39:32 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   193
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   194
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   195
selectedProjects
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   196
    ^ self selectionHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   197
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   198
    "Created: / 17.2.2000 / 23:39:57 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   199
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   200
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   201
selectedProjects:aValueHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   202
    ^ self selectionHolder:aValueHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   203
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   204
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   205
selectionIndexHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   206
    selectionIndexHolder isNil ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   207
	selectionIndexHolder := 0 asValue.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   208
	selectionIndexHolder addDependent:self.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   209
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   210
    ^ selectionIndexHolder
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   211
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   212
    "Created: / 17.2.2000 / 23:39:32 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   213
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   214
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   215
!ProjectList methodsFor:'change & update'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   216
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   217
delayedUpdate:something with:aParameter from:changedObject
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   218
    |cls sel pkg mthd newSel allIdx|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   219
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   220
    self inSlaveModeOrInvisible
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   221
    "/ (self slaveMode value == true)
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   222
    ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   223
	(changedObject == Smalltalk
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   224
	or:[ something == #projectOrganization ]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   225
	    listValid := false
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   226
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   227
	^ self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   228
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   229
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   230
    changedObject == self selectionIndexHolder ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   231
	listValid ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   232
	     self updateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   233
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   234
	newSel := changedObject value collect:[:idx | projectList value at:idx].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   235
	newSel ~= self selectedProjects value ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   236
	    self selectedProjects value:newSel.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   237
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   238
	^ self.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   239
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   240
    changedObject == self selectionHolder ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   241
	listValid == true ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   242
	     self updateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   243
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   244
	allIdx := projectList value indexOf:(self class nameListEntryForALL).
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   245
	newSel := changedObject value
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   246
			collect:[:val | |i|
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   247
					i := projectList value indexOf:val.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   248
					i == 0 ifTrue:[allIdx] ifFalse:[i]]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   249
			thenSelect:[:idx | idx ~~ 0].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   250
	newSel ~= self selectionIndexHolder value ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   251
	    self selectionIndexHolder value:newSel
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   252
	].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   253
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   254
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   255
    changedObject == slaveMode ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   256
	listValid ~~ true ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   257
	    self enqueueDelayedUpdateList
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   258
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   259
	"/ self invalidateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   260
	^  self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   261
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   262
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   263
    changedObject == self projectList ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   264
	^  self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   265
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   266
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   267
    changedObject == Smalltalk ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   268
	something == #projectOrganization ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   269
	    self invalidateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   270
	    self enqueueDelayedUpdateOutputGenerator.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   271
	    ^ self.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   272
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   273
	something == #methodInClass ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   274
	    listValid == true ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   275
		cls := aParameter at:1.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   276
		sel := aParameter at:2.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   277
		mthd := cls compiledMethodAt:sel.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   278
		mthd notNil ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   279
		    pkg := mthd package.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   280
		    (projectList value includes:pkg) ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   281
			self invalidateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   282
		    ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   283
		].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   284
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   285
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   286
	].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   287
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   288
	(something == #classDefinition
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   289
	or:[something == #newClass]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   290
	    listValid == true ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   291
		cls := aParameter.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   292
		pkg := cls package.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   293
		(projectList value includes:pkg) ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   294
		    self invalidateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   295
		] ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   296
		    self enqueueDelayedUpdateOutputGenerator
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   297
		].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   298
	    ] ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   299
		self invalidateList
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   300
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   301
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   302
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   303
	(something == #classRemove) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   304
	    listValid == true ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   305
		cls := aParameter.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   306
		pkg := cls package.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   307
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   308
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   309
	^ self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   310
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   311
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   312
"/    something == #projectOrganization ifTrue:[
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   313
"/        aParameter isSymbol ifTrue:[
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   314
"/                    "/ a single method has changed
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   315
"/"/                    sel := aParameter.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   316
"/"/                    mthd := changedObject compiledMethodAt:sel.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   317
"/            self enqueueDelayedUpdateOutputGenerator.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   318
"/        ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   319
"/        ^ self
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   320
"/    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   321
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   322
    changedObject == ChangeSet ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   323
	self invalidateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   324
	^ self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   325
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   326
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   327
    (organizerMode notNil
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   328
    and:[organizerMode value ~~ #project]) ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   329
	self invalidateList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   330
	^ self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   331
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   332
    super delayedUpdate:something with:aParameter from:changedObject
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   333
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   334
    "Created: / 17-02-2000 / 23:41:02 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   335
    "Modified: / 17-10-2006 / 18:43:40 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   336
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   337
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   338
selectionChangedByClick
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   339
    "we are not interested in that - get another notification
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   340
     via the changed valueHolder"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   341
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   342
    "Created: / 17.2.2000 / 23:41:17 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   343
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   344
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   345
update:something with:aParameter from:changedObject
12170
6c9c4b7981ee branch jv-experiments merged back
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12158
diff changeset
   346
    | ts |
6c9c4b7981ee branch jv-experiments merged back
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12158
diff changeset
   347
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   348
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   349
    (self builder isNil or:[self window topView realized not]) ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   350
	self makeIndependent
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   351
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   352
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   353
    changedObject == Smalltalk ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   354
"/        JV@2012-10-03: Rubbish
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   355
"/
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   356
"/        "JV2012-02-17: Suppress updates if they're comming too fast
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   357
"/         (such as when booting Java or so)"
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   358
"/        ts := OperatingSystem getMillisecondTime.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   359
"/        (ts - (lastUpdateFromSmalltalkTimestamp ? 0)) < 200"half a second, maybe too high" ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   360
"/            lastUpdateFromSmalltalkTimestamp := ts.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   361
"/            numUpdatesFromSmalltalkInLast200Msecs := numUpdatesFromSmalltalkInLast200Msecs + 1.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   362
"/            numUpdatesFromSmalltalkInLast200Msecs > 15 ifTrue:[ ^ self ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   363
"/
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   364
"/        ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   365
"/        numUpdatesFromSmalltalkInLast200Msecs := 0.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   366
"/        lastUpdateFromSmalltalkTimestamp := ts.
12170
6c9c4b7981ee branch jv-experiments merged back
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12158
diff changeset
   367
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   368
	something == #methodDictionary ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   369
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   370
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   371
	something == #methodTrap ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   372
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   373
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   374
	something == #methodCoverageInfo ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   375
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   376
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   377
	something == #methodInClass ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   378
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   379
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   380
	something == #classVariables ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   381
	    ^ self
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   382
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   383
	something == #classComment ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   384
	    ^ self.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   385
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   386
	something == #methodInClassRemoved ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   387
	    ^ self.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   388
	].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   389
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   390
    super update:something with:aParameter from:changedObject
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   391
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   392
    "Modified: / 20-07-2011 / 18:54:39 / cg"
12170
6c9c4b7981ee branch jv-experiments merged back
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12158
diff changeset
   393
    "Modified: / 18-02-2012 / 21:58:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   394
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   395
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   396
!ProjectList methodsFor:'drag & drop'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   397
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   398
canDropContext:aDropContext
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   399
    |objects package|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   400
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   401
    objects := aDropContext dropObjects collect:[:obj | obj theObject].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   402
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   403
    (self objectsAreClassFiles:objects) ifTrue:[^ true].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   404
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   405
    (objects conform:[:aMethodOrClass | (aMethodOrClass isMethod or:[aMethodOrClass isClass]) ]) ifFalse:[^ false].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   406
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   407
    package := self packageAtTargetPointOf:aDropContext.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   408
    package isNil ifTrue:[^ false].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   409
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   410
    (objects contains:[:aMethodOrClass | aMethodOrClass package ~= package]) ifFalse:[^ false].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   411
    ^ true
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   412
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   413
    "Modified: / 17-10-2006 / 18:30:32 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   414
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   415
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   416
doDropContext:aDropContext
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   417
    |package objects methods classes|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   418
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   419
    objects := aDropContext dropObjects collect:[:aDropObject | aDropObject theObject].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   420
    (objects conform:[:something | (something isMethod or:[something isClass])]) ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   421
	methods := objects select:[:something | something isMethod].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   422
	classes := objects select:[:something | something isClass].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   423
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   424
	package := self packageAtTargetPointOf:aDropContext.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   425
	package notNil ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   426
	    methods notEmpty ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   427
		self masterApplication moveMethods:methods toProject:package.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   428
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   429
	    classes notEmpty ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   430
		self masterApplication moveClasses:classes toProject:package.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   431
	    ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   432
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   433
	^ self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   434
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   435
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   436
    (objects conform:[:something | something isFilename]) ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   437
	|p|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   438
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   439
	p := (self selectedProjects value ? #()) firstIfEmpty:PackageId noProjectID.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   440
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   441
	Class packageQuerySignal answer:p
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   442
	do:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   443
	    self dropClassFiles:objects.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   444
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   445
	^ self
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   446
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   447
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   448
    "Modified: / 17-10-2006 / 18:34:43 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   449
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   450
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   451
packageAtTargetPointOf:aDropContext
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   452
    |p packageListView lineNr item package dropInfo now
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   453
     overItem timeOverItem|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   454
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   455
    p := aDropContext targetPoint.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   456
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   457
    packageListView := aDropContext targetWidget.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   458
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   459
    dropInfo := aDropContext dropInfo.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   460
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   461
    lineNr := packageListView yVisibleToLineNr:p y.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   462
    lineNr isNil ifTrue:[^ nil].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   463
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   464
    item := projectList value at:lineNr.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   465
    item isNil ifTrue:[^ nil].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   466
    item isString ifTrue:[^ item asSymbol].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   467
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   468
    item canExpand ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   469
	now := Timestamp now.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   470
	overItem := dropInfo at:#overItem ifAbsentPut:item.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   471
	timeOverItem := dropInfo at:#timeOverItem ifAbsentPut:[now].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   472
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   473
	overItem ~~ item ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   474
	    dropInfo at:#timeOverItem put:now.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   475
	    dropInfo at:#overItem put:item.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   476
	    aDropContext passiveAction:[ self packageAtTargetPointOf:aDropContext ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   477
	] ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   478
	    (now millisecondDeltaFrom:timeOverItem) >= (UserPreferences current timeToAutoExpandItemsWhenDraggingOver) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   479
		aDropContext saveDraw:[ item expand. packageListView repairDamage ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   480
		dropInfo removeKey:#timeOverItem.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   481
		dropInfo removeKey:#overItem.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   482
	    ] ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   483
		aDropContext passiveAction:[ self packageAtTargetPointOf:aDropContext ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   484
	    ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   485
	].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   486
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   487
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   488
    package := item package.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   489
    package = self class nameListEntryForALL ifTrue:[^ nil].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   490
    ^ package.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   491
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   492
    "Modified: / 18-11-2006 / 16:13:47 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   493
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   494
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   495
!ProjectList methodsFor:'generators'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   496
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   497
makeGenerator
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   498
    "return a generator which enumerates the classes from the selected project(s)."
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   499
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   500
    |selectedPackages thePackage hideUnloadedClasses showChangedClasses|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   501
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   502
    selectedPackages := self selectedProjects value.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   503
    selectedPackages size == 0 ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   504
	^ #()
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   505
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   506
    selectedPackages := selectedPackages collect:[:p | p string withoutSeparators].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   507
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   508
    showChangedClasses := selectedPackages includes:(self class nameListEntryForChanged).
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   509
    hideUnloadedClasses := self hideUnloadedClasses value.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   510
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   511
    (selectedPackages includes:(self class nameListEntryForALL)) ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   512
	hideUnloadedClasses ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   513
	    ^ Iterator on:[:whatToDo |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   514
			       Smalltalk allClassesDo:[:cls |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   515
				   cls isLoaded ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   516
				       cls isRealNameSpace ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   517
					   whatToDo value:cls
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   518
				       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   519
				   ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   520
			       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   521
			  ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   522
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   523
	^ Iterator on:[:whatToDo |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   524
			   Smalltalk allClassesDo:[:cls |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   525
			       cls isRealNameSpace ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   526
				   whatToDo value:cls
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   527
			       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   528
			   ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   529
		      ]
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   530
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   531
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   532
    selectedPackages size == 1 ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   533
	"/ faster common case
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   534
	thePackage := selectedPackages first.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   535
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   536
	^ Iterator on:[:whatToDo |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   537
			   |changedClasses|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   538
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   539
			   showChangedClasses ifTrue:[ changedClasses := ChangeSet current changedClasses ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   540
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   541
			   Smalltalk allClassesDo:[:cls |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   542
			       |doInclude|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   543
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   544
			       (hideUnloadedClasses not or:[cls isLoaded])
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   545
			       ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   546
				   cls isRealNameSpace ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   547
				       doInclude := (thePackage = cls package).
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   548
				       doInclude ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   549
					    cls isJavaClass ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   550
					       doInclude := (cls methodDictionary contains:[:mthd | thePackage = mthd package])
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   551
							    or:[ cls class methodDictionary contains:[:mthd | thePackage = mthd package]].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   552
					    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   553
					    doInclude ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   554
						(showChangedClasses and:[ (changedClasses includes:cls theNonMetaclass)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   555
									or:[(changedClasses includes:cls theMetaclass)] ]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   556
						    doInclude := true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   557
						].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   558
					    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   559
				       ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   560
				       doInclude ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   561
					   whatToDo value:cls
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   562
				       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   563
				   ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   564
			       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   565
			   ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   566
		      ]
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   567
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   568
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   569
    ^ Iterator on:[:whatToDo |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   570
		       |changedClasses|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   571
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   572
		       showChangedClasses ifTrue:[ changedClasses := ChangeSet current changedClasses ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   573
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   574
		       Smalltalk allClassesDo:[:cls |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   575
			   |doInclude|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   576
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   577
			   (hideUnloadedClasses not or:[cls isLoaded])
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   578
			   ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   579
			       cls isRealNameSpace ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   580
				   doInclude := (selectedPackages includes:cls package).
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   581
				   doInclude ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   582
					cls isJavaClass ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   583
					   doInclude := (cls methodDictionary contains:[:mthd | selectedPackages includes:mthd package])
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   584
							or:[ cls class methodDictionary contains:[:mthd | selectedPackages includes:mthd package]].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   585
					   doInclude ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   586
					       (showChangedClasses and:[ (changedClasses includes:cls theNonMetaclass)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   587
								       or:[(changedClasses includes:cls theMetaclass)] ]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   588
						   doInclude := true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   589
					       ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   590
					   ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   591
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   592
					]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   593
				   ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   594
				   doInclude ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   595
				       whatToDo value:cls
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   596
				   ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   597
			       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   598
			   ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   599
		       ]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   600
		  ]
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   601
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   602
    "Created: / 17-02-2000 / 23:49:37 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   603
    "Modified: / 10-11-2006 / 17:15:15 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   604
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   605
12158
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   606
!ProjectList methodsFor:'initialize-release'!
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   607
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   608
initialize
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   609
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   610
    super initialize.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   611
    workerQueue := SharedQueue new
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   612
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   613
    "Created: / 14-12-2010 / 15:41:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
12158
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   614
!
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   615
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   616
release
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   617
    super release.
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   618
54259ef3a49d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12128
diff changeset
   619
    projectList removeDependent:self.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   620
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   621
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   622
!ProjectList methodsFor:'private'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   623
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   624
allShownProjects
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   625
    |hideUnloaded allProjects generator addWithAllParentPackages hideModules|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   626
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   627
    hideModules := HideModules ? true.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   628
    hideModules := HideModules ? false.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   629
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   630
    allProjects := IdentitySet new.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   631
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   632
    inGeneratorHolder isNil ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   633
	hideUnloaded := self hideUnloadedClasses value.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   634
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   635
	addWithAllParentPackages :=
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   636
	    [:package |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   637
		|p parent module|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   638
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   639
		(allProjects includes:package) ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   640
		    allProjects add:package.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   641
		    (package ~= PackageId noProjectID
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   642
		    and:[package ~= #private]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   643
			p := package asPackageId.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   644
			[(parent := p parentPackage) notNil] whileTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   645
			    allProjects add:parent asSymbol.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   646
			    p := parent.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   647
			].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   648
			hideModules ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   649
			    (module := p module) notNil ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   650
				allProjects add:module asSymbol.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   651
			    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   652
			].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   653
		    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   654
		].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   655
	    ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   656
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   657
	Smalltalk allClassesDo:[:eachClass |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   658
	    |cls pkg p classPackage|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   659
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   660
	    eachClass isRealNameSpace ifFalse:[
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   661
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   662
		(hideUnloaded not or:[eachClass isLoaded]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   663
		    cls := eachClass theNonMetaclass.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   664
		    cls isPrivate ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   665
			cls := cls topOwningClass
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   666
		    ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   667
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   668
		    classPackage := cls package ? (PackageId noProjectID).
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   669
		    classPackage size > 0 ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   670
			addWithAllParentPackages value:classPackage asSymbol.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   671
		    ] ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   672
			"/ for now, nameSpaces are not in any package;
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   673
			"/ this might change. Then, 0-sized packages are
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   674
			"/ illegal, and the following should be enabled.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   675
			"/ self halt
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   676
		    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   677
		    cls isJavaClass ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   678
			cls instAndClassSelectorsAndMethodsDo:[:sel :mthd |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   679
			    |mpkg|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   680
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   681
			    mpkg := mthd package asSymbol.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   682
			    mpkg ~~ classPackage ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   683
				(allProjects includes:mpkg) ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   684
				    addWithAllParentPackages value:mpkg.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   685
				]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   686
			    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   687
			].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   688
		    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   689
		].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   690
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   691
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   692
	allProjects := allProjects asOrderedCollection.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   693
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   694
	"/ those are simulated - in ST/X, empty projects do not
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   695
	"/ really exist; however, during browsing, it makes sense.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   696
	AdditionalEmptyProjects size > 0 ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   697
	    "/ remove those that are present ...
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   698
	    AdditionalEmptyProjects := AdditionalEmptyProjects select:[:pkg | (allProjects includes:pkg) not].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   699
	    allProjects addAll:AdditionalEmptyProjects.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   700
	].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   701
    ] ifFalse:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   702
	generator := inGeneratorHolder value.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   703
	generator isNil ifTrue:[^ #() ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   704
	generator do:[:prj | allProjects add:prj].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   705
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   706
    ^ allProjects asOrderedCollection.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   707
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   708
    "Modified: / 16-01-2007 / 15:56:16 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   709
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   710
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   711
defaultSlaveModeValue
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   712
    |mode|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   713
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   714
    mode := self topApplication perform:#initialOrganizerMode ifNotUnderstood:nil.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   715
    mode == OrganizerCanvas organizerModeProject ifTrue:[^ false].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   716
    mode isNil ifTrue:[^ false].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   717
    ^ true
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   718
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   719
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   720
initialOrganizerMode
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   721
    ^ OrganizerCanvas organizerModeProject
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   722
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   723
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   724
listOfProjects
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   725
    |allProjects numClassesInChangeSet|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   726
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   727
    allProjects := self allShownProjects copyAsOrderedCollection.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   728
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   729
    allProjects sort.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   730
    allProjects size == 1 ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   731
	"/ self projectLabelHolder value:(allProjects first , ' [Project]').
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   732
	self projectLabelHolder value:(LabelAndIcon icon:(self class packageIcon) string:allProjects first).
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   733
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   734
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   735
    numClassesInChangeSet := ChangeSet current changedClasses size.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   736
    numClassesInChangeSet > 0 ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   737
	"/ dont include count - makeGenerator compares against the un-expanded nameListEntry (sigh - need two lists)
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   738
	allProjects addFirst:((self class nameListEntryForChanged "bindWith:numClassesInChangeSet") allItalic).
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   739
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   740
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   741
    allProjects size > 1 ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   742
	allProjects addFirst:(self class nameListEntryForALL allItalic).
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   743
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   744
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   745
    ^ allProjects
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   746
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   747
    "Created: / 17-02-2000 / 23:43:05 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   748
    "Modified: / 17-08-2006 / 15:08:42 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   749
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   750
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   751
makeDependent
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   752
    Smalltalk addDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   753
    ChangeSet addDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   754
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   755
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   756
makeIndependent
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   757
    Smalltalk removeDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   758
    ChangeSet removeDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   759
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   760
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   761
markEntry: rawEntry at: index forBeingManagedBySVN: package
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   762
    ^ rawEntry.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   763
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   764
    (ConfigurableFeatures includesFeature: #SubversionSupportEnabled) ifFalse:[^rawEntry].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   765
    package = PackageId noProjectID ifTrue:[^rawEntry].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   766
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   767
"/    workerQueue
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   768
"/        nextPut:[
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   769
"/            | repo newEntry branch mark|
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   770
"/            "/ use Smalltalk-at to trick the dependency/prerequisite generator
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   771
"/            repo := (Smalltalk at:#SVN::RepositoryManager) current
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   772
"/                        repositoryForPackage: package onlyFromCache: false.
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   773
"/            repo ifNotNil:[
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   774
"/                mark := ' [SVN]'.
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   775
"/                branch := repo workingCopy branchOrNil.
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   776
"/                branch ifNotNil:[mark := ' [SVN: ', branch path,']'].
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   777
"/                newEntry := rawEntry , (mark asText colorizeAllWith: Color gray).
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   778
"/                self projectNameList value at: index put: newEntry.
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   779
"/                self projectNameList changed.
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   780
"/            ]].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   781
    ^rawEntry
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   782
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   783
    "Created: / 14-12-2010 / 15:59:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   784
    "Modified: / 15-01-2012 / 13:17:30 / cg"
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   785
    "Modified: / 19-01-2012 / 10:46:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   786
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   787
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   788
nameListFor:aProjectList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   789
    "
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   790
     self basicNew
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   791
	 nameListFor:#(
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   792
	    'exept:expecco'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   793
	    'exept:expecco/application'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   794
	    'exept:procware'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   795
	    'exept:workflow'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   796
	)
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   797
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   798
     self basicNew
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   799
	 nameListFor:#(
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   800
	    'exept'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   801
	    'exept:expecco'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   802
	    'exept:expecco/application'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   803
	    'exept:procware'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   804
	    'exept:workflow'
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   805
	)
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   806
    "
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   807
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   808
    |stack projectsWithExtensions projectsWithChangedCode packagesInChangeSet projectNameList|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   809
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   810
    stack := OrderedCollection new.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   811
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   812
    projectsWithExtensions := Set new.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   813
    projectsWithChangedCode := Set new.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   814
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   815
    packagesInChangeSet := ChangeSet current changedPackages.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   816
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   817
    projectNameList := OrderedCollection new.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   818
    aProjectList do:[:this |
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   819
	|thisC entry rawEntry prefix indent|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   820
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   821
	this = self class nameListEntryForALL ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   822
	    entry := this
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   823
	] ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   824
	    thisC := this asCollectionOfSubstringsSeparatedByAny:':/'.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   825
	    thisC isEmpty ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   826
		thisC := Array with:(PackageId noProjectID).
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   827
	    ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   828
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   829
	    [
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   830
		|stackTop|
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   831
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   832
		stack notEmpty
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   833
		and:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   834
		    stackTop := stack last.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   835
		    (thisC startsWith:stackTop) ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   836
			stack removeLast.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   837
			true
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   838
		    ] ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   839
			false
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   840
		    ]]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   841
	    ] whileTrue.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   842
	    prefix := stack notEmpty ifTrue:[ stack last ] ifFalse:[ #() ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   843
	    indent := stack size * 4.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   844
	    stack addLast:thisC.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   845
	    prefix isEmpty ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   846
		rawEntry := thisC first.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   847
		thisC size > 1 ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   848
		    rawEntry := rawEntry , ':' , ((thisC copyFrom:2) asStringWith:$/).
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   849
		]
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   850
	    ] ifFalse:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   851
		rawEntry := (thisC copyFrom:prefix size+1) asStringWith:$/.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   852
	    ].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   853
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   854
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   855
	    (packagesInChangeSet includes:this) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   856
		rawEntry := rawEntry , self class markForBeingInChangeList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   857
		rawEntry := self colorizeForChangedCode:rawEntry.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   858
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   859
	    entry := (String new:indent) , rawEntry.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   860
	    ((ConfigurableFeatures includesFeature: #SubversionSupportEnabled) and:[this first ~= $*]) ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   861
		entry := self markEntry: entry at: projectNameList size + 1
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   862
				 forBeingManagedBySVN: this.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   863
	    ].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   864
	].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   865
	projectNameList add:entry.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   866
    ].
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   867
    self startWorker.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   868
    ^ projectNameList.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   869
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   870
    "Created: / 17-02-2000 / 23:43:05 / cg"
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   871
    "Modified: / 07-09-2011 / 10:45:05 / cg"
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   872
    "Modified: / 19-01-2012 / 10:46:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   873
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   874
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   875
startWorker
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   876
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   877
    worker ifNil:
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   878
	[worker :=
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   879
	    [[workerQueue notEmpty ] whileTrue:
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   880
		[| job |
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   881
		job := workerQueue next.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   882
		job value].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   883
	    worker := nil.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   884
	    ] newProcess.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   885
	worker resume].
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   886
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   887
    "Created: / 14-12-2010 / 15:49:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   888
    "Modified: / 16-12-2010 / 17:35:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   889
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   890
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   891
updateList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   892
    |newList oldList newNameList oldNameList oldSelection newSelection selectedProjectsHolder|
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   893
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   894
    selectedProjectsHolder := self selectedProjects.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   895
    oldSelection := selectedProjectsHolder value.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   896
    newList := self listOfProjects.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   897
    oldList := projectList value.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   898
    newNameList := self nameListFor:newList.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   899
    oldNameList := self projectNameList value.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   900
    (newList ~= oldList
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   901
    or:[ newNameList ~= oldNameList]) ifTrue:[
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   902
"/        oldSelection size > 0 ifTrue:[
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   903
"/            selectedProjectsHolder removeDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   904
"/            selectedProjectsHolder value:#().
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   905
"/            selectedProjectsHolder addDependent:self.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   906
"/        ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   907
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   908
	self projectList value:newList.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   909
	listValid := true.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   910
	self projectNameList value:newNameList.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   911
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   912
	oldSelection size > 0 ifTrue:[
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   913
	    newSelection := oldSelection select:[:prj | newList includes:prj].
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   914
	    selectedProjectsHolder value:newSelection.
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   915
	]
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   916
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   917
    listValid := true.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   918
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   919
    "Modified: / 25.2.2000 / 23:10:01 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   920
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   921
12176
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   922
!ProjectList methodsFor:'setup'!
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   923
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   924
commonPostBuild
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   925
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   926
    "JV@2012-03-08: HACK HACK HACK - fixes bug D1863581"
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   927
    self slaveMode value == true ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   928
	self updateList
12176
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   929
    ].
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   930
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   931
    super commonPostBuild.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   932
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   933
    "Created: / 08-03-2012 / 17:35:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   934
! !
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12170
diff changeset
   935
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   936
!ProjectList methodsFor:'special'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   937
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   938
addAdditionalProject:aProject
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   939
    "/ those are simulated - in ST/X, empty projects do not
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   940
    "/ really exist; however, during browsing, it makes sense.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   941
    AdditionalEmptyProjects isNil ifTrue:[
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   942
	AdditionalEmptyProjects := Set new.
12123
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   943
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   944
    AdditionalEmptyProjects add:aProject.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   945
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   946
    Smalltalk changed:#projectOrganization   "/ not really ... to force update
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   947
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   948
    "Created: / 17.2.2000 / 23:44:27 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   949
!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   950
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   951
removeAdditionalProjects:aListOfProjects
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   952
    "/ those are simulated - in ST/X, empty categories do not
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   953
    "/ really exist; however, during browsing, it makes sense.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   954
    AdditionalEmptyProjects notNil ifTrue:[
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   955
	aListOfProjects do:[:eachProject |
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   956
	    AdditionalEmptyProjects remove:eachProject ifAbsent:nil.
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   957
	].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   958
    ].
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   959
    Smalltalk changed:#projectOrganization   "/ not really ... to force update
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   960
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   961
    "Created: / 17.2.2000 / 23:45:24 / cg"
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   962
! !
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   963
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   964
!ProjectList class methodsFor:'documentation'!
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   965
4bde08cebd48 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   966
version_CVS
12170
6c9c4b7981ee branch jv-experiments merged back
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12158
diff changeset
   967
    ^ '§Header: /cvs/stx/stx/libtool/Tools_ProjectList.st,v 1.51 2012/02/13 13:46:07 cg Exp §'
12128
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
   968
!
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
   969
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
   970
version_SVN
12298
87a1837791ec Commented rubbish code that ignores change-update notifications when they come too fast. I feel the mask out some changes...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12296
diff changeset
   971
    ^ '$Id: Tools__ProjectList.st 8061 2012-10-03 22:28:49Z vranyj1 $'
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
   972
! !