JBoss Tools SVN: r12103 - trunk/portlet/plugins/org.jboss.tools.portlet.ui/src/org/jboss/tools/portlet/ui/internal/project/facet.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-11-27 17:45:52 -0500 (Thu, 27 Nov 2008)
New Revision: 12103
Modified:
trunk/portlet/plugins/org.jboss.tools.portlet.ui/src/org/jboss/tools/portlet/ui/internal/project/facet/PortletFacetInstallPage.java
Log:
JBIDE-2792 Add runtime support for portal
Modified: trunk/portlet/plugins/org.jboss.tools.portlet.ui/src/org/jboss/tools/portlet/ui/internal/project/facet/PortletFacetInstallPage.java
===================================================================
--- trunk/portlet/plugins/org.jboss.tools.portlet.ui/src/org/jboss/tools/portlet/ui/internal/project/facet/PortletFacetInstallPage.java 2008-11-27 20:18:43 UTC (rev 12102)
+++ trunk/portlet/plugins/org.jboss.tools.portlet.ui/src/org/jboss/tools/portlet/ui/internal/project/facet/PortletFacetInstallPage.java 2008-11-27 22:45:52 UTC (rev 12103)
@@ -90,7 +90,8 @@
if (checkRuntimes) {
implementationLibrary = IPortletConstants.LIBRARIES_PROVIDED_BY_SERVER_RUNTIME;
} else {
- implementationLibrary = IPortletConstants.LIBRARY_PROVIDED_BY_JBOSS_TOOLS;
+ //implementationLibrary = IPortletConstants.LIBRARY_PROVIDED_BY_JBOSS_TOOLS;
+ implementationLibrary = IPortletConstants.USER_LIBRARY;
}
return implementationLibrary;
}
@@ -132,7 +133,7 @@
});
implementationLibraryCombo = new Combo(composite, SWT.READ_ONLY);
implementationLibraryCombo.add(IPortletConstants.USER_LIBRARY);
- implementationLibraryCombo.add(IPortletConstants.LIBRARY_PROVIDED_BY_JBOSS_TOOLS);
+ //implementationLibraryCombo.add(IPortletConstants.LIBRARY_PROVIDED_BY_JBOSS_TOOLS);
gd = new GridData(GridData.FILL_HORIZONTAL);
implementationLibraryCombo.setLayoutData(gd);
boolean checkRuntimes = PortletCoreActivator.getDefault()
@@ -143,13 +144,15 @@
.add(IPortletConstants.LIBRARIES_PROVIDED_BY_SERVER_RUNTIME);
implementationLibraryCombo.setText(implementationLibrary);
} else {
- if (IPortletConstants.LIBRARIES_PROVIDED_BY_SERVER_RUNTIME
- .equals(implementationLibrary)) {
+ //if (IPortletConstants.LIBRARIES_PROVIDED_BY_SERVER_RUNTIME
+ // .equals(implementationLibrary)) {
+ //implementationLibraryCombo
+ // .setText(IPortletConstants.LIBRARY_PROVIDED_BY_JBOSS_TOOLS);
implementationLibraryCombo
- .setText(IPortletConstants.LIBRARY_PROVIDED_BY_JBOSS_TOOLS);
- } else {
- implementationLibraryCombo.setText(implementationLibrary);
- }
+ .setText(IPortletConstants.USER_LIBRARY);
+ //} else {
+ // implementationLibraryCombo.setText(implementationLibrary);
+ //}
}
model.setProperty(IPortletConstants.IMPLEMENTATION_LIBRARY,
implementationLibraryCombo
16 years, 1 month
JBoss Tools SVN: r12102 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-11-27 15:18:43 -0500 (Thu, 27 Nov 2008)
New Revision: 12102
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
Log:
JBIDE-3163
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2008-11-27 18:26:19 UTC (rev 12101)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2008-11-27 20:18:43 UTC (rev 12102)
@@ -16,6 +16,7 @@
import org.eclipse.swt.graphics.Point;
import org.eclipse.wst.sse.core.StructuredModelManager;
import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
+import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
@@ -162,11 +163,23 @@
public static Node getSourceNodeByPosition(IStructuredModel model,
int position) {
-
+ //if we state at the end of text node, model will return
+ //for us next node or null if on page exists only text node,
+ //but we still in the end of text node, so we should check
+ //this situation
+
// get source node by position
- Node node = (Node) model.getIndexedRegion(position);
+ //see jbide-3163
+ IndexedRegion node = model.getIndexedRegion(position);
+ if(node==null && position>=1) {
+ node = model.getIndexedRegion(position-1);
+ }else if((node!=null) &&(((Node)node).getNodeType()!=Node.TEXT_NODE)
+ && (node.getStartOffset()==position)
+ && (position>=1)) {
+ node = model.getIndexedRegion(position-1);
+ }
- return node;
+ return (Node)node;
}
/**
16 years, 1 month
JBoss Tools SVN: r12101 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-11-27 13:26:19 -0500 (Thu, 27 Nov 2008)
New Revision: 12101
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2168
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2008-11-27 18:10:54 UTC (rev 12100)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2008-11-27 18:26:19 UTC (rev 12101)
@@ -39,6 +39,7 @@
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;
+import org.jboss.tools.seam.ui.SeamGuiPlugin;
import org.jboss.tools.seam.ui.SeamUIMessages;
import org.jboss.tools.seam.ui.internal.project.facet.IValidator;
import org.jboss.tools.seam.ui.internal.project.facet.ValidatorFactory;
@@ -305,7 +306,7 @@
return;
}
}catch(JavaModelException ex){
- // do nothing
+ SeamGuiPlugin.getPluginLog().logError(ex);
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2008-11-27 18:10:54 UTC (rev 12100)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2008-11-27 18:26:19 UTC (rev 12101)
@@ -28,6 +28,7 @@
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;
+import org.jboss.tools.seam.ui.SeamGuiPlugin;
import org.jboss.tools.seam.ui.SeamUIMessages;
import org.jboss.tools.seam.ui.internal.project.facet.IValidator;
import org.jboss.tools.seam.ui.internal.project.facet.ValidatorFactory;
@@ -187,7 +188,7 @@
return;
}
}catch(JavaModelException ex){
- // do nothing
+ SeamGuiPlugin.getPluginLog().logError(ex);
}
}
setErrorMessage(null);
16 years, 1 month
JBoss Tools SVN: r12100 - in trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2008-11-27 13:10:54 -0500 (Thu, 27 Nov 2008)
New Revision: 12100
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2168
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2008-11-27 17:30:34 UTC (rev 12099)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2008-11-27 18:10:54 UTC (rev 12100)
@@ -423,6 +423,9 @@
public static String VIEW_FOLDER_FILED_EDITOR;
+ public static String POJO_CLASS_ALREADY_EXISTS;
+ public static String ENTITY_CLASS_ALREADY_EXISTS;
+
public static String FIND_DECLARATIONS_ACTION_ACTION_NAME;
public static String FIND_DECLARATIONS_ACTION_DESCRIPTION;
public static String FIND_DECLARATIONS_ACTION_MESSAGE;
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2008-11-27 17:30:34 UTC (rev 12099)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2008-11-27 18:10:54 UTC (rev 12100)
@@ -238,4 +238,6 @@
SeamSearchVisitor_scanning= Scanning file {1} of {2} in Seam project ''{0}''
SeamSearch="Seam Search - "
SeamQuickFixFindDeclarations=Find Seam declarations for ''{0}''
-SeamQuickFixFindReferences=Find Seam references for ''{0}''
\ No newline at end of file
+SeamQuickFixFindReferences=Find Seam references for ''{0}''
+POJO_CLASS_ALREADY_EXISTS=Such POJO class already exists!
+ENTITY_CLASS_ALREADY_EXISTS=Such entity class already exists!
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2008-11-27 17:30:34 UTC (rev 12099)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2008-11-27 18:10:54 UTC (rev 12100)
@@ -24,6 +24,9 @@
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.IStructuredSelection;
@@ -32,6 +35,7 @@
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;
@@ -288,7 +292,23 @@
setPageComplete(true);
return;
}
-
+
+ IJavaProject javaProject = EclipseResourceUtil.getJavaProject(project);
+
+ if(javaProject != null){
+ try{
+ IType component = javaProject.findType((String)editorRegistry.get(IParameter.SEAM_PACKAGE_NAME).getValue()+"."+editorRegistry.get(IParameter.SEAM_LOCAL_INTERFACE_NAME).getValue());
+ if(component != null){
+ setErrorMessage(null);
+ setMessage(SeamUIMessages.POJO_CLASS_ALREADY_EXISTS, IMessageProvider.WARNING);
+ setPageComplete(true);
+ return;
+ }
+ }catch(JavaModelException ex){
+ // do nothing
+ }
+ }
+
setErrorMessage(null);
setMessage(getDefaultMessageText());
setPageComplete(true);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2008-11-27 17:30:34 UTC (rev 12099)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2008-11-27 18:10:54 UTC (rev 12100)
@@ -17,9 +17,14 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.jface.dialogs.IMessageProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.widgets.Composite;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;
@@ -169,7 +174,22 @@
setPageComplete(false);
return;
}
-
+
+ IJavaProject javaProject = EclipseResourceUtil.getJavaProject(project);
+
+ if(javaProject != null){
+ try{
+ IType component = javaProject.findType((String)editorRegistry.get(IParameter.SEAM_PACKAGE_NAME).getValue()+"."+editorRegistry.get(IParameter.SEAM_ENTITY_CLASS_NAME).getValue());
+ if(component != null){
+ setErrorMessage(null);
+ setMessage(SeamUIMessages.ENTITY_CLASS_ALREADY_EXISTS, IMessageProvider.WARNING);
+ setPageComplete(true);
+ return;
+ }
+ }catch(JavaModelException ex){
+ // do nothing
+ }
+ }
setErrorMessage(null);
setMessage(getDefaultMessageText());
setPageComplete(true);
16 years, 1 month
JBoss Tools SVN: r12099 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2008-11-27 12:30:34 -0500 (Thu, 27 Nov 2008)
New Revision: 12099
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
code adjustment
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-11-27 16:52:31 UTC (rev 12098)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-11-27 17:30:34 UTC (rev 12099)
@@ -1309,14 +1309,7 @@
&& (binding.getParameterizedCommand() != null)
&& (binding.getParameterizedCommand()
.getCommand() != null)) {
-
keyBindingPressed = true;
-
- if (ContentAssistCommandAdapter.CONTENT_PROPOSAL_COMMAND
- .equals(binding.getParameterizedCommand()
- .getCommand().getId())) {
- keyboardEvent.type = SWT.NONE;
- }
}
}
}
@@ -1344,9 +1337,9 @@
* JBIDE-2670
*/
keyEvent.preventDefault();
- switcher
- .startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_VISUAL);
- try {
+// switcher
+// .startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_VISUAL);
+// try {
/*
* Edward
*/
@@ -1357,9 +1350,9 @@
// sourceSelectionChanged(true);
// visualSelectionController.setCaretEnabled(true);
- } finally {
- switcher.stopActiveEditor();
- }
+// } finally {
+// switcher.stopActiveEditor();
+// }
}
}
16 years, 1 month
JBoss Tools SVN: r12098 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-11-27 11:52:31 -0500 (Thu, 27 Nov 2008)
New Revision: 12098
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
Log:
JUnit tests for some richfaces components were updated.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2008-11-27 16:52:28 UTC (rev 12097)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesCalendarTemplate.java 2008-11-27 16:52:31 UTC (rev 12098)
@@ -625,7 +625,8 @@
.getAbsoluteResourcePath(DEFAULT_BUTTON_ICON);
}
}
-
+ buttonIcon = buttonIcon.replace('\\', '/');
+
// buttonClass
buttonClass = sourceElement.getAttribute(RichFaces.ATTR_BUTTON_CLASS);
16 years, 1 month
JBoss Tools SVN: r12097 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2008-11-27 11:52:28 -0500 (Thu, 27 Nov 2008)
New Revision: 12097
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/datascroller.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/extendedDataTable.xhtml.xml
Log:
JUnit tests for some richfaces components were updated.
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/datascroller.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/datascroller.xhtml.xml 2008-11-27 11:34:20 UTC (rev 12096)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/datascroller.xhtml.xml 2008-11-27 16:52:28 UTC (rev 12097)
@@ -1,31 +1,33 @@
<tests>
<test id="datascroller">
- <DIV CLASS="dr-div-heigth" STYLE="width: 400px;">
- <TABLE CELLSPACING="1" CELLPADDING="0" BORDER="0"
- CLASS="dr-dscr-t dr-tbpnl-cntnt">
+ <DIV ALIGN="center" CLASS="rich-datascr">
+ <TABLE CELLSPACING="1" CELLPADDING="0" BORDER="0" ALIGN="center"
+ CLASS="rich-dtascroller-table">
<TBODY>
<TR>
- <TD ALIGN="center" CLASS="dr-dscr-button"><<</TD>
- <TD ALIGN="center" CLASS="dr-dscr-button"><</TD>
- <TD ALIGN="center" CLASS="dr-dscr-button"><BR />
- </TD>
- <TD ALIGN="center" CLASS="dr-dscr-act">1</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">2</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">3</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">4</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">5</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">6</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">7</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">8</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">9</TD>
- <TD ALIGN="center" CLASS="dr-dscr-inact">10</TD>
- <TD ALIGN="center" CLASS="dr-dscr-button"><BR />
- </TD>
- <TD ALIGN="center" CLASS="dr-dscr-button">></TD>
- <TD ALIGN="center" CLASS="dr-dscr-button">>></TD>
- </TR>
- </TBODY>
- </TABLE>
+ <TD ALIGN="center" CLASS="rich-datascr-button rich-datascr-button-dsbld">««</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-button rich-datascr-button-dsbld">«</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-button rich-datascr-button-dsbld">
+ <BR _MOZ_DIRTY="" TYPE="_moz"/>
+ </TD>
+ <TD ALIGN="center" CLASS="rich-datascr-act"> 1</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 2</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 3</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 4</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 5</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 6</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 7</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 8</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 9</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-inact"> 10</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-button">
+ <BR _MOZ_DIRTY="" TYPE="_moz"/>
+ </TD>
+ <TD ALIGN="center" CLASS="rich-datascr-button">»</TD>
+ <TD ALIGN="center" CLASS="rich-datascr-button">»»</TD>
+ </TR>
+ </TBODY>
+ </TABLE>
</DIV>
</test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/extendedDataTable.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/extendedDataTable.xhtml.xml 2008-11-27 11:34:20 UTC (rev 12096)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/extendedDataTable.xhtml.xml 2008-11-27 16:52:28 UTC (rev 12097)
@@ -13,66 +13,58 @@
<TH CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<SPAN>
- <SPAN>Flag</SPAN>
+ <SPAN> Flag</SPAN>
</SPAN>
</TH>
<TH CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<SPAN>
- <SPAN>State Name</SPAN>
+ <SPAN> State Name</SPAN>
</SPAN>
<IMG STYLE="vertical-align: middle;"
SRC="/.*resources/extendedDataTable/sortable.gif/" />
-
</TH>
<TH CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<SPAN>
- <SPAN>State Capital</SPAN>
+ <SPAN> State Capital</SPAN>
</SPAN>
<IMG STYLE="vertical-align: middle;"
SRC="/.*resources/extendedDataTable/sortable.gif/" />
-
</TH>
<TH CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<SPAN>
- <SPAN>Time Zone</SPAN>
+ <SPAN> Time Zone</SPAN>
</SPAN>
</TH>
<TH CLASS="dr-table-subheadercell rich-table-subheadercell">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TH>
</TR>
<TR CLASS="dr-table-subheader rich-table-subheader">
<TD CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
<TD CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<DIV STYLE="padding: 4px;">
<INPUT TYPE="text" CLASS="extendedTable-input" />
-
</DIV>
</TD>
<TD CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<DIV STYLE="padding: 4px;">
<INPUT TYPE="text" CLASS="extendedTable-input" />
-
</DIV>
</TD>
<TD CLASS="dr-table-subheadercell rich-table-subheadercell"
SCOP="col">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
<TD CLASS="dr-table-subheadercell rich-table-subheadercell">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
</TR>
</THEAD>
@@ -82,30 +74,25 @@
CLASS="dr-table-subfootercell rich-table-subfootercell dr-table-subfooter rich-table-subfooter"
SCOP="col">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
<TD
CLASS="dr-table-subfootercell rich-table-subfootercell dr-table-subfooter rich-table-subfooter"
SCOP="col">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
<TD
CLASS="dr-table-subfootercell rich-table-subfootercell dr-table-subfooter rich-table-subfooter"
SCOP="col">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
<TD
CLASS="dr-table-subfootercell rich-table-subfootercell dr-table-subfooter rich-table-subfooter"
SCOP="col">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
<TD
CLASS="dr-table-subfootercell rich-table-subfootercell dr-table-subfooter rich-table-subfooter">
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
</TR>
</TFOOT>
@@ -124,21 +111,21 @@
<TR CLASS="dr-body-table-tr">
<TD SORTABLE="false" CLASS="dr-table-cell rich-table-cell">
<IMG
- SRC="/.*org.jboss.tools.vpe/ve/unresolved_image.gif/"
+ SRC="/.*ve/unresolved_image.gif/"
STYLE="-moz-user-modify: read-write;" />
</TD>
<TD WIDTH="170" SORTABLE="true" SORTBY="#{cap.state}"
FILTERBY="#{cap.state}" FILTEREVENT="onkeyup"
CLASS="dr-table-cell rich-table-cell">
- <SPAN>#{cap.state}</SPAN>
+ <SPAN> #{cap.state}</SPAN>
</TD>
<TD WIDTH="170" SORTABLE="true" SORTBY="#{cap.name}"
FILTERBY="#{cap.state}" FILTEREVENT="onkeyup"
CLASS="dr-table-cell rich-table-cell">
- <SPAN>#{cap.name}</SPAN>
+ <SPAN> #{cap.name}</SPAN>
</TD>
<TD SORTABLE="false" CLASS="dr-table-cell rich-table-cell">
- <SPAN>#{cap.timeZone}</SPAN>
+ <SPAN> #{cap.timeZone}</SPAN>
</TD>
</TR>
</TBODY>
@@ -148,7 +135,6 @@
<DIV STYLE="overflow: scroll; width: 17px; height: 100%;">
</DIV>
<BR _MOZ_DIRTY="" TYPE="_moz" />
-
</TD>
</TR>
</TBODY>
16 years, 1 month
JBoss Tools SVN: r12096 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2008-11-27 06:34:20 -0500 (Thu, 27 Nov 2008)
New Revision: 12096
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3268
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java 2008-11-27 08:49:56 UTC (rev 12095)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeAbstractTemplate.java 2008-11-27 11:34:20 UTC (rev 12096)
@@ -1006,7 +1006,10 @@
public boolean isRecreateAtAttrChange(VpePageContext pageContext,
Element sourceElement, nsIDOMDocument visualDocument,
nsIDOMElement visualNode, Object data, String name, String value) {
- return false;
+
+ // FIXED https://jira.jboss.org/jira/browse/JBIDE-3268 by sdzmitrovich,
+ // changed default value to true
+ return true;
}
/**
16 years, 1 month
JBoss Tools SVN: r12095 - trunk/seam/plugins/org.jboss.tools.seam.core.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-11-27 03:49:56 -0500 (Thu, 27 Nov 2008)
New Revision: 12095
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
Log:
JBIDE-3272 Users cannot change projects from Seam 2.0 to Seam 2.1
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2008-11-27 08:48:14 UTC (rev 12094)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2008-11-27 08:49:56 UTC (rev 12095)
@@ -181,8 +181,8 @@
</delegate>
</action>
<action facet="jst.seam" type="version-change">
- <delegate class="org.jboss.tools.seam.internal.core.project.facet.SeamFacetVersionChangeDelegate"/>
- </action>
+ <delegate class="org.jboss.tools.seam.internal.core.project.facet.SeamFacetVersionChangeDelegate"/>
+ </action>
<event-handler
facet="jst.seam"
type="POST_INSTALL"
16 years, 1 month
JBoss Tools SVN: r12094 - in trunk/seam/plugins/org.jboss.tools.seam.core: src/org/jboss/tools/seam/internal/core/project/facet and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-11-27 03:48:14 -0500 (Thu, 27 Nov 2008)
New Revision: 12094
Added:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetVersionChangeDelegate.java
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
Log:
JBIDE-3272 Users cannot change projects from Seam 2.0 to Seam 2.1
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2008-11-27 07:27:27 UTC (rev 12093)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2008-11-27 08:48:14 UTC (rev 12094)
@@ -180,6 +180,9 @@
class="org.jboss.tools.seam.internal.core.project.facet.SeamFacetUninstallDelegate">
</delegate>
</action>
+ <action facet="jst.seam" type="version-change">
+ <delegate class="org.jboss.tools.seam.internal.core.project.facet.SeamFacetVersionChangeDelegate"/>
+ </action>
<event-handler
facet="jst.seam"
type="POST_INSTALL"
Added: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetVersionChangeDelegate.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetVersionChangeDelegate.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetVersionChangeDelegate.java 2008-11-27 08:48:14 UTC (rev 12094)
@@ -0,0 +1,55 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.seam.internal.core.project.facet;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.internal.dialogs.PropertyDialog;
+import org.eclipse.wst.common.project.facet.core.IDelegate;
+import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
+
+/**
+ * This delegate changes Seam facet version
+ *
+ * @author snjeza
+ */
+public class SeamFacetVersionChangeDelegate implements IDelegate {
+
+ /**
+ * @see
+ * IDelegate.execute(IProject,IProjectFacetVersion,Object,IProgressMonitor
+ * )
+ */
+ public void execute(final IProject project, IProjectFacetVersion fv,
+ Object config, IProgressMonitor monitor) throws CoreException {
+
+ Display.getDefault().asyncExec(new Runnable() {
+
+ public void run() {
+ Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
+ IResource resource = project;
+ PropertyDialog dialog = PropertyDialog.createDialogOn(shell, "org.jboss.tools.seam.ui.propertyPages.SeamSettingsPreferencePage", resource);
+
+ if (dialog != null) {
+ dialog.open();
+ }
+ }
+
+ });
+
+ }
+
+}
16 years, 1 month