JBoss Tools SVN: r6987 - trunk/as/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-03-18 10:55:03 -0400 (Tue, 18 Mar 2008)
New Revision: 6987
Modified:
trunk/as/docs/reference/en/modules/modules.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-271 - adding infor about several files deploying possibility
Modified: trunk/as/docs/reference/en/modules/modules.xml
===================================================================
--- trunk/as/docs/reference/en/modules/modules.xml 2008-03-18 14:42:55 UTC (rev 6986)
+++ trunk/as/docs/reference/en/modules/modules.xml 2008-03-18 14:55:03 UTC (rev 6987)
@@ -63,7 +63,7 @@
<?dbhtml filename="DeployToServer.html"?>
<title>Deploying single files</title>
- <para>Sometimes it becomes necessary to deploy only one or two files to a server. For
+ <para>Sometimes it becomes necessary to deploy one or more files to a server. For
that in order not to do a full republish in the context menu of files a <emphasis><property>Deploy To Server</property></emphasis>
option is provided that allows a single file deployment. To deploy these non-WTP files/projects
right click on the file (<emphasis>
18 years
JBoss Tools SVN: r6986 - trunk/seam/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ykryvinchanka
Date: 2008-03-18 10:42:55 -0400 (Tue, 18 Mar 2008)
New Revision: 6986
Modified:
trunk/seam/docs/reference/en/modules/directory_structure.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-226 Seam guide. Scale param is redefined for some screens
Modified: trunk/seam/docs/reference/en/modules/directory_structure.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/directory_structure.xml 2008-03-18 12:11:42 UTC (rev 6985)
+++ trunk/seam/docs/reference/en/modules/directory_structure.xml 2008-03-18 14:42:55 UTC (rev 6986)
@@ -24,7 +24,7 @@
<title>Project Layout for WAR projects</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/directory_structure/directory_structure_1.png" scale="85"/>
+ <imagedata fileref="images/directory_structure/directory_structure_1.png" />
</imageobject>
</mediaobject>
</figure>
@@ -51,7 +51,7 @@
<title>Project Layout for WAR projects</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/directory_structure/directory_structure_2.png" scale="85"/>
+ <imagedata fileref="images/directory_structure/directory_structure_2.png" />
</imageobject>
</mediaobject>
</figure>
18 years
JBoss Tools SVN: r6985 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-03-18 08:11:42 -0400 (Tue, 18 Mar 2008)
New Revision: 6985
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1923
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java 2008-03-18 11:43:02 UTC (rev 6984)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfForm.java 2008-03-18 12:11:42 UTC (rev 6985)
@@ -31,15 +31,17 @@
*/
public class JsfForm extends VpeAbstractTemplate {
- private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;";
- private static final String DIR_VALUE_RTL = "RTL";
- private static final String DIR_VALUE_LTR = "LTR";
+ private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;"; //$NON-NLS-1$
+ private static String TABLE_WIDTH_STYLE = "width: 100%;"; //$NON-NLS-1$
+ private static final String DIR_VALUE_RTL = "RTL"; //$NON-NLS-1$
+ private static final String DIR_VALUE_LTR = "LTR"; //$NON-NLS-1$
+
/* Attributes of h:form */
- private static final String DIR = "dir";
- private static final String STYLE = "style";
- private static final String STYLE_CLASS = "styleClass";
- private static final String CLASS = "class";
+ private static final String DIR = "dir"; //$NON-NLS-1$
+ private static final String STYLE = "style"; //$NON-NLS-1$
+ private static final String STYLE_CLASS = "styleClass"; //$NON-NLS-1$
+ private static final String CLASS = "class"; //$NON-NLS-1$
private String dir;
private String style;
@@ -76,6 +78,7 @@
content_div.setAttribute(DIR, dir);
}
+ table.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, TABLE_WIDTH_STYLE);
dotted_border_div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
dotted_border_div.appendChild(content_div);
td.appendChild(dotted_border_div);
@@ -139,6 +142,6 @@
* @return true, if successful
*/
private boolean attrPresents(String attr) {
- return ((null != attr) && (!"".equals(attr)));
+ return ((null != attr) && (!"".equals(attr))); //$NON-NLS-1$
}
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java 2008-03-18 11:43:02 UTC (rev 6984)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfSubView.java 2008-03-18 12:11:42 UTC (rev 6985)
@@ -31,7 +31,8 @@
*/
public class JsfSubView extends VpeAbstractTemplate {
- private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;";
+ private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;"; //$NON-NLS-1$
+ private static String TABLE_WIDTH_STYLE = "width: 100%;"; //$NON-NLS-1$
/**
* Instantiates a new jsf sub view.
@@ -50,6 +51,7 @@
nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+ table.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, TABLE_WIDTH_STYLE);
div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
td.appendChild(div);
tr.appendChild(td);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java 2008-03-18 11:43:02 UTC (rev 6984)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfView.java 2008-03-18 12:11:42 UTC (rev 6985)
@@ -31,7 +31,8 @@
*/
public class JsfView extends VpeAbstractTemplate {
- private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;";
+ private static String STYLE_FOR_DIV = "border: 1px dotted #FF6600; padding: 5px;"; //$NON-NLS-1$
+ private static String TABLE_WIDTH_STYLE = "width: 100%;"; //$NON-NLS-1$
/**
* Instantiates a new jsf view.
@@ -51,6 +52,7 @@
nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
+ table.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, TABLE_WIDTH_STYLE);
div.setAttribute(VpeStyleUtil.ATTRIBUTE_STYLE, STYLE_FOR_DIV);
td.appendChild(div);
tr.appendChild(td);
18 years
JBoss Tools SVN: r6984 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-03-18 07:43:02 -0400 (Tue, 18 Mar 2008)
New Revision: 6984
Added:
trunk/documentation/jboss-tools-docs/all-guides.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1703 - descriptor file for pom.xml for jboss-tools docs bundle building
Added: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml (rev 0)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2008-03-18 11:43:02 UTC (rev 6984)
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>all-guides</id>
+
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <!--
+ <moduleSets>
+ <moduleSet>
+ <includes>
+ <include>org.jboss.tools:exadel-migration-${translation}</include>
+ </includes>
+ <binaries>
+ <outputDirectory></outputDirectory>
+ <unpack>true</unpack>
+ </binaries>
+ </moduleSet>
+ </moduleSets>
+
+ -->
+ <fileSets>
+ <fileSet>
+ <directory>../guides/Exadel-migration/target/docbook/</directory>
+ <outputDirectory>/Exadel-migration</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../guides/GettingStartedGuide/target/docbook/</directory>
+ <outputDirectory>/GettingStartedGuide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../guides/Legacy-jsf-struts/target/docbook/</directory>
+ <outputDirectory>/Legacy-jsf-struts</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../as/docs/reference/target/docbook/</directory>
+ <outputDirectory>/as</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../hibernatetools/docs/reference/target/docbook/</directory>
+ <outputDirectory>/hibernatetools</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jbpm/docs/reference/target/docbook/</directory>
+ <outputDirectory>/jbpm</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jsf/docs/userguide/target/docbook/</directory>
+ <outputDirectory>/jsf</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../seam/docs/reference/target/docbook/</directory>
+ <outputDirectory>/seam</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0444</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
18 years
JBoss Tools SVN: r6983 - trunk/documentation/jboss-tools-docs.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2008-03-18 07:41:18 -0400 (Tue, 18 Mar 2008)
New Revision: 6983
Modified:
trunk/documentation/jboss-tools-docs/pom.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1703 - bundle of all jboss-tools docs made by Gleb Galkin
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2008-03-18 11:28:15 UTC (rev 6982)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2008-03-18 11:41:18 UTC (rev 6983)
@@ -1,34 +1,77 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>GobalGroup</groupId>
- <artifactId>GlobalArtifact</artifactId>
- <packaging>pom</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>Maven Tmp</name>
- <url>http://maven.apache.org</url>
-
- <modules>
- <module>..\..\as\docs\reference</module>
- <module>..\guides</module>
- <module>..\..\hibernatetools\docs\reference</module>
- <module>..\..\jbpm\docs\reference</module>
- <module>..\..\seam\docs\reference</module>
- <module>..\..\jsf\docs\userguide</module>
- </modules>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>all-guides</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>All_Userguides_(${translation})</name>
+
+<dependencies>
-</project>
\ No newline at end of file
+
+ <!--dependency>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>exadel-migration-${translation}</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency-->
+
+</dependencies>
+
+<modules>
+ <module>../guides/Exadel-migration</module>
+ <module>../guides/GettingStartedGuide</module>
+ <module>../guides/Legacy-jsf-struts</module>
+ <module>../../as/docs/reference</module>
+ <module>../../hibernatetools/docs/reference</module>
+ <module>../../jbpm/docs/reference</module>
+ <module>../../jsf/docs/userguide</module>
+ <module>../../seam/docs/reference</module>
+</modules>
+
+ <build>
+ <plugins>
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>all-guides.xml</descriptor>
+ </descriptors>
+ <finalName>en</finalName>
+ <outputDirectory>target</outputDirectory>
+ <appendAssemblyId>false</appendAssemblyId>
+ <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+ </configuration>
+ </plugin>
+ <!--plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <configuration>
+ <tasks>
+ <echo message="################### Deleting archive-tmp #####################"/>
+ <delete includeEmptyDirs="true" dir="target/archive-tmp"/>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin-->
+
+
+ </plugins>
+ </build>
+
+
+<properties>
+ <translation>en-US</translation>
+</properties>
+
+</project>
18 years
JBoss Tools SVN: r6982 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test: perfomance and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dsakovich
Date: 2008-03-18 07:28:15 -0400 (Tue, 18 Mar 2008)
New Revision: 6982
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/perfomance/PerfomanceTest.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1619
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-03-18 11:23:42 UTC (rev 6981)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2008-03-18 11:28:15 UTC (rev 6982)
@@ -30,6 +30,7 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1501Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1568Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JsfJbide1718Test;
+import org.jboss.tools.jsf.vpe.jsf.test.perfomance.PerfomanceTest;
import org.jboss.tools.vpe.ui.test.VpeTestSetup;
import org.jboss.tools.vpe.ui.test.beans.ImportBean;
@@ -72,11 +73,11 @@
// Perfomance Tests
// TODO dsakovich adjust perfomance tests
- // suite.addTestSuite(PerfomanceTest.class);
- // ImportBean importPerfomanceBean = new ImportBean();
- // importPerfomanceBean.setImportProjectName(PerfomanceTest.IMPORT_PROJECT_NAME);
- // importPerfomanceBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
- // projectToImport.add(importPerfomanceBean);
+ suite.addTestSuite(PerfomanceTest.class);
+ ImportBean importPerfomanceBean = new ImportBean();
+ importPerfomanceBean.setImportProjectName(PerfomanceTest.IMPORT_PROJECT_NAME);
+ importPerfomanceBean.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
+ projectToImport.add(importPerfomanceBean);
return new VpeTestSetup(suite, projectToImport);
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/perfomance/PerfomanceTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/perfomance/PerfomanceTest.java 2008-03-18 11:23:42 UTC (rev 6981)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/perfomance/PerfomanceTest.java 2008-03-18 11:28:15 UTC (rev 6982)
@@ -36,15 +36,16 @@
*/
public class PerfomanceTest extends VpeTest {
- public static final String IMPORT_PROJECT_NAME = "perfomanceTest";
+ public static final String IMPORT_PROJECT_NAME = "perfomanceTest"; //$NON-NLS-1$
- private static final String TEST_PAGE_NAME = "employee.xhtml";
- private static final String TEST_PAGE1_NAME = "home.xhtml";
- private static final String TEST_PAGE2_NAME = "addEmployee.xhtml";
- private static final String TEST_PAGE3_NAME = "pdataEdit.xhtml";
+ private static final String TEST_PAGE_NAME = "employee.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE1_NAME = "home.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE2_NAME = "addEmployee.xhtml"; //$NON-NLS-1$
+ private static final String TEST_PAGE3_NAME = "pdataEdit.xhtml"; //$NON-NLS-1$
- private static final String ANY_TAG = "<h:outputText value=\"Any Text\"/>";
-
+ private static final String ANY_TAG = "<h:outputText value=\"Any Text\"/>"; //$NON-NLS-1$
+ private static final int KEY_PRESS_TIME_INTERVAL = 300;
+
public PerfomanceTest(String name) {
super(name);
setCheckWarning(false);
@@ -63,28 +64,35 @@
IFile file = (IFile) TestUtil.getWebContentPath(TEST_PAGE_NAME,
IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file " + TEST_PAGE_NAME, file);
+ assertNotNull("Could not open specified file " + TEST_PAGE_NAME, file); //$NON-NLS-1$
IEditorInput input = new FileEditorInput(file);
- assertNotNull("Editor input is null", input);
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
TestUtil.waitForJobs();
final JSPMultiPageEditor parts = openEditor(input);
TestUtil.delay(1000L);
assertNotNull(parts);
-
- Job job = new UIJob("Test JBIDE-1105") {
+
+ Job job = new UIJob("Test JBIDE-1105") { //$NON-NLS-1$
@Override
public IStatus runInUIThread(IProgressMonitor monitor) {
StyledText styledText = parts.getSourceEditor().getTextViewer()
.getTextWidget();
String delimiter = styledText.getLineDelimiter();
+ long start;
+ long finish;
for (int i = 0; i < 20; i++) {
int offset = styledText.getOffsetAtLine(21);
styledText.setCaretOffset(offset - delimiter.length());
+ start = System.currentTimeMillis();
styledText.insert(delimiter);
- TestUtil.delay(500L);
+ finish = System.currentTimeMillis();
+ // Check limit time
+ assertEquals(
+ "The limit time is expected",true, (finish-start)<KEY_PRESS_TIME_INTERVAL); //$NON-NLS-1$
+
}
return Status.OK_STATUS;
}
@@ -116,11 +124,11 @@
IFile file = (IFile) TestUtil.getWebContentPath(TEST_PAGE1_NAME,
IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file " + TEST_PAGE1_NAME, file);
+ assertNotNull("Could not open specified file " + TEST_PAGE1_NAME, file); //$NON-NLS-1$
IEditorInput input = new FileEditorInput(file);
- assertNotNull("Editor input is null", input);
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
JSPMultiPageEditor parts = openEditor(input);
assertNotNull(parts);
@@ -133,11 +141,11 @@
file = (IFile) TestUtil.getWebContentPath(TEST_PAGE_NAME,
IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file " + TEST_PAGE_NAME, file);
+ assertNotNull("Could not open specified file " + TEST_PAGE_NAME, file); //$NON-NLS-1$
input = new FileEditorInput(file);
- assertNotNull("Editor input is null", input);
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
parts = openEditor(input);
assertNotNull(parts);
@@ -147,11 +155,11 @@
file = (IFile) TestUtil.getWebContentPath(TEST_PAGE2_NAME,
IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file " + TEST_PAGE2_NAME, file);
+ assertNotNull("Could not open specified file " + TEST_PAGE2_NAME, file); //$NON-NLS-1$
input = new FileEditorInput(file);
- assertNotNull("Editor input is null", input);
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
parts = openEditor(input);
assertNotNull(parts);
@@ -161,11 +169,11 @@
file = (IFile) TestUtil.getWebContentPath(TEST_PAGE3_NAME,
IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file " + TEST_PAGE3_NAME, file);
+ assertNotNull("Could not open specified file " + TEST_PAGE3_NAME, file); //$NON-NLS-1$
input = new FileEditorInput(file);
- assertNotNull("Editor input is null", input);
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
parts = openEditor(input);
assertNotNull(parts);
@@ -191,7 +199,7 @@
TestUtil.waitForJobs();
setException(null);
// Test page
- pageTest(TEST_PAGE_NAME, "test - work VPE with large files");
+ pageTest(TEST_PAGE_NAME, "test - work VPE with large files"); //$NON-NLS-1$
if (getException() != null) {
throw getException();
@@ -210,11 +218,11 @@
IFile file = (IFile) TestUtil.getWebContentPath(pageName,
IMPORT_PROJECT_NAME);
- assertNotNull("Could not open specified file " + TEST_PAGE_NAME, file);
+ assertNotNull("Could not open specified file " + TEST_PAGE_NAME, file); //$NON-NLS-1$
IEditorInput input = new FileEditorInput(file);
- assertNotNull("Editor input is null", input);
+ assertNotNull("Editor input is null", input); //$NON-NLS-1$
TestUtil.waitForJobs();
final JSPMultiPageEditor parts = openEditor(input);
@@ -226,15 +234,20 @@
public IStatus runInUIThread(IProgressMonitor monitor) {
StyledText styledText = parts.getSourceEditor().getTextViewer()
.getTextWidget();
+ long start;
+ long finish;
String delimiter = styledText.getLineDelimiter();
int offset = styledText.getOffsetAtLine(21);
styledText.setCaretOffset(offset);
// Add any tag in source
for (int i = 0; i < ANY_TAG.length(); i++) {
- styledText.insert(String.valueOf(ANY_TAG.charAt(i)));
+ start = System.currentTimeMillis();
+ styledText.insert(String.valueOf(ANY_TAG.charAt(i)));
+ finish = System.currentTimeMillis();
+ // Check limit time
+ assertEquals("The limit time is expected",true, (finish-start)<KEY_PRESS_TIME_INTERVAL); //$NON-NLS-1$
offset++;
styledText.setCaretOffset(offset);
- TestUtil.delay(200);
}
styledText.insert(delimiter);
// Add any text(newline) in text
@@ -243,8 +256,11 @@
int line = random.nextInt(styledText.getLineCount());
offset = styledText.getOffsetAtLine(line);
styledText.setCaretOffset(offset - delimiter.length());
+ start = System.currentTimeMillis();
styledText.insert(delimiter);
- TestUtil.delay(500L);
+ finish = System.currentTimeMillis();
+ // Check limit time
+ assertEquals("The limit time is expected",true, (finish-start)<KEY_PRESS_TIME_INTERVAL); //$NON-NLS-1$
}
return Status.OK_STATUS;
}
18 years
JBoss Tools SVN: r6981 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-03-18 07:23:42 -0400 (Tue, 18 Mar 2008)
New Revision: 6981
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1878
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2008-03-18 10:58:04 UTC (rev 6980)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2008-03-18 11:23:42 UTC (rev 6981)
@@ -5,11 +5,11 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.ui.PlatformUI;
import org.jboss.tools.seam.ui.wizard.OpenSeamComponentDialog;
import org.jboss.tools.seam.ui.wizard.OpenSeamComponentDialog.SeamComponentWrapper;
import org.jboss.tools.test.util.ProjectImportTestSetup;
-import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.test.util.xpl.EditorTestHelper;
/**
@@ -40,8 +40,14 @@
@Override
protected void tearDown() throws Exception {
- //ResourcesUtils.deleteProject("TestComponentView");
- //EditorTestHelper.joinBackgroundActivities();
+ EditorTestHelper.joinBackgroundActivities();
+ if(project != null){
+ project.close(new NullProgressMonitor());
+ project.delete(true, new NullProgressMonitor());
+ project = null;
+ EditorTestHelper.joinBackgroundActivities();
+ }
+
}
public void testOpenSeamComponentDialogSearch() {
18 years
JBoss Tools SVN: r6980 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 06:58:04 -0400 (Tue, 18 Mar 2008)
New Revision: 6980
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java
Log:
add string externalization
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java 2008-03-18 10:27:12 UTC (rev 6979)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractEditableJsfTemplate.java 2008-03-18 10:58:04 UTC (rev 6980)
@@ -40,8 +40,8 @@
static private Map<String, String> attributes = new HashMap<String, String>();
static {
- attributes.put("style", HTML.ATTR_STYLE);
- attributes.put("styleClass", HTML.ATTR_CLASS);
+ attributes.put("style", HTML.ATTR_STYLE); //$NON-NLS-1$
+ attributes.put("styleClass", HTML.ATTR_CLASS); //$NON-NLS-1$
}
/**
18 years
JBoss Tools SVN: r6979 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 06:27:12 -0400 (Tue, 18 Mar 2008)
New Revision: 6979
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1492
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java 2008-03-18 10:11:03 UTC (rev 6978)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeSelectionBuilder.java 2008-03-18 10:27:12 UTC (rev 6979)
@@ -1342,7 +1342,7 @@
}
selection.collapse(visualNode, offset);
} else {
- //selection.removeAllRanges();
+ selection.removeAllRanges();
}
visualSelectionController.setCaretEnabled(true);
setSelection(selection);
18 years
JBoss Tools SVN: r6978 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-03-18 06:11:03 -0400 (Tue, 18 Mar 2008)
New Revision: 6978
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1492
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java 2008-03-18 10:08:38 UTC (rev 6977)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/JsfRadioSelectItemTemplate.java 2008-03-18 10:11:03 UTC (rev 6978)
@@ -34,7 +34,7 @@
* template for radio select item
*
*/
-public class JsfRadioSelectItemTemplate extends AbstractJsfTemplate {
+public class JsfRadioSelectItemTemplate extends AbstractEditableJsfTemplate{
/* "itemDisabled" attribute of f:selectItem */
public static final String ITEM_DISABLED = "itemDisabled"; //$NON-NLS-1$
18 years