Changeset 137 for trunk/src/org/expeditee/items/Item.java
- Timestamp:
- 07/14/08 10:05:43 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Item.java
r133 r137 175 175 176 176 dest.setParent(source.getParent()); 177 dest._overlay = source._overlay; 177 178 dest._mode = source._mode;// SelectedMode.None; 178 179 dest._visible = source._visible; … … 1696 1697 public void setHighlightMode(HighlightMode mode, Color color) { 1697 1698 setHighlightColor(color); 1698 if (_mode != mode) { 1699 _mode = mode; 1700 this.invalidateCommonTrait(ItemAppearence.HighlightModeChanged); 1699 if (hasPermission(Permission.followLinks)) { 1700 if (_mode != mode) { 1701 _mode = mode; 1702 this.invalidateCommonTrait(ItemAppearence.HighlightModeChanged); 1703 } 1701 1704 } 1702 1705 } … … 1893 1896 return _actions != null && _actions.size() > 0; 1894 1897 } 1895 1898 1896 1899 public void setAction(String action) { 1897 1900 // Want to resize the highlight box for text items if actions are been … … 1928 1931 boolean hasLink = getLink() != null; 1929 1932 boolean hasAction = hasAction(); 1930 1933 1931 1934 if (hasLink || hasAction) { 1932 1935 g.setStroke(HIGHLIGHT_STROKE);
Note:
See TracChangeset
for help on using the changeset viewer.