add worklist task definiton as prefered template Root_notification
authorradval@netbeans.org
Sat, 23 Jun 2007 02:28:43 +0000
changeset 2362aef10090b3ac
parent 2361 ef24d552edc0
child 2363 29e357b7f635
add worklist task definiton as prefered template
enterprise/openesbaddons/workflow/project/src/org/netbeans/modules/workflow/project/WorkflowproProject.java
     1.1 --- a/enterprise/openesbaddons/workflow/project/src/org/netbeans/modules/workflow/project/WorkflowproProject.java	Sat Jun 23 02:15:50 2007 +0000
     1.2 +++ b/enterprise/openesbaddons/workflow/project/src/org/netbeans/modules/workflow/project/WorkflowproProject.java	Sat Jun 23 02:28:43 2007 +0000
     1.3 @@ -338,15 +338,38 @@
     1.4  
     1.5          // List of primarily supported templates
     1.6  
     1.7 +       
     1.8          private static final String[] TYPES = new String[] {
     1.9 +            /*
    1.10 +            "java-classes",        // NOI18N
    1.11 +            "ejb-types",            // NOI18N
    1.12 +            "java-beans",           // NOI18N
    1.13 +            "oasis-XML-catalogs",   // NOI18N
    1.14 +            "XML",                  // NOI18N
    1.15 +            "ant-script",           // NOI18N
    1.16 +            "ant-task",             // NOI18N
    1.17 +            "simple-files"          // NOI18N
    1.18 +             */
    1.19 +            "SOA",
    1.20              "XML",                  // NOI18N
    1.21              "simple-files"          // NOI18N
    1.22          };
    1.23 -
    1.24 +        
    1.25          private static final String[] PRIVILEGED_NAMES = new String[] {
    1.26 -            "Templates/XML/stylesheet.xsl",
    1.27 -            "Templates/CAPS/schema.xsd",
    1.28 -            "Templates/CAPS/untitled.wsdl"
    1.29 +//            "Templates/CAPS/schema.xsd",
    1.30 +//            "Templates/CAPS/untitled.bpel",
    1.31 +//            "Templates/CAPS/untitled.wsdl",
    1.32 +            "Templates/SOA/worklist.wf", // NOI18N
    1.33 +            "Templates/XML/retrieveXMLResource",    // NOI18N
    1.34 +            "Templates/XML/WSDL.wsdl",    // NOI18N
    1.35 +            /*
    1.36 +            "Templates/J2EE/Session", // NOI18N
    1.37 +            "Templates/J2EE/RelatedCMP", // NOI18N
    1.38 +            "Templates/J2EE/Entity",  // NOI18N
    1.39 +            "Templates/J2EE/Message", //NOI18N
    1.40 +            "Templates/J2EE/WebService", // NOI18N
    1.41 +            "Templates/Classes/Class.java" // NOI18N
    1.42 +             */
    1.43          };
    1.44  
    1.45          public String[] getRecommendedTypes() {