Package swifu.main

Examples of swifu.main.Function


  public static void constructFVFunctionActions(Set<Function> functions,
                          FunctionFieldViewManager manager) {

     Iterator<Function> iterator = functions.iterator();
     while (iterator.hasNext()) {
       Function function = iterator.next();
       String prefix = FunctionFieldViewManager.FIELDVIEW_PREFIX;
       String oldFunctionName = function.getName();
       String newFunctionName   = FunctionManager.cutSuperComponentPrefix(oldFunctionName,
                                         prefix);

      Messages messages = Messages.getMessages();
                             
       if (newFunctionName == null) {
        messages.err("AbstractFieldView", "constructFVFunctionActions says: "
               + oldFunctionName + " does not start with "
               + prefix);
        messages.err("AbstractFieldView", "--> Aborting...");
         System.exit(-1);
       } else {
         FieldViewFunctionAction functionAction
           = new FieldViewFunctionAction(manager, newFunctionName);
         function.setAction(functionAction);    
       }
     }
  }
View Full Code Here

TOP

Related Classes of swifu.main.Function

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.