JBoss Tools SVN: r5826 - trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-01-21 06:57:13 -0500 (Mon, 21 Jan 2008)
New Revision: 5826
Modified:
trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/FreeCaretStyledText.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1479, org.jboss.tools.common.text.xml.patch was applied
Modified: trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/FreeCaretStyledText.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/FreeCaretStyledText.java 2008-01-21 11:55:05 UTC (rev 5825)
+++ trunk/common/plugins/org.jboss.tools.common.text.xml/src/org/jboss/tools/common/text/xml/ui/FreeCaretStyledText.java 2008-01-21 11:57:13 UTC (rev 5826)
@@ -67,11 +67,28 @@
}
public void redrawRange(int start, int length, boolean clearBackground) {
- try {
- super.redrawRange(start, length, clearBackground);
- } catch (Exception x) {
- //ignore
- }
- }
-
+ try {
+ super.redrawRange(start, length, clearBackground);
+ } catch (Exception x) {
+ // ignore
+ //FIX for JBIDE-1479 added by Max Areshkau
+ if (start > getCharCount())
+ start = getCharCount();
+ if (start + length > getCharCount())
+ length = getCharCount() - start;
+ super.redrawRange(start, length, clearBackground);
+ }
+ }
+
+ public int getLineAtOffset(int offset) {
+ try {
+ return super.getLineAtOffset(offset);
+ } catch (Exception e) {
+ if (offset > getCharCount())
+ offset = getCharCount();
+ if (offset < 0)
+ offset = 0;
+ return super.getLineAtOffset(offset);
+ }
+ }
}
18 years, 2 months
JBoss Tools SVN: r5825 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-01-21 06:55:05 -0500 (Mon, 21 Jan 2008)
New Revision: 5825
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1479, comments from Snjezana Peco was adjusted for VpeController.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-01-21 11:26:17 UTC (rev 5824)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-01-21 11:55:05 UTC (rev 5825)
@@ -54,6 +54,7 @@
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IFileEditorInput;
+import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.ui.progress.UIJob;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
@@ -331,6 +332,17 @@
//FIX Fox JBIDE-1479 added by Max Areshkau
public void notifyChanged(final INodeNotifier notifier, final int eventType,final Object feature,final Object oldValue,final Object newValue, final int pos) {
+ //start job when we modify file in ui thread, without this code
+ //changes will be applied with 1 second delay
+ Display display = null;
+ if (PlatformUI.isWorkbenchRunning())
+ display= PlatformUI.getWorkbench().getDisplay();
+
+ if (display != null && (Thread.currentThread() == display.getThread())) {
+ notifyChangedInUiThread(notifier, eventType, feature, oldValue, newValue, pos);
+ return;
+ }
+ //start job when we modify file in non ui thread
if(job!=null) {
job.cancel();
}
18 years, 2 months
JBoss Tools SVN: r5823 - in trunk/hibernatetools/tests/org.hibernate.eclipse.console.test: src/org/hibernate/eclipse/console/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-01-21 06:24:57 -0500 (Mon, 21 Jan 2008)
New Revision: 5823
Removed:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/OpenMappingTests.java
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java
Log:
Removed OpenMappingTest class and package org.hibernate.eclipse.console.test.mapping as unnessesary.
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF 2008-01-21 11:21:08 UTC (rev 5822)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF 2008-01-21 11:24:57 UTC (rev 5823)
@@ -10,7 +10,6 @@
Bundle-Vendor: Hibernate Team
Bundle-Localization: plugin
Export-Package: org.hibernate.eclipse.console.test,
- org.hibernate.eclipse.console.test.mapping,
org.hibernate.eclipse.console.test.mappingproject,
org.hibernate.eclipse.console.test.xpl
Require-Bundle: org.junit,
@@ -30,7 +29,8 @@
org.eclipse.wst.xml.ui,
org.apache.ant,
org.eclipse.ui.views,
- org.jboss.tools.hibernate.ui.view
+ org.jboss.tools.hibernate.ui.view,
+ org.eclipse.ui.editors
Eclipse-LazyStart: true
Bundle-Activator: org.hibernate.eclipse.console.test.HibernateConsoleTestPlugin
Eclipse-RegisterBuddy: org.hibernate.eclipse
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java 2008-01-21 11:21:08 UTC (rev 5822)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/ConsolePluginAllTests.java 2008-01-21 11:24:57 UTC (rev 5823)
@@ -18,7 +18,6 @@
suite.addTestSuite( PerspectiveTest.class );
suite.addTestSuite( ConsoleConfigurationTest.class );
suite.addTestSuite( JavaFormattingTest.class );
- suite.addTestSuite( OpenMappingTests.class );
suite.addTestSuite( HibernateAllMappingTests.class );
Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/OpenMappingTests.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/OpenMappingTests.java 2008-01-21 11:21:08 UTC (rev 5822)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/OpenMappingTests.java 2008-01-21 11:24:57 UTC (rev 5823)
@@ -1,75 +0,0 @@
-package org.hibernate.eclipse.console.test;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileReader;
-import java.io.IOException;
-import java.util.Iterator;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jface.text.Document;
-import org.eclipse.jface.text.FindReplaceDocumentAdapter;
-import org.hibernate.cfg.Configuration;
-import org.hibernate.eclipse.console.actions.OpenMappingAction;
-import org.hibernate.mapping.PersistentClass;
-import org.hibernate.mapping.Property;
-
-/**
- * @author Dmitry Geraskov
- */
-
-public class OpenMappingTests extends TestCase{
-
- public static final String MAPPING_PACKAGE = "src/org/hibernate/eclipse/console/test/mapping/";
- public static final String HIBERATE_CFG_FILE = "hibernate.cfg.xml";
- public static final String PERSON_CFG_FILE = "Person.hbm.xml";
-
- public void testParceComplexProcess() {
- IPath path_hib = new Path(MAPPING_PACKAGE+HIBERATE_CFG_FILE);
- IPath path_pers = new Path(MAPPING_PACKAGE+PERSON_CFG_FILE);
- File file_hib = path_hib.toFile();
- File file_pers = path_pers.toFile();
- if (!file_hib.exists()) {
- fail("File "+HIBERATE_CFG_FILE+" not found!");
- }
- if (!file_pers.exists()) {
- fail("File "+PERSON_CFG_FILE+" not found!");
- }
- try {
- Configuration config = new Configuration();
- config.configure(file_hib);
-
- FileReader reader = new FileReader(file_pers);
- BufferedReader in = new BufferedReader(reader);
- String s, text = "";
- while ((s = in.readLine()) != null) {
- text += s + '\n';
- }
- Document document = new Document(text);
- FindReplaceDocumentAdapter findAdapter = new FindReplaceDocumentAdapter(document);
-
- Iterator classMappings = config.getClassMappings();
- while (classMappings.hasNext()) {
- Object element = classMappings.next();
- if (element instanceof PersistentClass) {
- PersistentClass type = (PersistentClass)element;
- assertNotNull(OpenMappingAction.findSelection(type, findAdapter));
- Iterator properties = type.getPropertyIterator();
- while (properties.hasNext()) {
- Property prop = (Property) properties.next();
- if (prop.getClass() != Property.class) continue;
- assertNotNull(OpenMappingAction.findSelection(prop, findAdapter));
- }
- }
- }
- } catch (FileNotFoundException e) {
- fail("FileNotFoundException: "+ e.getMessage());
- } catch (IOException e) {
- fail("IOException: "+ e.getMessage());
- }
- }
-}
18 years, 2 months
JBoss Tools SVN: r5822 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-01-21 06:21:08 -0500 (Mon, 21 Jan 2008)
New Revision: 5822
Removed:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hibernate.cfg.xml
Log:
Deleted: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hibernate.cfg.xml
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hibernate.cfg.xml 2008-01-21 10:29:48 UTC (rev 5821)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/hibernate.cfg.xml 2008-01-21 11:21:08 UTC (rev 5822)
@@ -1,9 +0,0 @@
-<!DOCTYPE hibernate-configuration PUBLIC
- "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
- "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
-
-<hibernate-configuration>
- <session-factory>
-
- </session-factory>
-</hibernate-configuration>
\ No newline at end of file
18 years, 2 months
JBoss Tools SVN: r5821 - trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-01-21 05:29:48 -0500 (Mon, 21 Jan 2008)
New Revision: 5821
Modified:
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java
trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1571
Test that highlight region length more then zero.
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-01-21 09:38:48 UTC (rev 5820)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenMappingFileTest.java 2008-01-21 10:29:48 UTC (rev 5821)
@@ -11,12 +11,18 @@
package org.hibernate.eclipse.console.test.mappingproject;
import java.io.FileNotFoundException;
+import java.util.ArrayList;
+import java.util.List;
import junit.framework.TestCase;
import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jface.text.TextSelection;
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.part.MultiPageEditorPart;
+import org.eclipse.ui.texteditor.ITextEditor;
import org.hibernate.InvalidMappingException;
import org.hibernate.cfg.Configuration;
import org.hibernate.console.ConsoleConfiguration;
@@ -77,6 +83,8 @@
Throwable ex = null;
try {
editor = OpenMappingAction.run(compositeProperty, parentProperty, consCFG);
+ boolean highlighted = ProjectUtil.checkHighlighting(editor);
+ if (!highlighted) fail("Highlighted region for " + compositeProperty.getNodeName() + " is empty.");
Object[] compProperties = new PropertyWorkbenchAdapter().getChildren(compositeProperty);
for (int k = 0; k < compProperties.length; k++) {
//test Composite properties
@@ -101,7 +109,8 @@
Throwable ex = null;
try {
editor = OpenMappingAction.run(selection, consCFG);
- //checkSelectionMade(editor);
+ boolean highlighted = ProjectUtil.checkHighlighting(editor);
+ if (!highlighted) fail("Highlighted region for " + selection + " is empty.");
} catch (PartInitException e) {
ex = e;
} catch (JavaModelException e) {
@@ -113,6 +122,8 @@
if (ex != null) fail("Mapping file for " + selection/*.getClassName()*/
+ " not opened:\n" + ex.getMessage());
}
+
+
}
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-01-21 09:38:48 UTC (rev 5820)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/OpenSourceFileTest.java 2008-01-21 10:29:48 UTC (rev 5821)
@@ -21,7 +21,6 @@
import org.hibernate.cfg.Configuration;
import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.console.KnownConfigurations;
-import org.hibernate.eclipse.console.actions.OpenMappingAction;
import org.hibernate.eclipse.console.actions.OpenSourceAction;
import org.hibernate.eclipse.console.workbench.ConfigurationWorkbenchAdapter;
import org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter;
@@ -91,6 +90,8 @@
try {
editor = new OpenSourceAction().run(selection, MappingTestProject.getTestProject().getIJavaProject(),
fullyQualifiedName);
+ boolean highlighted = ProjectUtil.checkHighlighting(editor);
+ if (!highlighted) fail("Highlighted region for " + selection + " is empty.");
} catch (PartInitException e) {
ex = e;
} catch (JavaModelException e) {
Modified: trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.java
===================================================================
--- trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-21 09:38:48 UTC (rev 5820)
+++ trunk/hibernatetools/tests/org.hibernate.eclipse.console.test/src/org/hibernate/eclipse/console/test/mappingproject/ProjectUtil.java 2008-01-21 10:29:48 UTC (rev 5821)
@@ -11,6 +11,8 @@
package org.hibernate.eclipse.console.test.mappingproject;
import java.lang.reflect.Field;
+import java.util.ArrayList;
+import java.util.List;
import org.apache.tools.ant.filters.StringInputStream;
import org.eclipse.core.resources.IFile;
@@ -22,8 +24,12 @@
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Status;
import org.eclipse.jdt.core.IPackageFragment;
+import org.eclipse.jface.text.TextSelection;
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.internal.ErrorEditorPart;
+import org.eclipse.ui.part.MultiPageEditorPart;
+import org.eclipse.ui.texteditor.ITextEditor;
import org.hibernate.console.preferences.ConsoleConfigurationPreferences;
import org.hibernate.eclipse.console.wizards.ConsoleConfigurationCreationWizard;
import org.hibernate.mapping.PersistentClass;
@@ -152,5 +158,41 @@
}
return null;
}
+
+ public static boolean checkHighlighting(IEditorPart editor){
+ ITextEditor[] tEditors = getTextEditors(editor);
+ boolean highlighted = false;
+ for (int i = 0; i < tEditors.length && !highlighted; i++) {
+ ITextEditor textEditor = tEditors[i];
+ ISelection selection = textEditor.getSelectionProvider().getSelection();
+ if (selection instanceof TextSelection){
+ TextSelection tSelection = (TextSelection)selection;
+ highlighted = tSelection.getLength() > 0;
+ }
+ }
+ return highlighted;
+ }
+
+
+ /**
+ * Should be identical with OpenMappingAction.getTextEditors()
+ * @param editorPart
+ * @return
+ */
+ public static ITextEditor[] getTextEditors(IEditorPart editorPart) {
+ if (editorPart instanceof MultiPageEditorPart) {
+ List testEditors = new ArrayList();
+ IEditorPart[] editors = ((MultiPageEditorPart) editorPart).findEditors(editorPart.getEditorInput());
+ for (int i = 0; i < editors.length; i++) {
+ if (editors[i] instanceof ITextEditor){
+ testEditors.add(editors[i]);
+ }
+ }
+ return (ITextEditor[])testEditors.toArray(new ITextEditor[0]);
+ } else if (editorPart instanceof ITextEditor){
+ return new ITextEditor[]{(ITextEditor) editorPart};
+ }
+ return new ITextEditor[0];
+ }
}
18 years, 2 months
JBoss Tools SVN: r5820 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-01-21 04:38:48 -0500 (Mon, 21 Jan 2008)
New Revision: 5820
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/OpenMappingAction.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1412
Didn't work when "node" attribute was specified.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/OpenMappingAction.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/OpenMappingAction.java 2008-01-21 08:45:42 UTC (rev 5819)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/OpenMappingAction.java 2008-01-21 09:38:48 UTC (rev 5820)
@@ -335,11 +335,13 @@
private static String[] generatePatterns(PersistentClass persClass){
String fullClassName = null;
+ String shortClassName = null;
if (persClass.getEntityName() != null){
fullClassName = persClass.getEntityName();
} else {
fullClassName = persClass.getClassName();
}
+ shortClassName = fullClassName.substring(fullClassName.lastIndexOf('.') + 1);
Cfg2HbmTool tool = new Cfg2HbmTool();
String[] patterns = new String[4];
@@ -348,7 +350,7 @@
pattern.append("[\\s]+[.[^>]]*");
pattern.append(HIBERNATE_TAG_NAME);
pattern.append("[\\s]*=[\\s]*\"");
- pattern.append(persClass.getNodeName());
+ pattern.append(shortClassName);
pattern.append('\"');
patterns[0] = pattern.toString();
@@ -366,7 +368,7 @@
pattern.append("[\\s]+[.[^>]]*");
pattern.append(HIBERNATE_TAG_ENTITY_NAME);
pattern.append("[\\s]*=[\\s]*\"");
- pattern.append(persClass.getNodeName());
+ pattern.append(shortClassName);
pattern.append('\"');
patterns[2] = pattern.toString();
18 years, 2 months
JBoss Tools SVN: r5819 - trunk/seam/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-01-21 03:45:42 -0500 (Mon, 21 Jan 2008)
New Revision: 5819
Modified:
trunk/seam/docs/reference/en/modules/creating_new_seam.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-234 - adding info about server runtime
Modified: trunk/seam/docs/reference/en/modules/creating_new_seam.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-18 21:08:00 UTC (rev 5818)
+++ trunk/seam/docs/reference/en/modules/creating_new_seam.xml 2008-01-21 08:45:42 UTC (rev 5819)
@@ -38,8 +38,8 @@
runtime) that will be used for the project. This allows the wizard to identify correctly
where the required datasource and driver libraries need to go.</para>
<para>Let's get through the wizard step-by-step. First, you should enter a name and
- a location directory for your new project/</para>
- <figure>
+ a location directory for your new project.</para>
+ <figure id="figure_create_seam1">
<title>New Seam Project Wizard</title>
<mediaobject>
<imageobject>
@@ -84,16 +84,21 @@
<para> Clicking on <emphasis>
<property>Finish</property>
- </emphasis> returns you to the previous dialog. The next step is to define an installed
- server that you can do by clicking on <emphasis>
+ </emphasis> returns you to the <link linkend="figure_create_seam1">previous
+ dialog</link>. The next step is to define an installed server that you can do by
+ clicking on <emphasis>
<property>New...</property>
</emphasis> button in the Target Server section. In appeared Server Dialog it's possible
- to select a server version. For jBoss AS 4.2 it's also possible to indicate a server
- runtime. Use <emphasis>
+ to select a server version. </para>
+
+ <para> If the chosen server has already got an installed runtime, there appears a combo box
+ with all declared runtimes under the servers view. Here, you can indicate a server
+ runtime that you need. Use <emphasis>
<property>Installed Runtimes...</property>
- </emphasis> button to see or edit what runtimes are installed. Click on <emphasis>
+ </emphasis> button to see or edit which runtimes are installed. If there is no any
+ declared runtime for chosen server, click on <emphasis>
<property>Next</property>
- </emphasis>.</para>
+ </emphasis> to specify it on the next preferences page.</para>
<figure>
<title>Specifying Target Server</title>
@@ -104,8 +109,9 @@
</mediaobject>
</figure>
- <para>Next dialog allows you to verify chosen Runtime information, set login
- credentials to authorize an access to the server and specify a directory for deploying. Leave everything as it is and click on <emphasis>
+ <para>Next dialog allows you to verify the information for chosen server, set login
+ credentials to authorize an access to the server and specify a directory for deploying.
+ Leave everything as it is and click on <emphasis>
<property>Next</property>
</emphasis>.</para>
@@ -144,14 +150,16 @@
</figure>
<para>The last section on this wizard step is <property>Configurations</property>. Here, you
- can select one of the pre-defined project configurations either associated with Seam 1.2 or with Seam 2.0 that is the latest release but just only a technology
- preview. In addition, you can create your own configuration. Choosing <emphasis>
- <property>Default
- Configuration for jBoss 4.2 Runtime</property></emphasis> allows you later to specify your own set of facets
- for adding extra functionality to your project. For more details about facets, see next
- section.</para>
+ can select one of the pre-defined project configurations either associated with Seam 1.2
+ or with Seam 2.0 that is the latest release but just only a technology preview. In
+ addition, you can create your own configuration. Choosing <emphasis>
+ <property>Default Configuration for jBoss 4.2 Runtime</property>
+ </emphasis> allows you later to specify your own set of facets for adding extra
+ functionality to your project. For more details about facets, see next section. Besides,
+ we suggest that you look through our <ulink url="http://www.redhat.com/developer_studio/guides/as/html_single/">AS manager guide</ulink> to find out more about runtimes
+ and servers.</para>
- <para>Having all necessary options arranged click on <emphasis>
+ <para>Having all necessary options arranged, click on <emphasis>
<property>Next</property>
</emphasis> to pass on to the other wizard.</para>
@@ -378,8 +386,8 @@
</figure>
<para>You can edit chosen profile by using <emphasis>
- <property>Edit</property>
- </emphasis> button or organise a new one by clicking on <emphasis>
+ <property>Edit</property>
+ </emphasis> button or organise a new one by clicking on <emphasis>
<property>New</property>
</emphasis> button and selecting necessary for you type of connection profile.</para>
<figure>
@@ -391,10 +399,11 @@
</mediaobject>
</figure>
- <para>On the other dialog you'll be asked to enter its name and description. And then you should select a proper
- driver and adjust connection details. Press <emphasis>
+ <para>On the other dialog you'll be asked to enter its name and description. And
+ then you should select a proper driver and adjust connection details. Press <emphasis>
<property>Next</property>
- </emphasis> to preview all the adjusted settings and complete the creation of the new profile.</para>
+ </emphasis> to preview all the adjusted settings and complete the creation of the new
+ profile.</para>
<figure>
<title>Connection Details</title>
@@ -405,7 +414,8 @@
</mediaobject>
</figure>
- <para>The next block of settings in the Seam Facet wizard are describing a Database and a connection to it.</para>
+ <para>The next block of settings in the Seam Facet wizard are describing a Database and a
+ connection to it.</para>
<para>In the <property>Code Generation</property> section the wizard have already put the
names for your <property>Session Bean</property>, <property>Entity Bean</property> and
<property>Test</property> packages. Of course, you can change them into the others
18 years, 2 months
JBoss Tools SVN: r5818 - trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-01-18 16:08:00 -0500 (Fri, 18 Jan 2008)
New Revision: 5818
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/SeamFormNewWizardTest.java
Log:
fix compilation problems :(
Modified: trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/SeamFormNewWizardTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/SeamFormNewWizardTest.java 2008-01-18 21:04:08 UTC (rev 5817)
+++ trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/SeamFormNewWizardTest.java 2008-01-18 21:08:00 UTC (rev 5818)
@@ -14,11 +14,8 @@
import junit.framework.TestCase;
-import org.apache.velocity.runtime.directive.Foreach;
import org.eclipse.jface.wizard.IWizard;
-import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.WizardDialog;
-import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.PlatformUI;
import org.jboss.tools.common.util.WorkbenchUtils;
import org.jboss.tools.seam.ui.ISeamUiConstants;
18 years, 2 months