equal
deleted
inserted
replaced
962 ! |
962 ! |
963 |
963 |
964 imagePreView |
964 imagePreView |
965 |
965 |
966 ^(builder componentAt: #imagePreView) subViews first |
966 ^(builder componentAt: #imagePreView) subViews first |
967 |
|
968 ! |
967 ! |
969 |
968 |
970 resourceClassInputField |
969 resourceClassInputField |
971 |
970 |
972 ^builder componentAt: #resourceClassInputField |
971 ^builder componentAt: #resourceClassInputField |
1214 |
1213 |
1215 |
1214 |
1216 |
1215 |
1217 ! |
1216 ! |
1218 |
1217 |
|
1218 updateForNoneImage |
|
1219 |
|
1220 self imageIsLoaded value: false. |
|
1221 self listOfColors removeAll. |
|
1222 self imagePreView image: nil |
|
1223 |
|
1224 |
|
1225 |
|
1226 |
|
1227 ! |
|
1228 |
1219 updateInfoLabel |
1229 updateInfoLabel |
1220 |
1230 |
1221 |usedColors| |
1231 |usedColors| |
1222 self image colorMap isNil ifTrue: [usedColors := '?'] ifFalse: [usedColors := self image usedColors size]. |
1232 self image colorMap isNil ifTrue: [usedColors := '?'] ifFalse: [usedColors := self image usedColors size]. |
1223 self valueOfInfoLabel value: |
1233 self valueOfInfoLabel value: |
1449 self listOfColors removeAll. |
1459 self listOfColors removeAll. |
1450 ]. |
1460 ]. |
1451 self findColorMapMode. |
1461 self findColorMapMode. |
1452 self updateInputFieldsAndLabelsAndHistory. |
1462 self updateInputFieldsAndLabelsAndHistory. |
1453 ] |
1463 ] |
1454 |
1464 ifFalse: |
|
1465 [ |
|
1466 self updateForNoneImage |
|
1467 ] |
1455 ! |
1468 ! |
1456 |
1469 |
1457 loadFromImage: image |
1470 loadFromImage: image |
1458 |
1471 |
1459 (self imageEditView image: image) notNil |
1472 (self imageEditView image: image) notNil |
1469 self listOfColors removeAll. |
1482 self listOfColors removeAll. |
1470 ]. |
1483 ]. |
1471 self findColorMapMode. |
1484 self findColorMapMode. |
1472 self updateInputFieldsAndLabelsAndHistory. |
1485 self updateInputFieldsAndLabelsAndHistory. |
1473 ] |
1486 ] |
|
1487 ifFalse: |
|
1488 [ |
|
1489 self updateForNoneImage |
|
1490 ] |
1474 ! |
1491 ! |
1475 |
1492 |
1476 loadFromInClassesOf: aSuperclassOrSymbol |
1493 loadFromInClassesOf: aSuperclassOrSymbol |
1477 |
1494 |
1478 self imageEditView loadFromInClassesOf: aSuperclassOrSymbol. |
1495 self imageEditView loadFromInClassesOf: aSuperclassOrSymbol. |
1481 [ |
1498 [ |
1482 self listOfColors contents: self image usedColors asSet asOrderedCollection. |
1499 self listOfColors contents: self image usedColors asSet asOrderedCollection. |
1483 self findColorMapMode. |
1500 self findColorMapMode. |
1484 self updateInputFieldsAndLabelsAndHistory. |
1501 self updateInputFieldsAndLabelsAndHistory. |
1485 ] |
1502 ] |
|
1503 ifFalse: |
|
1504 [ |
|
1505 self updateForNoneImage |
|
1506 ] |
1486 ! |
1507 ! |
1487 |
1508 |
1488 loadFromMessage: aMessage |
1509 loadFromMessage: aMessage |
1489 |
1510 |
1490 (self imageEditView loadFromMessage: aMessage) notNil |
1511 (self imageEditView loadFromMessage: aMessage) notNil |
1492 [ |
1513 [ |
1493 self listOfColors contents: self image usedColors asSet asOrderedCollection. |
1514 self listOfColors contents: self image usedColors asSet asOrderedCollection. |
1494 self findColorMapMode. |
1515 self findColorMapMode. |
1495 self updateInputFieldsAndLabelsAndHistory. |
1516 self updateInputFieldsAndLabelsAndHistory. |
1496 ] |
1517 ] |
|
1518 ifFalse: |
|
1519 [ |
|
1520 self updateForNoneImage |
|
1521 ] |
|
1522 |
1497 ! |
1523 ! |
1498 |
1524 |
1499 loadFromOrPrepareForMessage: aMessage |
1525 loadFromOrPrepareForMessage: aMessage |
1500 |
1526 |
1501 (self imageEditView loadFromMessage: aMessage) notNil |
1527 (self imageEditView loadFromMessage: aMessage) notNil |