JBoss Tools SVN: r9105 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.console: src/org/hibernate/eclipse/console and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-07-09 09:25:33 -0400 (Wed, 09 Jul 2008)
New Revision: 9105
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/AbstractQueryEditor.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ClearAction.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2270
'Clear' button removed from toolbar and menu.
'Clear' button added to the editor's toolbar.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-07-09 13:19:02 UTC (rev 9104)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-07-09 13:25:33 UTC (rev 9105)
@@ -289,28 +289,29 @@
<part id="org.hibernate.eclipse.criteriaeditor.CriteriaEditor"/>
</actionSetPartAssociation>
</extension>
- <extension
+ <!--extension
point="org.eclipse.ui.editorActions">
<editorContribution
id="org.hibernate.eclipse.hqleditor.HQLEditorContributions"
targetID="org.hibernate.eclipse.hqleditor.HQLEditor">
<action
- actionID="clearEditor"
- class="org.hibernate.eclipse.console.actions.ClearHQLEditorAction"
- icon="icons/images/clear.gif"
- id="org.hibernate.eclipse.console.actions.ClearHQLEditorAction"
- label="&Clear HQL Editor"
- menubarPath="HQL/hqlGroup"
- style="push"
- toolbarPath="hqlGroup"
- tooltip="Clear HQL Editor"/>
+ actionID="clearEditor"
+ class="org.hibernate.eclipse.console.actions.ClearHQLEditorAction"
+ icon="icons/images/clear.gif"
+ id="org.hibernate.eclipse.console.actions.ClearHQLEditorAction"
+ label="&Clear HQL Editor"
+ menubarPath="HQL/hqlGroup"
+ style="push"
+ toolbarPath="hqlGroup"
+ tooltip="Clear HQL Editor">
+ </action>
<menu
id="HQL"
label="H&QL">
<separator name="hqlGroup"/>
</menu>
</editorContribution>
- </extension>
+ </extension-->
<extension
point = "org.eclipse.ui.elementFactories">
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/AbstractQueryEditor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/AbstractQueryEditor.java 2008-07-09 13:19:02 UTC (rev 9104)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/AbstractQueryEditor.java 2008-07-09 13:25:33 UTC (rev 9105)
@@ -29,6 +29,7 @@
import org.hibernate.console.ConsoleConfiguration;
import org.hibernate.console.KnownConfigurations;
import org.hibernate.console.QueryInputModel;
+import org.hibernate.eclipse.console.actions.ClearAction;
import org.hibernate.eclipse.console.actions.ExecuteQueryAction;
public abstract class AbstractQueryEditor extends TextEditor implements
@@ -36,6 +37,7 @@
private ToolBarManager tbm;
private ExecuteQueryAction execAction = null;
+ private ClearAction clearAction = null;
final private QueryInputModel queryInputModel;
private String defPartName;
@@ -143,20 +145,17 @@
tbm = new ToolBarManager( bar );
execAction = new ExecuteQueryAction( this );
- //getDocumentProvider().addElementStateListener(listener)
- /*getSourceViewer().addTextListener(new ITextListener(){
+ clearAction = new ClearAction( this );
- public void textChanged(TextEvent event) {
- System.out.println(event.getText());
+ ActionContributionItem item = new ActionContributionItem( execAction );
- }});*/
- ActionContributionItem item = new ActionContributionItem(
- execAction );
-
tbm.add( item );
+
+ item = new ActionContributionItem( clearAction );
+ tbm.add( item );
ControlContribution cc = new ConfigurationCombo( "hql-target", this ); //$NON-NLS-1$
- tbm.add( cc );
+ tbm.add( cc );
tbm.add( new Separator() );
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ClearAction.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ClearAction.java 2008-07-09 13:19:02 UTC (rev 9104)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/actions/ClearAction.java 2008-07-09 13:25:33 UTC (rev 9105)
@@ -22,11 +22,13 @@
package org.hibernate.eclipse.console.actions;
+import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextViewer;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.texteditor.ITextEditor;
import org.hibernate.console.ImageConstants;
import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.utils.EclipseImages;
@@ -38,6 +40,7 @@
public class ClearAction extends Action {
private ITextViewer fViewer;
+ private ITextEditor fTextEditor;
/**
* Constructs an action to clear the document associated with a text viewer.
@@ -55,6 +58,12 @@
//setImageDescriptor(ConsolePluginImages.getImageDescriptor(IInternalConsoleConstants.IMG_ELCL_CLEAR));
//PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IConsoleHelpContextIds.CLEAR_CONSOLE_ACTION);
}
+
+ public ClearAction(ITextEditor textEditor) {
+ fTextEditor = textEditor;
+ setImageDescriptor(EclipseImages.getImageDescriptor(ImageConstants.CLEAR) );
+ setToolTipText(HibernateConsoleMessages.ClearAction_clear_editor);
+ }
/* (non-Javadoc)
* @see org.eclipse.jface.action.IAction#run()
@@ -62,11 +71,19 @@
public void run() {
BusyIndicator.showWhile(getStandardDisplay(), new Runnable() {
public void run() {
- IDocument document = fViewer.getDocument();
+ IDocument document = null;
+ if (fViewer != null){
+ document = fViewer.getDocument();
+ } else {
+ Assert.isNotNull(fTextEditor);
+ Assert.isNotNull(fTextEditor.getDocumentProvider());
+ Assert.isNotNull(fTextEditor.getEditorInput());
+ document = fTextEditor.getDocumentProvider().getDocument(fTextEditor.getEditorInput());
+ }
if (document != null) {
document.set(""); //$NON-NLS-1$
}
- fViewer.setSelectedRange(0, 0);
+ if (fViewer != null) fViewer.setSelectedRange(0, 0);
}
});
}
16 years, 5 months
JBoss Tools SVN: r9104 - trunk/jsf/plugins.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-07-09 09:19:02 -0400 (Wed, 09 Jul 2008)
New Revision: 9104
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.adf/
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/
Log:
JBIDE-2492
16 years, 5 months
JBoss Tools SVN: r9103 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-07-09 08:42:04 -0400 (Wed, 09 Jul 2008)
New Revision: 9103
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-2270
'Run HQL' button removed from toolbar.
Shortcut works, it remains to move 'Clear' button to the editor's toolbar.
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-07-09 05:27:58 UTC (rev 9102)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-07-09 12:42:04 UTC (rev 9103)
@@ -228,7 +228,6 @@
definitionId="org.hibernate.eclipse.console.actions.ExecuteHQLActionCommand"
label="Run Query"
retarget="true"
- toolbarPath="hqlGroup"
tooltip="Run HQL Query from current editor">
</action>
</actionSet>
16 years, 5 months
JBoss Tools SVN: r9102 - in trunk/ws/plugins: org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2008-07-09 01:27:58 -0400 (Wed, 09 Jul 2008)
New Revision: 9102
Modified:
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/AbstractGenerateCodeCommand.java
trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties
trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties
Log:
JBIDE-2491: fix the bug that unable to generate code from a wsdl document that has a reference to a xsd file
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/AbstractGenerateCodeCommand.java
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/AbstractGenerateCodeCommand.java 2008-07-08 21:56:22 UTC (rev 9101)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/commands/AbstractGenerateCodeCommand.java 2008-07-09 05:27:58 UTC (rev 9102)
@@ -29,6 +29,7 @@
protected ServiceModel model;
private String cmdFileName_linux;
private String cmdFileName_win;
+
public AbstractGenerateCodeCommand(ServiceModel model){
this.model = model;
@@ -66,24 +67,30 @@
command += " -k " + args + " " + model.getWsdlURI();
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec(command, null, new File(commandLocation));
+ StringBuffer errorResult = new StringBuffer();
+ StringBuffer inputResult = new StringBuffer();
+
+ convertInputStreamToString(errorResult, proc.getErrorStream());
+ convertInputStreamToString(errorResult, proc.getInputStream());
+
int exitValue = proc.waitFor();
if(exitValue != 0){
- return StatusUtils.errorStatus(convertInputStreamToString(proc.getErrorStream()));
+ return StatusUtils.errorStatus(errorResult.toString());
+ }else{
+ String resultInput = inputResult.toString();
+ if(resultInput != null && resultInput.indexOf("[ERROR]") >= 0){
+ JBossWSCreationCore.getDefault().logError(resultInput);
+ IStatus errorStatus = StatusUtils.errorStatus(resultInput);
+ status = StatusUtils
+ .errorStatus(
+ JBossWSCreationCoreMessages.Error_Message_Failed_To_Generate_Code,
+ new CoreException(errorStatus));
+ }else{
+ JBossWSCreationCore.getDefault().logInfo(resultInput);
+ }
}
- // log the result of the command execution
- String resultOutput = convertInputStreamToString(proc.getInputStream());
- if(resultOutput != null && resultOutput.indexOf("[ERROR]") >= 0){
- JBossWSCreationCore.getDefault().logError(resultOutput);
- IStatus errorStatus = StatusUtils.errorStatus(resultOutput);
- status = StatusUtils
- .errorStatus(
- JBossWSCreationCoreMessages.Error_Message_Failed_To_Generate_Code,
- new CoreException(errorStatus));
- }else{
- JBossWSCreationCore.getDefault().logInfo(resultOutput);
- }
} catch (IOException e) {
JBossWSCreationCore.getDefault().logError(e);
@@ -101,18 +108,32 @@
return status;
}
- private String convertInputStreamToString(InputStream input) throws IOException{
- InputStreamReader ir = new InputStreamReader(input);
- LineNumberReader reader = new LineNumberReader(ir);
- String str = reader.readLine();
- StringBuffer result = new StringBuffer();
- while(str != null){
- result.append(str).append("\t\r");
- str = reader.readLine();
-
- }
- return result.toString();
+ private void convertInputStreamToString(final StringBuffer result, final InputStream input) {
+
+ Thread thread = new Thread() {
+ public void run() {
+
+ try {
+ InputStreamReader ir = new InputStreamReader(input);
+ LineNumberReader reader = new LineNumberReader(ir);
+ String str;
+ str = reader.readLine();
+ while (str != null) {
+ result.append(str).append("\t\r");
+ str = reader.readLine();
+
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+
+ }
+ };
+
+ thread.start();
+
}
+
private void refreshProject(String project, IProgressMonitor monitor){
try {
JBossWSCreationUtils.getProjectByName(project).refreshLocal(2, monitor);
@@ -127,5 +148,6 @@
abstract protected String getCommandLineFileName_linux();
abstract protected String getCommandLineFileName_win();
+
}
Modified: trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties 2008-07-08 21:56:22 UTC (rev 9101)
+++ trunk/ws/plugins/org.jboss.tools.ws.creation.core/src/org/jboss/tools/ws/creation/core/messages/JBossWSCreationCore.properties 2008-07-09 05:27:58 UTC (rev 9102)
@@ -1,4 +1,4 @@
-Label_Custom_Package_Name=Custom package name
+Label_Custom_Package_Name=Package name
Label_Catalog_File=Catalog file
Label_Button_Text_Seletion= &Add
Label_Generate_Impelemtation=Generate default Web Service Implementation classes
@@ -31,7 +31,7 @@
Error_Create_Client_Sample=When create a client sample, a error comes up. Please check the generated files.
WebEndpoint=WebEndpoint
-Error_WS_Chose_runtime=Select an JBoss Web Service runtime. If a server supplied JBoss Web Service runtime is chosen , the chosen server adapter must be capable of providing the JBoss Web Service runtime
+Error_WS_Chose_runtime=Select an JBoss Web Service runtime. If a server supplied JBoss Web Service runtime is chosen ,\r\n the chosen server adapter must be capable of providing the JBoss Web Service runtime
Error_WS_No_Runtime_Specifed=A JBossWS runtime has not been chosen
JBossWSFacetInstallPage_Title=JBossWS Facet
JBossWSFacetInstallPage_Description=Select JBossWS Web Service runtime
Modified: trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties
===================================================================
--- trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties 2008-07-08 21:56:22 UTC (rev 9101)
+++ trunk/ws/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/messages/JBossWSUI.properties 2008-07-09 05:27:58 UTC (rev 9102)
@@ -33,5 +33,5 @@
JBossWS_SWT_Field_Editor_Factory_Browse=Browse...
JBossWS_SWT_Field_Editor_Factory_Select_Home_Folder=Select JBossWS Home Folder
JBossWS_Runtime_List_Field_Editor_Name2=Name:
-JBossWS_Runtime_Check_Field_Default_Classpath=Configure JBoss Web Service Classpath
+JBossWS_Runtime_Check_Field_Default_Classpath=Customize JBoss Web Service runtime jars
JBossWS_Preference_Page_Runtimes=JBossWS Runtimes
\ No newline at end of file
16 years, 5 months
JBoss Tools SVN: r9101 - in trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src: main/org/jboss/ide/eclipse/archives/core/ant and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-08 17:56:22 -0400 (Tue, 08 Jul 2008)
New Revision: 9101
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ant/AntVariables.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IArchivesVFS.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IVariableManager.java
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveNodeImpl.java
Log:
allows fallback to linked resource variables and classpath variables if not found
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java 2008-07-08 19:59:08 UTC (rev 9100)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/eclipse/org/jboss/ide/eclipse/archives/core/model/other/internal/WorkspaceVFS.java 2008-07-08 21:56:22 UTC (rev 9101)
@@ -6,13 +6,17 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.jdt.core.JavaCore;
import org.jboss.ide.eclipse.archives.core.ArchivesCorePlugin;
import org.jboss.ide.eclipse.archives.core.model.IArchivesVFS;
import org.jboss.ide.eclipse.archives.core.model.IVariableManager;
import org.jboss.ide.eclipse.archives.core.xpl.StringSubstitutionEngineClone;
+import org.osgi.service.prefs.BackingStoreException;
public class WorkspaceVFS implements IArchivesVFS {
protected WorkspaceVariableManager manager;
@@ -28,17 +32,41 @@
public class WorkspaceVariableManager implements IVariableManager {
private static final String PREFIX = "org.jboss.ide.eclipse.archives.core.model.other.internal.WorkspaceVariableManager.";
+ private static final int TYPE_NONE = -1;
+ private static final int TYPE_CUSTOM = 0;
+ private static final int TYPE_LINK = 1;
+ private static final int TYPE_CLASSPATH = 2;
+
public boolean containsVariable(String variable) {
- IEclipsePreferences prefs = new DefaultScope().getNode(ArchivesCorePlugin.PLUGIN_ID);
- return prefs.get(PREFIX + variable, null) != null;
+ return getVariableLocation(variable) != -1;
}
public String getVariableValue(String variable) {
+ int type = getVariableLocation(variable);
+ if( type == TYPE_CUSTOM ) {
+ IEclipsePreferences prefs = new DefaultScope().getNode(ArchivesCorePlugin.PLUGIN_ID);
+ return prefs.get(PREFIX + variable, null);
+ }else if( type == TYPE_LINK ) {
+ return ResourcesPlugin.getWorkspace().getPathVariableManager().getValue(variable).toString();
+ } else if( type == TYPE_CLASSPATH ) {
+ return JavaCore.getClasspathVariable(variable).toString();
+ }
+ return null;
+ }
+
+ public int getVariableLocation(String variable) {
IEclipsePreferences prefs = new DefaultScope().getNode(ArchivesCorePlugin.PLUGIN_ID);
- return prefs.get(PREFIX + variable, null);
+ if( prefs.get(PREFIX + variable, null) != null )
+ return TYPE_CUSTOM;
+
+ if( ResourcesPlugin.getWorkspace().getPathVariableManager().getValue(variable) != null )
+ return TYPE_LINK;
+
+ if( JavaCore.getClasspathVariable(variable) != null)
+ return TYPE_CLASSPATH;
+ return TYPE_NONE;
}
-
public void setValue(String name, IPath value) throws CoreException {
try {
IEclipsePreferences prefs = new DefaultScope().getNode(ArchivesCorePlugin.PLUGIN_ID);
@@ -47,8 +75,9 @@
else
prefs.remove(PREFIX + name);
prefs.flush();
- } catch (org.osgi.service.prefs.BackingStoreException e) {
- e.printStackTrace();
+ } catch (BackingStoreException e) {
+ IStatus status = new Status(IStatus.ERROR, ArchivesCorePlugin.PLUGIN_ID, e.getMessage(), e);
+ throw new CoreException(status);
}
}
}
@@ -63,13 +92,13 @@
throws CoreException {
// set this project name
if( projectName != null ) {
- manager.setValue("current.project", new Path(projectName));
+ manager.setValue(IVariableManager.CURRENT_PROJECT, new Path(projectName));
}
String ret = engine.performStringSubstitution(expression, reportUndefinedVariables, manager);
if( projectName != null ) {
- manager.setValue("current.project", null);
+ manager.setValue(IVariableManager.CURRENT_PROJECT, null);
}
return ret;
}
@@ -110,7 +139,7 @@
return results;
}
- public String findProject(IPath absolutePath) {
+ public String getProjectName(IPath absolutePath) {
IProject[] projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
for( int i = 0; i < projects.length; i++ )
if( projects[i].getLocation().equals(absolutePath))
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ant/AntVariables.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ant/AntVariables.java 2008-07-08 19:59:08 UTC (rev 9100)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/ant/AntVariables.java 2008-07-08 21:56:22 UTC (rev 9101)
@@ -46,7 +46,7 @@
// TODO Auto-generated method stub
return null;
}
- public String findProject(IPath absolutePath) {
+ public String getProjectName(IPath absolutePath) {
// TODO Auto-generated method stub
return null;
}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IArchivesVFS.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IArchivesVFS.java 2008-07-08 19:59:08 UTC (rev 9100)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IArchivesVFS.java 2008-07-08 21:56:22 UTC (rev 9101)
@@ -46,7 +46,7 @@
*/
public IPath workspacePathToAbsolutePath(IPath path);
public IPath[] workspacePathToAbsolutePath(IPath[] paths);
- public String findProject(IPath absolutePath);
+ public String getProjectName(IPath absolutePath);
public String performStringSubstitution(String expression, boolean reportUndefinedVariables) throws CoreException;
public String performStringSubstitution(String expression, String projectName, boolean reportUndefinedVariables) throws CoreException;
}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IVariableManager.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IVariableManager.java 2008-07-08 19:59:08 UTC (rev 9100)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/IVariableManager.java 2008-07-08 21:56:22 UTC (rev 9101)
@@ -26,6 +26,7 @@
*
*/
public interface IVariableManager {
+ public static final String CURRENT_PROJECT = "current.project";
public boolean containsVariable(String variable);
public String getVariableValue(String variable);
}
Modified: trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveNodeImpl.java
===================================================================
--- trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveNodeImpl.java 2008-07-08 19:59:08 UTC (rev 9100)
+++ trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveNodeImpl.java 2008-07-08 21:56:22 UTC (rev 9101)
@@ -182,7 +182,7 @@
*/
public String getProjectName() {
IPath path = getProjectPath();
- return ArchivesCore.getInstance().getVFS().findProject(path);
+ return ArchivesCore.getInstance().getVFS().getProjectName(path);
}
/*
16 years, 5 months
JBoss Tools SVN: r9100 - 08.07.2008 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: anis
Date: 2008-07-08 15:59:08 -0400 (Tue, 08 Jul 2008)
New Revision: 9100
Added:
trunk/documentation/qa/reports/Tests 08.07.2008/SeamCommon_08.07.2008.htm
Log:
Added a file remotely
Added: trunk/documentation/qa/reports/Tests 08.07.2008/SeamCommon_08.07.2008.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 08.07.2008/SeamCommon_08.07.2008.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 08.07.2008/SeamCommon_08.07.2008.htm 2008-07-08 19:59:08 UTC (rev 9100)
@@ -0,0 +1,87 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>Seam common tests</TITLE>
+<STYLE>H1 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+H2 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+TR {
+ BACKGROUND-COLOR: #f5f5f5
+}
+TD {
+ BORDER-RIGHT: dimgray 1px solid; PADDING-RIGHT: 0.5em; BORDER-TOP: dimgray 1px solid; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.15em; BORDER-LEFT: dimgray 1px solid; PADDING-TOP: 0.15em; BORDER-BOTTOM: dimgray 1px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+HR {
+ COLOR: #999; BORDER-COLLAPSE: collapse
+}
+BODY {
+ PADDING-RIGHT: 2em; PADDING-LEFT: 2em; FONT-SIZE: 12px; PADDING-BOTTOM: 0em; COLOR: #333; LINE-HEIGHT: 100%; PADDING-TOP: 0em; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; max-width: 55em
+}
+TABLE {
+ BORDER-RIGHT: dimgray 0px solid; BORDER-TOP: dimgray 0px solid; BORDER-LEFT: dimgray 0px solid; COLOR: #4a5d75; BORDER-BOTTOM: dimgray 0px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif
+}
+</STYLE>
+
+<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
+<BODY bgColor=#f5f5f5>
+<CENTER>
+<H1>Execution Report</H1>
+<TABLE
+style="BORDER-TOP-WIDTH: 1pt; BORDER-LEFT-WIDTH: 1pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"
+cellSpacing=0 cellPadding=4 width="100%" align=center>
+ <TBODY>
+ <TR bgColor=gray>
+ <TD><B>Plan: Test Name</B></TD>
+ <TD><B>Status</B></TD>
+ <TD><B>Bug Number</B></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 01 Driver
+ selection tests</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">N/A</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 02 Seam goto
+ component</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 03 Add Seam
+ Runtime</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 04 Create
+ Seam Web project wizard tests</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2486</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 05 Seam
+ projects with same names creation</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 06 Seam
+ Validator for components.xml property name=...</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 07 Seam
+ Validator resolves EL with strings</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
16 years, 5 months
JBoss Tools SVN: r9099 - 08.07.2008 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: anis
Date: 2008-07-08 15:58:57 -0400 (Tue, 08 Jul 2008)
New Revision: 9099
Added:
trunk/documentation/qa/reports/Tests 08.07.2008/Seam20_08.07.2008.htm
Log:
Added a file remotely
Added: trunk/documentation/qa/reports/Tests 08.07.2008/Seam20_08.07.2008.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 08.07.2008/Seam20_08.07.2008.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 08.07.2008/Seam20_08.07.2008.htm 2008-07-08 19:58:57 UTC (rev 9099)
@@ -0,0 +1,200 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>Seam 2.0.2 runtime tests</TITLE>
+<STYLE>H1 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+H2 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+TR {
+ BACKGROUND-COLOR: #f5f5f5
+}
+TD {
+ BORDER-RIGHT: dimgray 1px solid; PADDING-RIGHT: 0.5em; BORDER-TOP: dimgray 1px solid; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.15em; BORDER-LEFT: dimgray 1px solid; PADDING-TOP: 0.15em; BORDER-BOTTOM: dimgray 1px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+HR {
+ COLOR: #999; BORDER-COLLAPSE: collapse
+}
+BODY {
+ PADDING-RIGHT: 2em; PADDING-LEFT: 2em; FONT-SIZE: 12px; PADDING-BOTTOM: 0em; COLOR: #333; LINE-HEIGHT: 100%; PADDING-TOP: 0em; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; max-width: 55em
+}
+TABLE {
+ BORDER-RIGHT: dimgray 0px solid; BORDER-TOP: dimgray 0px solid; BORDER-LEFT: dimgray 0px solid; COLOR: #4a5d75; BORDER-BOTTOM: dimgray 0px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif
+}
+</STYLE>
+
+<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
+<BODY bgColor=#f5f5f5>
+<CENTER>
+<H1>Execution Report</H1>
+<TABLE
+style="BORDER-TOP-WIDTH: 1pt; BORDER-LEFT-WIDTH: 1pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"
+cellSpacing=0 cellPadding=4 width="100%" align=center>
+ <TBODY>
+ <TR bgColor=gray>
+ <TD><B>Plan: Test Name</B></TD>
+ <TD><B>Status</B></TD>
+ <TD><B>Bug Number</B></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 01 Creating
+ test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2485</TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 02 Creating
+ test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2485</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 03 Checking
+ created test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 04 Checking
+ created test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 05 Running
+ test Seam war project on server</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 06 Running
+ test Seam ear project on server</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 07 Checking
+ instant changing - war</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 08 Checking
+ instant changing - ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 09 Adding
+ new form in test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 10 Adding
+ new form in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 11 Adding
+ new action in test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 12 Adding
+ new action in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 13 Adding
+ new conversation in test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2489</TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 14 Adding
+ new conversation in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2489</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 15 Adding
+ new entity in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 16 Seam hot
+ deployment for war</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 17 Seam hot
+ deployment for ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 18 Checking
+ created forms - for Seam war and ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 19 Checking
+ created actions - for Seam war and ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 20 Checking
+ created conversations - for Seam war and ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 21 Checking
+ created entities - for Seam ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 22 Renaming
+ Seam projects</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 23 Deleting
+ test Seam projects</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
16 years, 5 months
JBoss Tools SVN: r9098 - 08.07.2008 and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: anis
Date: 2008-07-08 15:58:26 -0400 (Tue, 08 Jul 2008)
New Revision: 9098
Added:
trunk/documentation/qa/reports/Tests 08.07.2008/Seam12_08.07.2008.htm
Log:
Added a file remotely
Added: trunk/documentation/qa/reports/Tests 08.07.2008/Seam12_08.07.2008.htm
===================================================================
--- trunk/documentation/qa/reports/Tests 08.07.2008/Seam12_08.07.2008.htm (rev 0)
+++ trunk/documentation/qa/reports/Tests 08.07.2008/Seam12_08.07.2008.htm 2008-07-08 19:58:26 UTC (rev 9098)
@@ -0,0 +1,200 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD><TITLE>Seam 1.2 runtime tests</TITLE>
+<STYLE>H1 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+H2 {
+ COLOR: #4a5d75; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+TR {
+ BACKGROUND-COLOR: #f5f5f5
+}
+TD {
+ BORDER-RIGHT: dimgray 1px solid; PADDING-RIGHT: 0.5em; BORDER-TOP: dimgray 1px solid; PADDING-LEFT: 0.5em; PADDING-BOTTOM: 0.15em; BORDER-LEFT: dimgray 1px solid; PADDING-TOP: 0.15em; BORDER-BOTTOM: dimgray 1px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; BACKGROUND-COLOR: transparent
+}
+HR {
+ COLOR: #999; BORDER-COLLAPSE: collapse
+}
+BODY {
+ PADDING-RIGHT: 2em; PADDING-LEFT: 2em; FONT-SIZE: 12px; PADDING-BOTTOM: 0em; COLOR: #333; LINE-HEIGHT: 100%; PADDING-TOP: 0em; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif; max-width: 55em
+}
+TABLE {
+ BORDER-RIGHT: dimgray 0px solid; BORDER-TOP: dimgray 0px solid; BORDER-LEFT: dimgray 0px solid; COLOR: #4a5d75; BORDER-BOTTOM: dimgray 0px solid; FONT-FAMILY: 'Lucida Grande', Geneva, Verdana, Arial, sans-serif
+}
+</STYLE>
+
+<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
+<BODY bgColor=#f5f5f5>
+<CENTER>
+<H1>Execution Report</H1>
+<TABLE
+style="BORDER-TOP-WIDTH: 1pt; BORDER-LEFT-WIDTH: 1pt; BORDER-BOTTOM-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"
+cellSpacing=0 cellPadding=4 width="100%" align=center>
+ <TBODY>
+ <TR bgColor=gray>
+ <TD><B>Plan: Test Name</B></TD>
+ <TD><B>Status</B></TD>
+ <TD><B>Bug Number</B></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 01 Creating
+ test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2485</TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 02 Creating
+ test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: red; BORDER-RIGHT-WIDTH: 1pt">Failed</TD>
+ <TD
+style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt">JBIDE-2485</TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 03 Checking
+ created test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 04 Checking
+ created test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 05 Running
+ test Seam war project on server</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 06 Running
+ test Seam ear project on server</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 07 Checking
+ instant changing - war</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 08 Checking
+ instant changing - ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 09 Adding
+ new form in test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 10 Adding
+ new form in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 11 Adding
+ new action in test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 12 Adding
+ new action in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 13 Adding
+ new conversation in test Seam war project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 14 Adding
+ new conversation in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 15 Adding
+ new entity in test Seam ear project</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 16 Seam hot
+ deployment for war</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 17 Seam hot
+ deployment for ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 18 Checking
+ created forms - for Seam war and ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 19 Checking
+ created actions - for Seam war and ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 20 Checking
+ created conversations - for Seam war and ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 21 Checking
+ created entities - for Seam ear</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=seashell>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 22 Renaming
+ Seam projects</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white size=1> </FONT></TD></TR>
+ <TR bgColor=papayawhip>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"> 23 Deleting
+ test Seam projects</TD>
+ <TD
+ style="BORDER-TOP-WIDTH: 1pt; COLOR: green; BORDER-RIGHT-WIDTH: 1pt">Passed</TD>
+ <TD style="BORDER-TOP-WIDTH: 1pt; BORDER-RIGHT-WIDTH: 1pt"><FONT
+ color=white
+size=1> </FONT></TD></TR></TBODY></TABLE></CENTER></BODY></HTML>
16 years, 5 months
JBoss Tools SVN: r9097 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: estherbin
Date: 2008-07-08 13:25:32 -0400 (Tue, 08 Jul 2008)
New Revision: 9097
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceInputTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceSelectTemplate.java
Log:
Fix bug:http://jira.jboss.com/jira/browse/JBIDE-2464
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java 2008-07-08 16:14:12 UTC (rev 9096)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesAbstractInplaceTemplate.java 2008-07-08 17:25:32 UTC (rev 9097)
@@ -82,6 +82,8 @@
/** The Constant VPE_USER_TOGGLE_ID_ATTR. */
public static final String VPE_USER_TOGGLE_ID_ATTR = "vpe-user-toggle-id";
+ private static final String DEFAULT_LAYOUT = "inline";
+
/** The button images. */
protected final Map<String, String> buttonImages = new HashMap<String, String>();
@@ -117,6 +119,13 @@
/** The view class. */
protected String viewClass;
+
+ protected String sourceCancelButtonIcon;
+
+ protected String sourceApplyButtonIcon;
+
+ protected String sourceLayout;
+
/**
* The Constructor.
@@ -149,7 +158,7 @@
if (this.isToggle) {
style = "position: relative;";
}
- rootSpan.setAttribute(HTML.ATTR_STYLE, style);
+ rootSpan.setAttribute(HTML.ATTR_STYLE, style + "; display:"+this.sourceLayout+"; ");
return rootSpan;
}
@@ -287,6 +296,11 @@
this.editClass = source.getAttribute("editClass");
this.viewClass = source.getAttribute("viewClass");
this.sourceValue = source.getAttribute(RichFaces.ATTR_VALUE);
+ this.sourceLayout = ComponentUtil.getAttribute(source, "layout");
+ if(ComponentUtil.isBlank(this.sourceLayout) || (!this.sourceLayout.equalsIgnoreCase(DEFAULT_LAYOUT) &&
+ !this.sourceLayout.equalsIgnoreCase("block")) ){
+ this.sourceLayout = DEFAULT_LAYOUT;
+ }
this.defaultLabel = source.getAttribute("defaultLabel");
if (ComponentUtil.isBlank(this.sourceValue)) {
this.sourceValue = DEFAULT_NULL_VALUE;
@@ -303,7 +317,7 @@
|| !isInKeySet(controlsHorizontalPositions, this.controlsHorizontalPosition)) {
this.controlsHorizontalPosition = CONTROLS_HORIZONTAL_POSITION_DEFAULT_VALUE;
}
-
+
prepareImages(source);
}
@@ -316,11 +330,11 @@
protected void prepareImages(Element source) {
for (String key : defaultButtonImages.keySet()) {
String value = ComponentUtil.getAttribute(source, key);
- // if (ComponentUtil.isNotBlank(value)) {
- // this.buttonImages.put(key, value);
- // } else {
- this.buttonImages.put(key, defaultButtonImages.get(key));
- // }
+ if(ComponentUtil.isNotBlank(value)){
+ this.buttonImages.put(key, value);
+ }else{
+ this.buttonImages.put(key, defaultButtonImages.get(key));
+ }
}
}
@@ -464,7 +478,12 @@
applyButtonImg.setAttribute(HTML.ATTR_TYPE, "image");
applyButtonImg.setAttribute(HTML.ATTR_CLASS, "rich-inplace"+getCssStylesSuffix()+"-control");
- ComponentUtil.setImg(applyButtonImg, buttonImages.get("saveControlIcon"));
+ final String saveControlIconImg = buttonImages.get("saveControlIcon");
+ if(defaultButtonImages.containsValue(saveControlIconImg)){
+ ComponentUtil.setImg(applyButtonImg, saveControlIconImg);
+ }else{
+ ComponentUtil.setImgFromResources(pageContext, applyButtonImg, saveControlIconImg,"");
+ }
applyButtonImg.setAttribute(VPE_USER_TOGGLE_ID_ATTR, String.valueOf(0));
final nsIDOMElement cancelButtonImg = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_INPUT);
@@ -472,8 +491,13 @@
cancelButtonImg.setAttribute(HTML.ATTR_TYPE, "image");
cancelButtonImg.setAttribute(HTML.ATTR_CLASS, "rich-inplace"+getCssStylesSuffix()+"-control");
cancelButtonImg.setAttribute(VPE_USER_TOGGLE_ID_ATTR, String.valueOf(0));
- ComponentUtil.setImg(cancelButtonImg, buttonImages.get("cancelControlIcon"));
+ final String cancelControlIconImg = buttonImages.get("cancelControlIcon");
+ if(defaultButtonImages.containsValue(cancelControlIconImg)){
+ ComponentUtil.setImg(cancelButtonImg,cancelControlIconImg);
+ }else{
+ ComponentUtil.setImgFromResources(pageContext, cancelButtonImg, saveControlIconImg, "");
+ }
cancelButtonImg.setAttribute(HTML.ATTR_TYPE, "image");
element.appendChild(divShadov);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceInputTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceInputTemplate.java 2008-07-08 16:14:12 UTC (rev 9096)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceInputTemplate.java 2008-07-08 17:25:32 UTC (rev 9097)
@@ -78,24 +78,28 @@
innerInput1.setAttribute(HTML.ATTR_TYPE, "button");
}
data = new VpeCreationData(rootSpan);
- final DOMTreeDumper dumper = new DOMTreeDumper();
+
if (!isToggle) {
final String value = getValue();
-
- if (value.equals(DEFAULT_NULL_VALUE)) {
- final nsIDOMElement pre = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_DIV);
-
- pre.appendChild(visualDocument.createTextNode("aaaa"));
- pre.setAttribute(HTML.ATTR_STYLE,"width:100px;");
- rootSpan.appendChild(pre);
- } else {
+//
+// if (value.equals(DEFAULT_NULL_VALUE)) {
+// final nsIDOMElement innerSpan = visualDocument.createElement(HtmlComponentUtil.HTML_TAG_SPAN);
+// rootSpan.appendChild(innerSpan);
+// innerSpan.appendChild(visualDocument.createTextNode(value));
+// innerSpan.setAttribute(HTML.ATTR_STYLE, "display: none");
+// inner
+// innerSpan.setAttribute(VPE_USER_TOGGLE_ID_ATTR, String.valueOf(this.isToggle));
+//// rootSpan.appendChild(visualDocument.createTextNode(value));
+//// rootSpan.setAttribute(HTML.ATTR_STYLE, rootSpan.getAttribute(HTML.ATTR_STYLE) +" ; display:none");
+// } else {
rootSpan.appendChild(visualDocument.createTextNode(value));
- }
+ // }
} else {
innerInput1.setAttribute(HTML.ATTR_VALUE, this.sourceValue);
}
- dumper.dumpToStream(System.err, rootSpan);
+// final DOMTreeDumper dumper = new DOMTreeDumper();
+// dumper.dumpToStream(System.err, rootSpan);
return data;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceSelectTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceSelectTemplate.java 2008-07-08 16:14:12 UTC (rev 9096)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesInplaceSelectTemplate.java 2008-07-08 17:25:32 UTC (rev 9097)
@@ -94,8 +94,8 @@
rootSpan.appendChild(visualDocument.createTextNode(getValue()));
}
data = new VpeCreationData(rootSpan);
- DOMTreeDumper d = new DOMTreeDumper();
- d.dumpToStream(System.err, rootSpan);
+// DOMTreeDumper d = new DOMTreeDumper();
+// d.dumpToStream(System.err, rootSpan);
return data;
}
16 years, 5 months
JBoss Tools SVN: r9096 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-07-08 12:14:12 -0400 (Tue, 08 Jul 2008)
New Revision: 9096
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java
Log:
junit for http://jira.jboss.com/jira/browse/JBIDE-2362
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java 2008-07-08 16:14:04 UTC (rev 9095)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JsfJbide2362Test.java 2008-07-08 16:14:12 UTC (rev 9096)
@@ -45,23 +45,23 @@
*/
public class JsfJbide2362Test extends VpeTest {
- public static final String IMPORT_PROJECT_NAME = "jsfTest";
+ public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
- private static final String SELECTION_PAGE_NAME = "JBIDE/2362/selection.jsp";
- private static final String EDITING_PAGE_NAME = "JBIDE/2362/editing.jsp";
+ private static final String SELECTION_PAGE_NAME = "JBIDE/2362/selection.jsp"; //$NON-NLS-1$
+ private static final String EDITING_PAGE_NAME = "JBIDE/2362/editing.jsp"; //$NON-NLS-1$
private static final List<String> ELEMENTS;
static {
ELEMENTS = new ArrayList<String>();
- ELEMENTS.add("h:outputText");
- ELEMENTS.add("h:outputFormat");
- ELEMENTS.add("h:outputLabel");
- ELEMENTS.add("h:outputLink");
- ELEMENTS.add("h:inputText");
- ELEMENTS.add("h:inputTextarea");
- ELEMENTS.add("h:inputSecret");
- ELEMENTS.add("h:inputHidden");
+ ELEMENTS.add("h:outputText"); //$NON-NLS-1$
+ ELEMENTS.add("h:outputFormat"); //$NON-NLS-1$
+ ELEMENTS.add("h:outputLabel"); //$NON-NLS-1$
+ ELEMENTS.add("h:outputLink"); //$NON-NLS-1$
+ ELEMENTS.add("h:inputText"); //$NON-NLS-1$
+ ELEMENTS.add("h:inputTextarea"); //$NON-NLS-1$
+ ELEMENTS.add("h:inputSecret"); //$NON-NLS-1$
+ ELEMENTS.add("h:inputHidden"); //$NON-NLS-1$
}
public JsfJbide2362Test(String name) {
@@ -214,10 +214,10 @@
int offset;
if (node.getNodeType() == node.ELEMENT_NODE) {
offset = ((IDOMElement) node).getStartEndOffset() - 1;
- insertedString = " value=\"x\" ";
+ insertedString = " value=\"x\" "; //$NON-NLS-1$
} else {
offset = ((IDOMNode) node).getStartOffset();
- insertedString = "someText";
+ insertedString = "someText"; //$NON-NLS-1$
}
for (int j = 0; j < insertedString.length(); j++) {
16 years, 5 months