Changeset 1397
- Timestamp:
- 05/30/19 13:14:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gio/gesture/StandardGestureActions.java
r1382 r1397 1169 1169 // permission check 1170 1170 if (on != null && !on.hasPermission(UserAppliedPermission.full)) { 1171 MessageBay.displayMessage("Insufficient permission to edit this item"); 1172 return; 1173 } 1174 1171 boolean canTabToNext = !isShiftDown && ch == '\t' && on instanceof Text && ((Text) on).getTabNext() != null; 1172 boolean canTabToPrevious = isShiftDown && ch == '\t' && on instanceof Text && ((Text) on).getTabPrevious() != null; 1173 if (!canTabToNext && !canTabToPrevious) { 1174 MessageBay.displayMessage("Insufficient permission to edit this item"); 1175 return; 1176 } 1177 } 1178 1175 1179 // Certain keys are handled by MagneticConstraints. 1176 1180 // If the shift key is down the 'inverted' version of that key is used.
Note:
See TracChangeset
for help on using the changeset viewer.