[jbosstools-commits] JBoss Tools SVN: r35946 - in trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext: gen and 2 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Oct 24 11:38:18 EDT 2011


Author: jjankovi
Date: 2011-10-24 11:38:17 -0400 (Mon, 24 Oct 2011)
New Revision: 35946

Modified:
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/PerspectiveType.java
   trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java
Log:
CDI perspective and Java Package label added

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java	2011-10-24 15:37:18 UTC (rev 35945)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTEclipseExt.java	2011-10-24 15:38:17 UTC (rev 35946)
@@ -175,6 +175,9 @@
 		switch (type) {
 		case JAVA:
 			perspectiveLabel = IDELabel.SelectPerspectiveDialog.JAVA;
+			break;	
+		case CDI:
+			perspectiveLabel = IDELabel.SelectPerspectiveDialog.CDI;
 			break;
 		case HIBERNATE:
 			perspectiveLabel = IDELabel.SelectPerspectiveDialog.HIBERNATE;

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java	2011-10-24 15:37:18 UTC (rev 35945)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/gen/ActionItem.java	2011-10-24 15:38:17 UTC (rev 35946)
@@ -4717,7 +4717,7 @@
 			* represents item : Web Services->WSDL
 			*/
 			public static final INewObject LABEL = new INewObject() {
-				public String getName() { return "WSDL File";}
+				public String getName() { return "WSDL";}
 				public List<String> getGroupPath() {
 					List<String> l = new Vector<String>();
 					l.add("Web Services");

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java	2011-10-24 15:37:18 UTC (rev 35945)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/EntityType.java	2011-10-24 15:38:17 UTC (rev 35946)
@@ -20,7 +20,7 @@
  * @author jpeterka
  */
 public enum EntityType {
-	HIBERNATE_MAPPING_FILE, JAVA_PROJECT, JAVA_CLASS, HIBERNATE_REVERSE_FILE, HIBERNATE_CONSOLE, 
+	HIBERNATE_MAPPING_FILE, JAVA_PROJECT, JAVA_CLASS, JAVA_PACKAGE, HIBERNATE_REVERSE_FILE, HIBERNATE_CONSOLE, 
 	HIBERNATE_CONFIGURATION_FILE, STRUTS_PROJECT, JPA_PROJECT, DROOLS_PROJECT, DROOLS_RULE,
 	GUIDED_DROOLS_RULE,DSL_DROOLS_FILE,RESOURCES_FROM_GUVNOR,SMOOKS_CONFIG, JBPM3_PROJECT;
 		
@@ -31,6 +31,7 @@
 		case HIBERNATE_MAPPING_FILE: groupLabel.add(IDELabel.EntityGroup.HIBERNATE); break;
 		case JAVA_PROJECT: groupLabel.add(IDELabel.EntityGroup.JAVA); break;
 		case JAVA_CLASS: groupLabel.add(IDELabel.EntityGroup.JAVA); break;	
+		case JAVA_PACKAGE: groupLabel.add(IDELabel.EntityGroup.JAVA); break;
 		case HIBERNATE_REVERSE_FILE: groupLabel.add(IDELabel.EntityGroup.HIBERNATE); break;		
 		case HIBERNATE_CONFIGURATION_FILE: groupLabel.add(IDELabel.EntityGroup.HIBERNATE); break;
 		case HIBERNATE_CONSOLE: groupLabel.add(IDELabel.EntityGroup.HIBERNATE); break;
@@ -63,6 +64,7 @@
 		case HIBERNATE_CONSOLE: entityLabel = IDELabel.EntityLabel.HIBERNATE_CONSOLE; break;
 		case JAVA_PROJECT: entityLabel = IDELabel.EntityLabel.JAVA_PROJECT; break;
 		case JAVA_CLASS: entityLabel = IDELabel.EntityLabel.JAVA_CLASS; break;
+		case JAVA_PACKAGE: entityLabel = IDELabel.EntityLabel.JAVA_PACKAGE; break;
 		case STRUTS_PROJECT: entityLabel = IDELabel.EntityLabel.STRUTS_PROJECT; break;
 		case JPA_PROJECT: entityLabel = IDELabel.EntityLabel.JPA_PROJECT; break;
 		case DROOLS_PROJECT: entityLabel = IDELabel.EntityLabel.DROOLS_PROJECT; break;

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java	2011-10-24 15:37:18 UTC (rev 35945)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java	2011-10-24 15:38:17 UTC (rev 35946)
@@ -187,6 +187,7 @@
 		public static final String HIBERNATE_CONSOLE = "Hibernate Console Configuration";
 		public static final String JAVA_CLASS = "Class";
 		public static final String JAVA_PROJECT =  "Java Project";
+		public static final String JAVA_PACKAGE =  "Package";
 		public static final String SEAM_PROJECT = "Seam Web Project";
 		public static final String HIBERNATE_CONFIGURATION_FILE = "Hibernate Configuration File (cfg.xml)";
 		public static final String STRUTS_PROJECT = "Struts Project";
@@ -242,7 +243,8 @@
 	}
 
 	public class SelectPerspectiveDialog {
-		public static final String JAVA = "Java";
+		public static final String JAVA = "Java";		
+		public static final String CDI = "Context and Dependency Injection (CDI)";
 		public static final String HIBERNATE = "Hibernate";
 		public static final String SEAM = "Seam";
 		public static final String WEB_DEVELOPMENT = "Web Development";

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/PerspectiveType.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/PerspectiveType.java	2011-10-24 15:37:18 UTC (rev 35945)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/PerspectiveType.java	2011-10-24 15:38:17 UTC (rev 35946)
@@ -16,7 +16,7 @@
  *
  */
 public enum PerspectiveType {
-	SEAM, JAVA, WEB_DEVELOPMENT, HIBERNATE, DB_DEVELOPMENT, JPA, DEBUG, GUVNOR_REPOSITORY_EXPLORING,
+	SEAM, JAVA, CDI, WEB_DEVELOPMENT, HIBERNATE, DB_DEVELOPMENT, JPA, DEBUG, GUVNOR_REPOSITORY_EXPLORING,
 	DROOLS, JBPM3;
 }
 

Modified: trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java
===================================================================
--- trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java	2011-10-24 15:37:18 UTC (rev 35945)
+++ trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ServersView.java	2011-10-24 15:38:17 UTC (rev 35946)
@@ -8,7 +8,6 @@
 import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
 import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
 import org.jboss.tools.ui.bot.ext.SWTTestExt;
-import org.jboss.tools.ui.bot.ext.SWTUtilExt;
 import org.jboss.tools.ui.bot.ext.Timing;
 import org.jboss.tools.ui.bot.ext.gen.ActionItem.View.ServerServers;
 import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;



More information about the jbosstools-commits mailing list