JBoss Tools SVN: r13642 - trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-02-17 13:29:19 -0500 (Tue, 17 Feb 2009)
New Revision: 13642
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssClassNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/WizardTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3500
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssClassNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssClassNewWizardTest.java 2009-02-17 16:11:08 UTC (rev 13641)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/CssClassNewWizardTest.java 2009-02-17 18:29:19 UTC (rev 13642)
@@ -7,7 +7,9 @@
public CssClassNewWizardTest(){
super("org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSClassWizard");
}
+
public void testCssClassNewWizardTestIsCreated() {
+ needClose = false;
wizardIsCreated();
}
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-02-17 16:11:08 UTC (rev 13641)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-02-17 18:29:19 UTC (rev 13642)
@@ -73,7 +73,7 @@
wizard.performFinish();
- dialog.close();
+ //dialog.close();
JobUtils.waitForIdle();
@@ -111,7 +111,7 @@
((IWorkbenchWizard)wizard).init(PlatformUI.getWorkbench(), selection);
- support.setAttributeValue(0, "name", "faces-config22");
+ support.setAttributeValue(0, "name", "faces-config11");
support.setAttributeValue(0, "folder", "/TestWizards/WebContent/WEB-INF");
support.setAttributeValue(0, "register in web.xml", "yes");
@@ -123,6 +123,8 @@
boolean canFinish = wizard.canFinish();
+ System.out.println("Message - "+dialog.getCurrentPage().getErrorMessage());
+
assertTrue("Finish button is disabled.", canFinish);
wizard.performFinish();
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/WizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/WizardTest.java 2009-02-17 16:11:08 UTC (rev 13641)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/WizardTest.java 2009-02-17 18:29:19 UTC (rev 13642)
@@ -5,8 +5,6 @@
import junit.framework.TestCase;
import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.jface.wizard.IWizardPage;
@@ -17,9 +15,7 @@
import org.jboss.tools.common.model.ui.wizard.newfile.NewFileContextEx;
import org.jboss.tools.common.model.ui.wizard.newfile.NewFileWizardEx;
import org.jboss.tools.common.util.WorkbenchUtils;
-import org.jboss.tools.test.util.JobUtils;
-import org.jboss.tools.test.util.ProjectImportTestSetup;
-import org.jboss.tools.test.util.ResourcesUtils;
+import org.jboss.tools.jst.jsp.outline.cssdialog.CSSClassDialog;
public abstract class WizardTest extends TestCase {
protected String id;
@@ -27,6 +23,8 @@
protected boolean projectRemovalRequired = false;
protected WizardDialog dialog;
+ protected boolean needClose = true;
+
public WizardTest(String id){
this.id = id;
}
@@ -34,43 +32,50 @@
@Override
protected void setUp() throws Exception {
super.setUp();
-
+
project = new TestWizardsProject().importProject();
}
-
+
public void wizardIsCreated() {
IWizard wizard = WorkbenchUtils.findWizardByDefId(id);
+ ArrayList<IProject> list = new ArrayList<IProject>();
+
+ StructuredSelection selection = new StructuredSelection(list);
+
+ ((IWorkbenchWizard)wizard).init(PlatformUI.getWorkbench(), selection);
+
dialog = new WizardDialog(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
wizard);
dialog.setBlockOnOpen(false);
+
dialog.open();
-// System.out.println("\nWizard ID - "+id);
-// System.out.println("Wizard Class - "+wizard.getClass());
-//
-// System.out.println("Pages - "+wizard.getPages().length);
-//
-// for(int i = 0; i < wizard.getPages().length;i++){
-// System.out.println("Wizard Page Class - "+wizard.getPages()[i].getClass());
-// }
-
try {
IWizardPage startPage = wizard.getStartingPage();
assertNotNull(startPage);
+
+
}catch(Exception ex){
+ ex.printStackTrace();
fail(ex.getMessage());
- } finally {
- dialog.close();
+ }finally{
+ if(needClose)
+ dialog.close();
}
-
}
public IWizard getWizard(){
IWizard wizard = WorkbenchUtils.findWizardByDefId(id);
+ ArrayList<IProject> list = new ArrayList<IProject>();
+
+ StructuredSelection selection = new StructuredSelection(list);
+
+ ((IWorkbenchWizard)wizard).init(PlatformUI.getWorkbench(), selection);
+
dialog = new WizardDialog(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
wizard);
@@ -164,7 +169,7 @@
// Assert Finish button is enabled by default if wizard is called on Project
assertTrue("Finish button is disabled at first wizard page.", canFinish);
- dialog.close();
+ wizard.performCancel();
// Assert Finish button is disabled and error is present if
// Folder field is empty
@@ -174,7 +179,7 @@
canFinish = wizard.canFinish();
assertFalse("Finish button is enabled when folder field is empty.", canFinish);
- dialog.close();
+ wizard.performCancel();
// Assert Finish button is disabled and error is present if
@@ -185,7 +190,7 @@
canFinish = wizard.canFinish();
assertFalse("Finish button is enabled when folders field points to folder that does not exist", canFinish);
- dialog.close();
+ wizard.performCancel();
// Assert Finish button is disabled and error is present if
// Folder field is correct
@@ -195,7 +200,7 @@
canFinish = wizard.canFinish();
assertFalse("Finish button is enabled when name field is empty.", canFinish);
- dialog.close();
+ wizard.performCancel();
// Assert Finish button is disabled and error is present if
// Folder field is correct
@@ -205,7 +210,7 @@
canFinish = wizard.canFinish();
assertFalse("Finish button is enabled when name field contains forbiden characters.", canFinish);
- dialog.close();
+ wizard.performCancel();
// Assert Finish button is disabled and error is present if
// Folder field is correct
@@ -215,6 +220,6 @@
canFinish = wizard.canFinish();
assertFalse("Finish button is enabled when name field contains file name that already exists.", canFinish);
- dialog.close();
+ wizard.performCancel();
}
}
17 years, 1 month
JBoss Tools SVN: r13641 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-17 11:11:08 -0500 (Tue, 17 Feb 2009)
New Revision: 13641
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3799
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 2009-02-17 16:03:52 UTC (rev 13640)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2009-02-17 16:11:08 UTC (rev 13641)
@@ -268,7 +268,8 @@
}
IDOMDocument sourceDocument = sourceModel.getDocument();
- visualBuilder.refreshExternalLinks();
+ // FIXED FOR JBIDE-3799 by sdzmitrovich, moved calling of this method to buid dom
+ // visualBuilder.refreshExternalLinks();
visualBuilder.buildDom(sourceDocument);
VpeTemplateManager.getInstance().addTemplateListener(this);
17 years, 1 month
JBoss Tools SVN: r13640 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-17 11:03:52 -0500 (Tue, 17 Feb 2009)
New Revision: 13640
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3799
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-02-17 14:51:12 UTC (rev 13639)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-02-17 16:03:52 UTC (rev 13640)
@@ -210,6 +210,8 @@
// better
// pageContext.installIncludeElements();
+ refreshExternalLinks();
+
// if (isFacelet()) {
Element root = FaceletUtil.findComponentElement(sourceDocument.getDocumentElement());
if (root != null) {
@@ -232,7 +234,8 @@
super.dispose();
pageContext.clearAll();
- refreshExternalLinks();
+ // FIXED FOR JBIDE-3799 by sdzmitrovich, moved calling of this method to buid dom
+ // refreshExternalLinks();
pageContext.getBundle().refreshRegisteredBundles();
nsIDOMNodeList children = getContentArea().getChildNodes();
17 years, 1 month
JBoss Tools SVN: r13639 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-17 09:51:12 -0500 (Tue, 17 Feb 2009)
New Revision: 13639
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
Log:
Have been applied patch of yzhishko. It corrects resizer of rich:datascroller
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2009-02-17 14:29:21 UTC (rev 13638)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/templates/vpe-templates-richfaces.xml 2009-02-17 14:51:12 UTC (rev 13639)
@@ -1,154 +1,154 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<vpe:templates xmlns:vpe="http://org.jboss.org/tools/vpe/template"
+<?xml version="1.0" encoding="UTF-8"?>
+<vpe:templates xmlns:vpe="http://org.jboss.org/tools/vpe/template"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <vpe:template-taglib uri="http://richfaces.org/rich" prefix="rich" />
- <vpe:template-taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich" />
-
-
- <vpe:tag name="rich:paint2D" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPaint2DTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"></vpe:drop>
- </vpe:dnd>
- <vpe:pseudoContent defaultText="no" />
- </vpe:template>
+ <vpe:template-taglib uri="http://richfaces.org/rich" prefix="rich" />
+ <vpe:template-taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich" />
+
+
+ <vpe:tag name="rich:paint2D" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPaint2DTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"></vpe:drop>
+ </vpe:dnd>
+ <vpe:pseudoContent defaultText="no" />
+ </vpe:template>
</vpe:tag>
- <vpe:tag name="rich:gmap" case-sensitive="yes">
- <vpe:template children="no" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesGMapTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"></vpe:drop>
- </vpe:dnd>
- </vpe:template>
+ <vpe:tag name="rich:gmap" case-sensitive="yes">
+ <vpe:template children="no" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesGMapTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"></vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
</vpe:tag>
- <vpe:tag name="rich:tree" case-sensitive="yes">
- <vpe:template children="yes" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTreeTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="treeNode" />
- <vpe:container-child tag-name="treeNodesAdaptor" />
- <vpe:container-child tag-name="recursiveTreeNodesAdaptor" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- <vpe:format type="BlockFormat" addChildren="deny" />
- </vpe:textFormatting>
- <vpe:pseudoContent defaultText="yes" />
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:treeNodesAdaptor" case-sensitive="yes">
- <vpe:template children="yes" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTreeNodesAdaptorTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="treeNode" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:recursiveTreeNodesAdaptor" case-sensitive="yes">
- <vpe:template children="yes" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesRecursiveTreeNodesAdaptorTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="treeNode" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
-
-
- <vpe:tag name="rich:treeNode" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTreeNodeTemplate">
- </vpe:template>
+ <vpe:tag name="rich:tree" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTreeTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="treeNode" />
+ <vpe:container-child tag-name="treeNodesAdaptor" />
+ <vpe:container-child tag-name="recursiveTreeNodesAdaptor" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ <vpe:format type="BlockFormat" addChildren="deny" />
+ </vpe:textFormatting>
+ <vpe:pseudoContent defaultText="yes" />
+ </vpe:template>
</vpe:tag>
- <vpe:tag name="rich:inplaceInput" case-sensitive="yes">
- <vpe:template children="yes" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInplaceInputTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
- <vpe:tag name="rich:inplaceSelect" case-sensitive="yes">
- <vpe:template children="yes" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInplaceSelectTemplate">
- <!--vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize-->
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
- <vpe:tag name="rich:fileUpload" case-sensitive="yes">
- <vpe:template children="no" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesFileUploadTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes" >
- <vpe:container-child tag-name="f:facet" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
- <vpe:tag name="rich:comboBox" case-sensitive="yes">
- <vpe:template children="no" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesComboBoxTemplate">
- <vpe:resize>
- <vpe:width width-attr="width" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no">
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
- <vpe:tag name="rich:pickList" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPickListTemplate">
- <vpe:copy attrs="style" />
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="selectItem" />
- <vpe:container-child tag-name="selectItems" />
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- </vpe:textFormatting>
- </vpe:template>
+
+ <vpe:tag name="rich:treeNodesAdaptor" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTreeNodesAdaptorTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="treeNode" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
</vpe:tag>
+
+ <vpe:tag name="rich:recursiveTreeNodesAdaptor" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesRecursiveTreeNodesAdaptorTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="treeNode" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+
+
+ <vpe:tag name="rich:treeNode" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTreeNodeTemplate">
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="rich:inplaceInput" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInplaceInputTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="rich:inplaceSelect" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInplaceSelectTemplate">
+ <!--vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize-->
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="rich:fileUpload" case-sensitive="yes">
+ <vpe:template children="no" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesFileUploadTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes" >
+ <vpe:container-child tag-name="f:facet" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="rich:comboBox" case-sensitive="yes">
+ <vpe:template children="no" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesComboBoxTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no">
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="rich:pickList" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPickListTemplate">
+ <vpe:copy attrs="style" />
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="selectItem" />
+ <vpe:container-child tag-name="selectItems" />
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:tag>
<vpe:tag name="rich:inputNumberSpinner" case-sensitive="yes">
<vpe:template children="yes" modify="no"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInputNumberSpinnerTemplate">
@@ -160,15 +160,15 @@
<vpe:drag start-enable="yes" />
<vpe:drop container="no" />
</vpe:dnd>
- <vpe:pseudoContent defaultText="no"/>
+ <vpe:pseudoContent defaultText="no"/>
</vpe:template>
</vpe:tag>
- <vpe:tag name="rich:columns" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnsTemplate">
- </vpe:template>
+ <vpe:tag name="rich:columns" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnsTemplate">
+ </vpe:template>
</vpe:tag>
<vpe:tag name="rich:inputNumberSlider" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
+ <vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.InputNumberSliderTemplate">
<vpe:resize>
<vpe:width width-attr="style.width" />
@@ -177,38 +177,38 @@
<vpe:drag start-enable="yes" />
<vpe:drop container="no" />
</vpe:dnd>
- <vpe:pseudoContent defaultText="no"/>
+ <vpe:pseudoContent defaultText="no"/>
</vpe:template>
- </vpe:tag>
- <vpe:tag name="rich:progressBar" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesProgressBarTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="outputText" />
- <vpe:container-child tag-name="facet" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
</vpe:tag>
+ <vpe:tag name="rich:progressBar" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesProgressBarTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="outputText" />
+ <vpe:container-child tag-name="facet" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
- <vpe:tag name="rich:dataDefinitionList" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataDefinitionListTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"></vpe:drop>
- </vpe:dnd>
- </vpe:template>
+ <vpe:tag name="rich:dataDefinitionList" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataDefinitionListTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"></vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
</vpe:tag>
<vpe:tag name="rich:modalPanel" case-sensitive="yes">
@@ -231,116 +231,117 @@
<vpe:format type="BackgroundColorFormat">
<vpe:formatAttribute type="style" />
</vpe:format>
- </vpe:textFormatting>
+ </vpe:textFormatting>
<vpe:pseudoContent defaultText="no"/>
</vpe:template>
- </vpe:tag>
+ </vpe:tag>
- <vpe:tag name="rich:separator" case-sensitive="yes">
- <vpe:template children="no" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSeparatorTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
-
- <vpe:tag name="rich:datascroller" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataTableScrollerTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="f:facet" />
- </vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:dataFilterSlider" case-sensitive="yes">
- <vpe:template children="yes" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataFilterSliderTemplate">
- <vpe:resize>
- <vpe:width width-attr="width" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no" />
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
+ <vpe:tag name="rich:separator" case-sensitive="yes">
+ <vpe:template children="no" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSeparatorTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
- <vpe:tag name="rich:toolBar" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToolBarTemplate"
- children="yes" modify="no">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:toolBarGroup" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToolBarGroupTemplate"
- children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:dataList" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataListTemplate"
- children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:dataOrderedList" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataOrderedListTemplate"
- children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:dataTable" case-sensitive="yes">
- <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataTableTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="column"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- <vpe:format type="BlockFormat" addChildren="deny"/>
- </vpe:textFormatting>
- <vpe:pseudoContent defaultText="yes"/>
- </vpe:template>
+
+ <vpe:tag name="rich:datascroller" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataTableScrollerTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="f:facet" />
+ </vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dataFilterSlider" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataFilterSliderTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no" />
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:toolBar" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToolBarTemplate"
+ children="yes" modify="no">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
</vpe:tag>
+
+ <vpe:tag name="rich:toolBarGroup" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToolBarGroupTemplate"
+ children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dataList" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataListTemplate"
+ children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dataOrderedList" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataOrderedListTemplate"
+ children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dataTable" case-sensitive="yes">
+ <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataTableTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="column"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ <vpe:format type="BlockFormat" addChildren="deny"/>
+ </vpe:textFormatting>
+ <vpe:pseudoContent defaultText="yes"/>
+ </vpe:template>
+ </vpe:tag>
<vpe:tag name="rich:scrollableDataTable" case-sensitive="yes">
<vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesScrollableDataTableTemplate">
@@ -359,209 +360,209 @@
</vpe:textFormatting>
<vpe:pseudoContent defaultText="yes"/>
</vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:extendedDataTable" case-sensitive="yes">
- <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesExtendedDataTableTemplate">
- <vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="column"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- <vpe:format type="BlockFormat" addChildren="deny"/>
- </vpe:textFormatting>
- <vpe:pseudoContent defaultText="yes"/>
- </vpe:template>
</vpe:tag>
-
- <vpe:tag name="rich:orderingList" case-sensitive="yes">
- <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesOrderingList">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes">
- <vpe:container-child tag-name="column"/>
- </vpe:drop>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- <vpe:format type="BlockFormat" addChildren="deny"/>
- </vpe:textFormatting>
- <vpe:pseudoContent defaultText="yes"/>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:column" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:columnGroup" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnGroupTemplate">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:subTable" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSubTableTemplate">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:dataGrid" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataGridTemplate">
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:panel" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:panelBar" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelBarTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:panelBarItem" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelItemTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:simpleTogglePanel" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSimpleTogglePanelTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:togglePanel" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTogglePanelTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:toggleControl" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToggleControlTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:tabPanel" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTabPanelTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:tab" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTabTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:dndParam" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="rich:dragIndicator" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="rich:dragSupport" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="rich:dropSupport" case-sensitive="yes">
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="rich:suggestionbox" case-sensitive="yes" >
- <vpe:template children="no" modify="no" />
- </vpe:tag>
-
- <vpe:tag name="rich:dropDownMenu" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDropDownMenuTemplate"
- children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:menuItem" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMenuItemTemplate"
- children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:menuGroup" case-sensitive="yes" >
- <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMenuGroupTemplate"
- children="yes" modify="no">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:menuSeparator" case-sensitive="yes" >
- <vpe:template children="no" modify="no" >
- </vpe:template>
+
+ <vpe:tag name="rich:extendedDataTable" case-sensitive="yes">
+ <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesExtendedDataTableTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ <vpe:height height-attr="height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="column"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ <vpe:format type="BlockFormat" addChildren="deny"/>
+ </vpe:textFormatting>
+ <vpe:pseudoContent defaultText="yes"/>
+ </vpe:template>
</vpe:tag>
+ <vpe:tag name="rich:orderingList" case-sensitive="yes">
+ <vpe:template children="yes" modify="no" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesOrderingList">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes">
+ <vpe:container-child tag-name="column"/>
+ </vpe:drop>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ <vpe:format type="BlockFormat" addChildren="deny"/>
+ </vpe:textFormatting>
+ <vpe:pseudoContent defaultText="yes"/>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:column" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:columnGroup" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnGroupTemplate">
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:subTable" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSubTableTemplate">
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dataGrid" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDataGridTemplate">
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:panel" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:panelBar" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelBarTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:panelBarItem" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelItemTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:simpleTogglePanel" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesSimpleTogglePanelTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:togglePanel" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTogglePanelTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:toggleControl" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesToggleControlTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:tabPanel" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTabPanelTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:tab" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesTabTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dndParam" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="rich:dragIndicator" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="rich:dragSupport" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="rich:dropSupport" case-sensitive="yes">
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="rich:suggestionbox" case-sensitive="yes" >
+ <vpe:template children="no" modify="no" />
+ </vpe:tag>
+
+ <vpe:tag name="rich:dropDownMenu" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesDropDownMenuTemplate"
+ children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:menuItem" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMenuItemTemplate"
+ children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:menuGroup" case-sensitive="yes" >
+ <vpe:template class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMenuGroupTemplate"
+ children="yes" modify="no">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:menuSeparator" case-sensitive="yes" >
+ <vpe:template children="no" modify="no" >
+ </vpe:template>
+ </vpe:tag>
+
<vpe:tag name="rich:contextMenu" case-sensitive="yes" >
<vpe:template children="no" modify="no" >
</vpe:template>
@@ -576,141 +577,141 @@
</vpe:dnd>
</vpe:template>
</vpe:tag>
-
-
- <vpe:tag name="rich:virtualEarth" case-sensitive="yes">
- <vpe:template children="no" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesVirtualEarthTemplate">
-
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"></vpe:drop>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:message" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMessageTemplate">
-
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:messages" case-sensitive="yes">
- <vpe:template children="yes" modify="yes"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMessagesTemplate">
-
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:toolTip" case-sensitive="yes">
- <vpe:template children="no" modify="yes" >
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:effect" case-sensitive="yes">
- <vpe:template children="no" modify="yes" >
- </vpe:template>
+
+
+ <vpe:tag name="rich:virtualEarth" case-sensitive="yes">
+ <vpe:template children="no" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesVirtualEarthTemplate">
+
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"></vpe:drop>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:message" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMessageTemplate">
+
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:messages" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesMessagesTemplate">
+
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:toolTip" case-sensitive="yes">
+ <vpe:template children="no" modify="yes" >
+ </vpe:template>
</vpe:tag>
+ <vpe:tag name="rich:effect" case-sensitive="yes">
+ <vpe:template children="no" modify="yes" >
+ </vpe:template>
+ </vpe:tag>
+
<vpe:tag name="rich:jQuery" case-sensitive="yes">
<vpe:template children="no" modify="yes" >
</vpe:template>
- </vpe:tag>
+ </vpe:tag>
<vpe:tag name="rich:componentControl" case-sensitive="yes">
<vpe:template children="no" modify="yes" >
</vpe:template>
</vpe:tag>
-
- <vpe:tag name="rich:insert" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInsertTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:changeExpandListener" case-sensitive="yes">
- <vpe:template children="no" modify="yes" >
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:nodeSelectListener" case-sensitive="yes">
- <vpe:template children="no" modify="yes" >
- </vpe:template>
+
+ <vpe:tag name="rich:insert" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesInsertTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
</vpe:tag>
-
- <vpe:tag name="rich:dragListener" case-sensitive="yes">
- <vpe:template children="no" modify="yes" >
- </vpe:template>
- </vpe:tag>
- <vpe:tag name="rich:dropListener" case-sensitive="yes">
- <vpe:template children="no" modify="yes" >
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:panelMenuItem" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuItemTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- </vpe:textFormatting>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:panelMenuGroup" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuGroupTemplate">
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- <vpe:textFormatting use-default-formats="yes">
- </vpe:textFormatting>
- </vpe:template>
- </vpe:tag>
-
- <vpe:tag name="rich:panelMenu" case-sensitive="yes">
- <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuTemplate">
- <vpe:resize>
- <vpe:width width-attr="style.width" />
- <vpe:height height-attr="style.height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes"/>
- <vpe:drop container="yes"/>
- </vpe:dnd>
- </vpe:template>
+
+ <vpe:tag name="rich:changeExpandListener" case-sensitive="yes">
+ <vpe:template children="no" modify="yes" >
+ </vpe:template>
</vpe:tag>
+ <vpe:tag name="rich:nodeSelectListener" case-sensitive="yes">
+ <vpe:template children="no" modify="yes" >
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:dragListener" case-sensitive="yes">
+ <vpe:template children="no" modify="yes" >
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="rich:dropListener" case-sensitive="yes">
+ <vpe:template children="no" modify="yes" >
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:panelMenuItem" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuItemTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:panelMenuGroup" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuGroupTemplate">
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ <vpe:textFormatting use-default-formats="yes">
+ </vpe:textFormatting>
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="rich:panelMenu" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesPanelMenuTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="style.width" />
+ <vpe:height height-attr="style.height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes"/>
+ <vpe:drop container="yes"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:tag>
+
<vpe:tag name="rich:listShuttle" case-sensitive="yes">
<vpe:template children="yes" modify="yes"
class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesListShuttleTemplate">
- <vpe:copy attrs="style" />
+ <vpe:copy attrs="style" />
<vpe:dnd>
<vpe:drag start-enable="yes" />
<vpe:drop container="yes">
@@ -721,37 +722,37 @@
</vpe:textFormatting>
</vpe:template>
</vpe:tag>
-
- <vpe:tag name="rich:ajaxValidator" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
- <vpe:tag name="rich:beanValidator" case-sensitive="yes">
- <vpe:template children="no" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="rich:graphValidator" case-sensitive="yes">
- <vpe:template children="yes" modify="no"/>
- </vpe:tag>
-
- <vpe:tag name="rich:hotKey" case-sensitive="yes">
- <vpe:template children="yes" modify="no"/>
- </vpe:tag>
-
- <!-- Since RichFaces 3.3.0 -->
- <vpe:tag name="rich:editor" case-sensitive="yes">
- <vpe:if test="tld_version('min=3.3')">
- <vpe:template children="no" modify="no"
- class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesEditorTemplate">
- <vpe:resize>
- <vpe:width width-attr="width" />
- <vpe:height height-attr="height" />
- </vpe:resize>
- <vpe:dnd>
- <vpe:drag start-enable="yes" />
- <vpe:drop container="no"/>
- </vpe:dnd>
- </vpe:template>
- </vpe:if>
- </vpe:tag>
-</vpe:templates>
+ <vpe:tag name="rich:ajaxValidator" case-sensitive="yes">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="rich:beanValidator" case-sensitive="yes">
+ <vpe:template children="no" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="rich:graphValidator" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"/>
+ </vpe:tag>
+
+ <vpe:tag name="rich:hotKey" case-sensitive="yes">
+ <vpe:template children="yes" modify="no"/>
+ </vpe:tag>
+
+ <!-- Since RichFaces 3.3.0 -->
+ <vpe:tag name="rich:editor" case-sensitive="yes">
+ <vpe:if test="tld_version('min=3.3')">
+ <vpe:template children="no" modify="no"
+ class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesEditorTemplate">
+ <vpe:resize>
+ <vpe:width width-attr="width" />
+ <vpe:height height-attr="height" />
+ </vpe:resize>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ </vpe:template>
+ </vpe:if>
+ </vpe:tag>
+</vpe:templates>
17 years, 1 month
JBoss Tools SVN: r13638 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-17 09:29:21 -0500 (Tue, 17 Feb 2009)
New Revision: 13638
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpePreviewDomBuilder.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3799
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpePreviewDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpePreviewDomBuilder.java 2009-02-17 13:49:16 UTC (rev 13637)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpePreviewDomBuilder.java 2009-02-17 14:29:21 UTC (rev 13638)
@@ -102,6 +102,7 @@
if(sourceNode instanceof Element && visualNewNode != null) {
setTooltip((Element)sourceNode, (nsIDOMElement)visualNewNode.queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID));
+ correctVisualAttribute((nsIDOMElement)visualNewNode.queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID));
}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-02-17 13:49:16 UTC (rev 13637)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-02-17 14:29:21 UTC (rev 13638)
@@ -204,7 +204,12 @@
}
pageContext.refreshConnector();
- pageContext.installIncludeElements();
+
+ // FIXED FOR JBIDE-3799 by sdzmitrovich
+ // it code is not necessary because addExternalLinks() does the same but
+ // better
+ // pageContext.installIncludeElements();
+
// if (isFacelet()) {
Element root = FaceletUtil.findComponentElement(sourceDocument.getDocumentElement());
if (root != null) {
@@ -581,7 +586,7 @@
return visualNewNode;
}
- private void correctVisualAttribute(nsIDOMElement element) {
+ protected void correctVisualAttribute(nsIDOMElement element) {
String styleValue = element.getAttribute(HTML.TAG_STYLE);
String backgroundValue = element
17 years, 1 month
JBoss Tools SVN: r13637 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2009-02-17 08:49:16 -0500 (Tue, 17 Feb 2009)
New Revision: 13637
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
RESOLVED - issue JBIDE-3758: VPE autorefresh is broken in some cases
https://jira.jboss.org/jira/browse/JBIDE-3758
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 2009-02-17 07:20:21 UTC (rev 13636)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2009-02-17 13:49:16 UTC (rev 13637)
@@ -464,7 +464,13 @@
monitor.worked((int) (100 / getChangeEvents().size()));
VpeEventBean eventBean = getChangeEvents().getFirst();
if (monitor.isCanceled()) {
- getChangeEvents().clear();
+ /*
+ * Yahor Radtsevich: the following line is commented
+ * as fix of JBIDE-3758: VPE autorefresh is broken in some cases.
+ * Now if the change events queue should be cleared, the user have to do it explicitly.
+ */
+ // getChangeEvents().clear();
+
return Status.CANCEL_STATUS;
}
try {
17 years, 1 month
JBoss Tools SVN: r13636 - in trunk: esb/plugins/org.jboss.tools.esb.project.core and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2009-02-17 02:20:21 -0500 (Tue, 17 Feb 2009)
New Revision: 13636
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml
Log:
JBIDE-3806:Add version 4.5 to JBoss ESB list
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2009-02-16 18:57:25 UTC (rev 13635)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2009-02-17 07:20:21 UTC (rev 13636)
@@ -201,7 +201,7 @@
versions="1.0"/>
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4,5.0">
+ versions="4.2,4.3,4.4,4.5,5.0">
</moduleType>
</runtimeType>
<runtimeType
@@ -234,7 +234,7 @@
versions="1.0"/>
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4,5.0">
+ versions="4.2,4.3,4.4,4.5,5.0">
</moduleType>
</runtimeType>
@@ -268,7 +268,7 @@
versions="1.0"/>
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4,5.0">
+ versions="4.2,4.3,4.4,4.5,5.0">
</moduleType>
</runtimeType>
@@ -304,7 +304,7 @@
versions="1.0"/>
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4,5.0">
+ versions="4.2,4.3,4.4,4.5,5.0">
</moduleType>
</runtimeType>
</extension>
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml 2009-02-16 18:57:25 UTC (rev 13635)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/plugin.xml 2009-02-17 07:20:21 UTC (rev 13636)
@@ -29,7 +29,7 @@
</project-facet-version>
<project-facet-version
facet="jst.jboss.esb"
- version="4.4">
+ version="4.3">
<group-member
id="modules">
</group-member>
@@ -47,7 +47,7 @@
</project-facet-version>
<project-facet-version
facet="jst.jboss.esb"
- version="4.3">
+ version="4.4">
<group-member
id="modules">
</group-member>
@@ -63,6 +63,24 @@
</and>
</constraint>
</project-facet-version>
+ <project-facet-version
+ facet="jst.jboss.esb"
+ version="4.5">
+ <group-member
+ id="modules">
+ </group-member>
+ <constraint>
+ <and>
+ <conflicts
+ group="modules">
+ </conflicts>
+ <requires
+ facet="jst.java"
+ version="[5.0">
+ </requires>
+ </and>
+ </constraint>
+ </project-facet-version>
<action
facet="jst.jboss.esb"
id="jst.jboss.esb.install"
@@ -92,7 +110,7 @@
<supported>
<facet
id="jst.jboss.esb"
- version="4.2,4.3,4.4">
+ version="4.2,4.3,4.4,4.5">
</facet>
<runtime-component
id="org.jboss.ide.eclipse.as.runtime.component"
@@ -102,7 +120,7 @@
<supported>
<facet
id="jst.jboss.esb"
- version="4.2,4.3,4.4">
+ version="4.2,4.3,4.4,4.5">
</facet>
<runtime-component
id="org.jboss.ide.eclipse.eap.runtime.component"
@@ -145,7 +163,7 @@
projects="true">
<moduleType
types="jst.jboss.esb"
- versions="4.2,4.3,4.4">
+ versions="4.2,4.3,4.4,4.5">
</moduleType>
</moduleFactory>
</extension>
17 years, 1 month
JBoss Tools SVN: r13635 - trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-02-16 13:57:25 -0500 (Mon, 16 Feb 2009)
New Revision: 13635
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3500
Modified: trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-02-16 16:21:21 UTC (rev 13634)
+++ trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/FacesConfigNewWizardTest.java 2009-02-16 18:57:25 UTC (rev 13635)
@@ -1,6 +1,21 @@
package org.jboss.tools.jsf.ui.test;
+import java.io.File;
+import java.util.ArrayList;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.IWizard;
+import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.ui.IWorkbenchWizard;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
+import org.jboss.tools.common.model.ui.wizard.newfile.NewFileContextEx;
+import org.jboss.tools.common.model.ui.wizard.newfile.NewFileWizardEx;
+import org.jboss.tools.common.util.FileUtil;
+import org.jboss.tools.common.util.WorkbenchUtils;
+import org.jboss.tools.test.util.JobUtils;
public class FacesConfigNewWizardTest extends WizardTest {
@@ -25,9 +40,109 @@
}
public void testFacesConfigNewWizardResults() {
+ ArrayList<IProject> list = new ArrayList<IProject>();
+
+ StructuredSelection selection = new StructuredSelection(list);
+
+ IWizard wizard = WorkbenchUtils.findWizardByDefId(id);
+
+ NewFileWizardEx wiz = (NewFileWizardEx)wizard;
+
+ NewFileContextEx context = wiz.getFileContext();
+
+ SpecialWizardSupport support = context.getSupport();
+
+ ((IWorkbenchWizard)wizard).init(PlatformUI.getWorkbench(), selection);
+
+ support.setAttributeValue(0, "name", "faces-config11");
+ support.setAttributeValue(0, "folder", "/TestWizards/WebContent/WEB-INF");
+ support.setAttributeValue(0, "register in web.xml", "no");
+
+ dialog = new WizardDialog(
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ wizard);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+
// Assert file with name from Name field created in folder with name form Folder field
+
+
+ boolean canFinish = wizard.canFinish();
+
+ assertTrue("Finish button is disabled.", canFinish);
+
+ wizard.performFinish();
+
+ dialog.close();
+
+ JobUtils.waitForIdle();
+
+ IResource res = project.findMember("/WebContent/WEB-INF/faces-config11.xml");
+
+ assertNotNull(res);
+
// Assert that new file was not registered in web.xml if 'Register in web.xml' is not set
+
+ IResource webXml = project.findMember("/WebContent/WEB-INF/web.xml");
+
+ assertNotNull(webXml);
+
+ String webXmlContent = FileUtil.readFile(new File(webXml.getLocation().toString()));
+
+ int p = webXmlContent.indexOf("faces-config11.xml");
+
+ assertTrue("File faces-config11.xml is registered in web.xml", p < 0);
+ }
+
+ public void testFacesConfigNewWizardResults2() {
// Assert that new file was registered in web.xml if 'Register in web.xml is set'
- fail("Not implemented yet");
+
+ ArrayList<IProject> list = new ArrayList<IProject>();
+
+ StructuredSelection selection = new StructuredSelection(list);
+
+ IWizard wizard = WorkbenchUtils.findWizardByDefId(id);
+
+ NewFileWizardEx wiz = (NewFileWizardEx)wizard;
+
+ NewFileContextEx context = wiz.getFileContext();
+
+ SpecialWizardSupport support = context.getSupport();
+
+ ((IWorkbenchWizard)wizard).init(PlatformUI.getWorkbench(), selection);
+
+ support.setAttributeValue(0, "name", "faces-config22");
+ support.setAttributeValue(0, "folder", "/TestWizards/WebContent/WEB-INF");
+ support.setAttributeValue(0, "register in web.xml", "yes");
+
+ dialog = new WizardDialog(
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
+ wizard);
+ dialog.setBlockOnOpen(false);
+ dialog.open();
+
+ boolean canFinish = wizard.canFinish();
+
+ assertTrue("Finish button is disabled.", canFinish);
+
+ wizard.performFinish();
+
+ JobUtils.waitForIdle();
+
+ IResource res = project.findMember("/WebContent/WEB-INF/faces-config22.xml");
+
+ assertNotNull(res);
+
+ IResource webXml = project.findMember("/WebContent/WEB-INF/web.xml");
+
+ assertNotNull(webXml);
+
+ String webXmlContent = FileUtil.readFile(new File(webXml.getLocation().toString()));
+
+ System.out.println("WebXML - "+webXmlContent);
+
+ int p = webXmlContent.indexOf("faces-config22.xml");
+
+ assertTrue("File faces-config22.xml is not registered in web.xml", p >= 0);
}
}
17 years, 1 month
JBoss Tools SVN: r13634 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-02-16 11:21:21 -0500 (Mon, 16 Feb 2009)
New Revision: 13634
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3619, event processing after inserting new tag in text formatting was updated.
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 2009-02-16 15:58:57 UTC (rev 13633)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2009-02-16 16:21:21 UTC (rev 13634)
@@ -499,6 +499,16 @@
switcher.startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_SOURCE))
try {
sourceSelectionChanged();
+ /*
+ * https://jira.jboss.org/jira/browse/JBIDE-3619
+ * VpeViewUpdateJob takes place after toolbar selection have been updated.
+ * New nodes haven't been put into dom mapping
+ * thus toolbar becomes desabled.
+ * Updating toolbar state here takes into account updated vpe nodes.
+ */
+ if (toolbarFormatControllerManager != null) {
+ toolbarFormatControllerManager.selectionChanged();
+ }
} finally {
switcher.stopActiveEditor();
}
@@ -1375,9 +1385,15 @@
void visualRefreshImpl() {
visualEditor.hideResizer();
-
+
String currentDoctype = DocTypeUtil.getDoctype(visualEditor.getEditorInput());
- if (!visualEditor.getDoctype().equals(currentDoctype)) {
+ /*
+ * https://jira.jboss.org/jira/browse/JBIDE-3591
+ * Avoid using missing resource.
+ */
+ String visualEditorDoctype = visualEditor.getDoctype();
+ if ((null != currentDoctype) && (null != visualEditorDoctype)
+ && (!visualEditorDoctype.equals(currentDoctype))) {
visualEditor.reload();
} else {
//Fix bugs JBIDE-2750
17 years, 2 months
JBoss Tools SVN: r13633 - trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components.
by jbosstools-commits@lists.jboss.org
Author: yradtsevich
Date: 2009-02-16 10:58:57 -0500 (Mon, 16 Feb 2009)
New Revision: 13633
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml
Log:
issue JBIDE-3797: columClasses doesn't work in rich:columnGroup
https://jira.jboss.org/jira/browse/JBIDE-3797
- JUnit tests were corrected
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml 2009-02-16 15:56:26 UTC (rev 13632)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml 2009-02-16 15:58:57 UTC (rev 13633)
@@ -7,6 +7,10 @@
xmlns:rich="http://richfaces.org/rich">
<head>
+<style>
+ .redText {color:red;}
+ .blueText {color:blue;}
+</style>
</head>
<body>
<h1>column</h1>
@@ -35,7 +39,7 @@
</f:facet>
- <rich:columnGroup>
+ <rich:columnGroup columnClasses="redText, blueText">
<rich:column>
<h:outputText value="#{rowKey}" />
</rich:column>
@@ -57,7 +61,6 @@
<f:facet name="footer">
-
<rich:columnGroup>
<rich:column></rich:column>
<rich:column id="column4">
@@ -72,7 +75,6 @@
</rich:columnGroup>
</f:facet>
-
</rich:dataTable>
</h:form>
</body>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml 2009-02-16 15:56:26 UTC (rev 13632)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/column.xhtml.xml 2009-02-16 15:58:57 UTC (rev 13633)
@@ -1,22 +1,23 @@
<tests>
<test id="column1">
- <TD COLSPAN="3" CLASS="dr-table-headercell rich-table-headercell">
- <SPAN> FIELDS</SPAN>
+ <TD COLSPAN="3" ID="column1" CLASS="dr-table-headercell rich-table-headercell">
+ <SPAN>FIELDS</SPAN>
</TD>
</test>
<test id="column2">
- <TD BREAKBEFORE="true" CLASS="dr-table-headercell rich-table-headercell">
- <SPAN> field1</SPAN>
+ <TD BREAKBEFORE="true" ID="column2"
+ CLASS="dr-table-headercell rich-table-headercell">
+ <SPAN>field1</SPAN>
</TD>
</test>
<test id="column3">
- <TD CLASS="dr-table-cell rich-table-cell">
- <SPAN> #{row.field1}</SPAN>
+ <TD ID="column3" CLASS="dr-table-cell rich-table-cell blueText">
+ <SPAN>#{row.field1}</SPAN>
</TD>
</test>
<test id="column4">
- <TD CLASS="dr-table-footercell rich-table-footercell">
- <SPAN> footer1</SPAN>
+ <TD ID="column4" CLASS="dr-table-footercell rich-table-footercell">
+ <SPAN>footer1</SPAN>
</TD>
</test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml 2009-02-16 15:56:26 UTC (rev 13632)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataTable.xhtml.xml 2009-02-16 15:58:57 UTC (rev 13633)
@@ -43,17 +43,17 @@
</TR>
</TFOOT>
<TBODY>
- <TR CLASS="dr-subtable-cell rich-subtable-cell">
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TR CLASS="dr-subtable-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{rowKey}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{row.field1}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{row.field2}</SPAN>
</TD>
- <TD CLASS="dr-table-cell rich-table-cell">
+ <TD CLASS="dr-table-cell rich-table-cell dr-subtable-cell">
<SPAN> #{row.field3}</SPAN>
</TD>
</TR>
17 years, 2 months