- Timestamp:
- 11/29/19 15:39:41 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Item.java
r1431 r1466 3361 3361 if (_bounds != null) _oldBounds = _bounds; 3362 3362 _bounds = null; 3363 for (Item surrogate: this.getSurrogates()) { 3364 surrogate.invalidateBounds(); 3365 } 3363 3366 } 3364 3367 … … 4168 4171 4169 4172 public void addToSurrogates(Item surrogate) { 4173 if (this.getEncryptionLabel() == null) { 4174 MessageBay.displayMessage("Only Items with encryption labels can have surrogates."); 4175 return; 4176 } 4177 4170 4178 this.getParent().removeItem(surrogate); 4171 4179 this.surrogateItems.add(surrogate);
Note:
See TracChangeset
for help on using the changeset viewer.