Ignore:
Timestamp:
02/20/13 10:42:59 (11 years ago)
Author:
pharms
Message:
  • added a visualization for task trees
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/SWTHelpers.java

    r927 r1094  
    2222import de.ugoe.cs.util.console.CommandExecuter; 
    2323 
     24/** 
     25 * TODO comment 
     26 * 
     27 * @author Steffen Herbold, Patrick Harms 
     28 */ 
    2429public class SWTHelpers { 
    2530 
     31    /** 
     32     *  
     33     */ 
    2634    public static boolean deleteSelectedFromStorage(final List list) { 
    2735        String[] selectedStrings = list.getSelection(); 
     
    3846    } 
    3947 
     48    /** 
     49     *  
     50     */ 
    4051    public static void noSelectionError(final Shell shell) { 
    4152        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!"); 
    4365        messageBox.setText("Error"); 
    4466        messageBox.open(); 
Note: See TracChangeset for help on using the changeset viewer.