- Timestamp:
- 02/20/13 10:42:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/SWTHelpers.java
r927 r1094 22 22 import de.ugoe.cs.util.console.CommandExecuter; 23 23 24 /** 25 * TODO comment 26 * 27 * @author Steffen Herbold, Patrick Harms 28 */ 24 29 public class SWTHelpers { 25 30 31 /** 32 * 33 */ 26 34 public static boolean deleteSelectedFromStorage(final List list) { 27 35 String[] selectedStrings = list.getSelection(); … … 38 46 } 39 47 48 /** 49 * 50 */ 40 51 public static void noSelectionError(final Shell shell) { 41 52 MessageBox messageBox = new MessageBox(shell, SWT.ERROR); 42 messageBox.setMessage("No objects selected!"); 53 messageBox.setMessage 54 ("No objects selected! Please select at least one object to execute this function"); 55 messageBox.setText("Error"); 56 messageBox.open(); 57 } 58 59 /** 60 * 61 */ 62 public static void moreThanOneSelectedError(final Shell shell) { 63 MessageBox messageBox = new MessageBox(shell, SWT.ERROR); 64 messageBox.setMessage("Too many objects selected for this function! Select only one!"); 43 65 messageBox.setText("Error"); 44 66 messageBox.open();
Note: See TracChangeset
for help on using the changeset viewer.