JBoss Tools SVN: r17340 - in trunk/jst: tests/org.jboss.tools.jst.css.test/META-INF and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-08-27 13:17:05 -0400 (Thu, 27 Aug 2009)
New Revision: 17340
Added:
trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/
trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/4790/
trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/4790/inputFractional.css
trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/jbide/
trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/jbide/InputFractionalValueTest_JBIDE4790.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java
trunk/jst/tests/org.jboss.tools.jst.css.test/META-INF/MANIFEST.MF
trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/CSSAllTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4790
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java 2009-08-27 16:26:29 UTC (rev 17339)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java 2009-08-27 17:17:05 UTC (rev 17340)
@@ -133,8 +133,8 @@
declaration.removeProperty(me.getKey());
} else {
- // FIX FOR BIDE-4790 in that case simple setting of new
- // value leads to error
+ // FIX FOR BIDE-4790 simple setting of new
+ // value leads to error in issue's case
if (declaration.getPropertyValue(me.getKey()) != null)
declaration.removeProperty(me.getKey());
Modified: trunk/jst/tests/org.jboss.tools.jst.css.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.css.test/META-INF/MANIFEST.MF 2009-08-27 16:26:29 UTC (rev 17339)
+++ trunk/jst/tests/org.jboss.tools.jst.css.test/META-INF/MANIFEST.MF 2009-08-27 17:17:05 UTC (rev 17340)
@@ -19,7 +19,8 @@
org.eclipse.jface.text,
org.jboss.tools.jst.css,
org.eclipse.core.databinding,
- org.eclipse.ui.views.properties.tabbed
+ org.eclipse.ui.views.properties.tabbed,
+ org.jboss.tools.jst.jsp
Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Bundle-ActivationPolicy: lazy
Added: trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/4790/inputFractional.css
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/4790/inputFractional.css (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/4790/inputFractional.css 2009-08-27 17:17:05 UTC (rev 17340)
@@ -0,0 +1,3 @@
+.clasA {
+ font-size: 1em;
+}
\ No newline at end of file
Property changes on: trunk/jst/tests/org.jboss.tools.jst.css.test/resources/cssTest/WebContent/pages/JBIDE/4790/inputFractional.css
___________________________________________________________________
Name: svn:mime-type
+ text/css
Name: svn:eol-style
+ native
Modified: trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/CSSAllTests.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/CSSAllTests.java 2009-08-27 16:26:29 UTC (rev 17339)
+++ trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/CSSAllTests.java 2009-08-27 17:17:05 UTC (rev 17340)
@@ -14,6 +14,7 @@
import junit.framework.Test;
import junit.framework.TestSuite;
+import org.jboss.tools.jst.css.test.jbide.InputFractionalValueTest_JBIDE4790;
import org.jboss.tools.test.util.ProjectImportTestSetup;
/**
@@ -29,6 +30,7 @@
TestSuite suite = new TestSuite("Tests for CSS views"); //$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(CSSViewTest.class);
+ suite.addTestSuite(InputFractionalValueTest_JBIDE4790.class);
// $JUnit-END$
return new ProjectImportTestSetup(
Added: trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/jbide/InputFractionalValueTest_JBIDE4790.java
===================================================================
--- trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/jbide/InputFractionalValueTest_JBIDE4790.java (rev 0)
+++ trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/jbide/InputFractionalValueTest_JBIDE4790.java 2009-08-27 17:17:05 UTC (rev 17340)
@@ -0,0 +1,141 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.css.test.jbide;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.wst.css.core.internal.document.CSSStructuredDocumentRegionContainer;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSModel;
+import org.eclipse.wst.css.core.internal.provisional.document.ICSSStyleSheet;
+import org.eclipse.wst.sse.ui.StructuredTextEditor;
+import org.jboss.tools.jst.css.properties.CSSPropertyPage;
+import org.jboss.tools.jst.css.test.AbstractCSSViewTest;
+import org.jboss.tools.jst.css.view.CSSEditorView;
+import org.jboss.tools.jst.jsp.outline.cssdialog.common.StyleAttributes;
+import org.jboss.tools.jst.jsp.outline.cssdialog.common.Util;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.css.CSSRule;
+import org.w3c.dom.css.CSSStyleDeclaration;
+import org.w3c.dom.css.CSSStyleRule;
+
+/**
+ * @author Sergey Dzmitrovich
+ *
+ */
+public class InputFractionalValueTest_JBIDE4790 extends AbstractCSSViewTest {
+
+ public static final String IMPORT_PROJECT_NAME = "cssTest"; //$NON-NLS-1$
+
+ public static final String TEST_PAGE_NAME = "JBIDE/4790/inputFractional.css"; //$NON-NLS-1$
+
+ public static final String TEST_CSS_ATTRIBUTE_NAME = "font-size"; //$NON-NLS-1$
+
+ public void testInputFractionalValue() throws CoreException {
+
+ IFile pageFile = getComponentPath(TEST_PAGE_NAME, getProjectName());
+
+ assertNotNull(pageFile);
+
+ StructuredTextEditor editor = (StructuredTextEditor) openEditor(
+ pageFile, CSS_EDITOR_ID);
+
+ assertNotNull(editor);
+
+ CSSEditorView view = (CSSEditorView) openView(CSS_EDITOR_VIEW);
+
+ assertNotNull(view);
+
+ CSSPropertyPage page = (CSSPropertyPage) view.getCurrentPage();
+
+ assertNotNull(page);
+
+ ICSSModel model = (ICSSModel) getStructuredModel(pageFile);
+
+ assertNotNull(model);
+
+ ICSSStyleSheet document = (ICSSStyleSheet) model.getDocument();
+
+ assertNotNull(document);
+
+ CSSRule cssRule = document.getCssRules().item(0);
+
+ assertNotNull(cssRule);
+
+ int offset = ((CSSStructuredDocumentRegionContainer) cssRule)
+ .getStartOffset();
+
+ setSelection(editor, offset, 0);
+
+ CSSStyleDeclaration declaration = ((CSSStyleRule) cssRule).getStyle();
+
+ String testedValue = declaration
+ .getPropertyValue(TEST_CSS_ATTRIBUTE_NAME);
+
+ assertNotNull(testedValue);
+
+ StyleAttributes styleAttributes = page.getStyleAttributes();
+
+ assertEquals(testedValue, styleAttributes
+ .getAttribute(TEST_CSS_ATTRIBUTE_NAME));
+
+ String[] parsedTestValue = Util.convertExtString(testedValue);
+
+ assertEquals(parsedTestValue.length, 2);
+
+ String newTestedValue = parsedTestValue[0] + "." + parsedTestValue[1]; //$NON-NLS-1$
+
+ styleAttributes.getAttributeMap().put(TEST_CSS_ATTRIBUTE_NAME,
+ newTestedValue);
+
+ testedValue = declaration.getPropertyValue(TEST_CSS_ATTRIBUTE_NAME);
+
+ assertNotNull(testedValue);
+
+ assertEquals(removeWhitespaces(newTestedValue),
+ removeWhitespaces(testedValue));
+
+ parsedTestValue = Util.convertExtString(testedValue);
+
+ assertEquals(parsedTestValue.length, 2);
+
+ newTestedValue = parsedTestValue[0] + "3" + parsedTestValue[1]; //$NON-NLS-1$
+
+ try {
+ styleAttributes.getAttributeMap().put(TEST_CSS_ATTRIBUTE_NAME,
+ newTestedValue);
+
+ } catch (DOMException e) {
+ fail("Changing of attribute's value leads to DOMException. Probably it is regression of JBIDE-4790 "); //$NON-NLS-1$
+ }
+ testedValue = declaration.getPropertyValue(TEST_CSS_ATTRIBUTE_NAME);
+
+ assertNotNull(testedValue);
+
+ assertEquals(removeWhitespaces(testedValue),
+ removeWhitespaces(newTestedValue));
+
+ }
+
+ private String removeWhitespaces(String text) {
+ return text.replaceAll(" ", ""); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.jboss.tools.jst.css.test.AbstractCSSViewTest#getProjectName()
+ */
+ @Override
+ public String getProjectName() {
+ return IMPORT_PROJECT_NAME;
+ }
+
+}
Property changes on: trunk/jst/tests/org.jboss.tools.jst.css.test/src/org/jboss/tools/jst/css/test/jbide/InputFractionalValueTest_JBIDE4790.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
14 years, 8 months
JBoss Tools SVN: r17339 - trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-08-27 12:26:29 -0400 (Thu, 27 Aug 2009)
New Revision: 17339
Modified:
trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4790
Modified: trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java 2009-08-27 15:40:56 UTC (rev 17338)
+++ trunk/jst/plugins/org.jboss.tools.jst.css/src/org/jboss/tools/jst/css/properties/CSSPropertyPage.java 2009-08-27 16:26:29 UTC (rev 17339)
@@ -132,6 +132,12 @@
|| (me.getValue().length() == 0)) {
declaration.removeProperty(me.getKey());
} else {
+
+ // FIX FOR BIDE-4790 in that case simple setting of new
+ // value leads to error
+ if (declaration.getPropertyValue(me.getKey()) != null)
+ declaration.removeProperty(me.getKey());
+
declaration.setProperty(me.getKey(), me.getValue(),
Constants.EMPTY);
}
14 years, 8 months
JBoss Tools SVN: r17338 - trunk/seam/plugins/org.jboss.tools.seam.core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-08-27 11:40:56 -0400 (Thu, 27 Aug 2009)
New Revision: 17338
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4829
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-08-27 15:35:07 UTC (rev 17337)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-08-27 15:40:56 UTC (rev 17338)
@@ -300,7 +300,7 @@
</static-preset>
<static-preset
id="jst.seam21.preset">
- <label>Dynamic Web Project with Seam 2.1 (technology preview)</label>
+ <label>Dynamic Web Project with Seam 2.1</label>
<facet id="jst.java" version="5.0"/>
<facet id="jst.web" version="2.5"/>
<facet id="jst.jsf" version="1.2"/>
@@ -311,7 +311,7 @@
</static-preset>
<static-preset
id="jst.seam22.preset">
- <label>Dynamic Web Project with Seam 2.2 (technology preview)</label>
+ <label>Dynamic Web Project with Seam 2.2</label>
<facet id="jst.java" version="5.0"/>
<facet id="jst.web" version="2.5"/>
<facet id="jst.jsf" version="1.2"/>
14 years, 8 months
JBoss Tools SVN: r17337 - in workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test: editor and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-08-27 11:35:07 -0400 (Thu, 27 Aug 2009)
New Revision: 17337
Modified:
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java
workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java
Log:
Little fix to run tests with ant
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2009-08-27 15:29:36 UTC (rev 17336)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2009-08-27 15:35:07 UTC (rev 17337)
@@ -224,7 +224,12 @@
}
protected String getPathToResources(String testPage) throws IOException {
- return FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage;
+ File file = new File(filePath);
+ if (!file.isFile()) {
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+testPage;
+ }
+ return filePath;
}
@Override
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2009-08-27 15:29:36 UTC (rev 17336)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/VPEEditorTestCase.java 2009-08-27 15:35:07 UTC (rev 17337)
@@ -1,5 +1,6 @@
package org.jboss.tools.vpe.ui.bot.test.editor;
+import java.io.File;
import java.io.IOException;
import org.eclipse.core.runtime.FileLocator;
@@ -43,7 +44,12 @@
@Override
protected String getPathToResources(String testPage) throws IOException {
- return FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/editor/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/editor/"+testPage;
+ File file = new File(filePath);
+ if (!file.isFile()) {
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"editor/"+testPage;
+ }
+ return filePath;
}
void openPage(){
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java 2009-08-27 15:29:36 UTC (rev 17336)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/AddSubstitutedELExpressionFolderScopeTest.java 2009-08-27 15:35:07 UTC (rev 17337)
@@ -67,6 +67,7 @@
//Test add EL with folder scope to list
bot.button("Add").click();
+ delay();
bot.shell(ADD_EL).activate();
bot.textWithLabel("El Name*").setText("user.name");
bot.textWithLabel("Value").setText(EL_VALUE);
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java 2009-08-27 15:29:36 UTC (rev 17336)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/pagedesign/PageDesignTestCase.java 2009-08-27 15:35:07 UTC (rev 17337)
@@ -1,5 +1,6 @@
package org.jboss.tools.vpe.ui.bot.test.editor.pagedesign;
+import java.io.File;
import java.io.IOException;
import org.eclipse.core.runtime.FileLocator;
@@ -47,7 +48,12 @@
@Override
protected String getPathToResources(String testPage) throws IOException {
- return FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/pagedesign/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/pagedesign/"+testPage;
+ File file = new File(filePath);
+ if (!file.isFile()) {
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"pagedesign/"+testPage;
+ }
+ return filePath;
}
}
Modified: workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java
===================================================================
--- workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java 2009-08-27 15:29:36 UTC (rev 17336)
+++ workspace/yzhishko/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/PreferencesTestCase.java 2009-08-27 15:35:07 UTC (rev 17337)
@@ -1,7 +1,7 @@
package org.jboss.tools.vpe.ui.bot.test.editor.preferences;
+import java.io.File;
import java.io.IOException;
-
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
import org.eclipse.swtbot.swt.finder.SWTBot;
@@ -45,7 +45,12 @@
@Override
protected String getPathToResources(String testPage) throws IOException {
- return FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/preferences/"+testPage;
+ String filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/preferences/"+testPage;
+ File file = new File(filePath);
+ if (!file.isFile()) {
+ filePath = FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"preferences/"+testPage;
+ }
+ return filePath;
}
}
14 years, 8 months
JBoss Tools SVN: r17336 - trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-08-27 11:29:36 -0400 (Thu, 27 Aug 2009)
New Revision: 17336
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seampages-attrs.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-4811
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seampages-attrs.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seampages-attrs.properties 2009-08-27 15:23:59 UTC (rev 17335)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seampages-attrs.properties 2009-08-27 15:29:36 UTC (rev 17336)
@@ -72,3 +72,4 @@
SeamPages.target=Target
SeamPages.hidden=Hidden
SeamPages.shortcut=Shortcut
+SeamPages.validate_model=Validate Model
14 years, 8 months
JBoss Tools SVN: r17335 - trunk/seam/plugins/org.jboss.tools.seam.ui.pages.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-08-27 11:23:59 -0400 (Thu, 27 Aug 2009)
New Revision: 17335
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4811
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/plugin.xml 2009-08-27 15:22:20 UTC (rev 17334)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/plugin.xml 2009-08-27 15:23:59 UTC (rev 17335)
@@ -6,14 +6,14 @@
<xmlEditor
class="org.jboss.tools.seam.ui.pages.editor.SeamPagesEditor"
contributorClass="org.jboss.tools.seam.ui.pages.editor.PagesMultiPageContributor"
- entities="FileSeamPages12,FileSeamPages20,FileSeamPages21"
+ entities="FileSeamPages12,FileSeamPages20,FileSeamPages21,FileSeamPages22"
icon="$nl$/images/xstudio/editors/seam-pages.gif"
name="Seam Pages">
</xmlEditor>
<xmlEditor
class="org.jboss.tools.jst.web.ui.editors.WebCompoundEditor"
contributorClass="org.jboss.tools.common.model.ui.texteditors.MultiPageContributor"
- entities="FileSeamPage12,FileSeamPage20,FileSeamPage21"
+ entities="FileSeamPage12,FileSeamPage20,FileSeamPage21,FileSeamPage22"
icon="$nl$/images/xstudio/editors/seam-pages.gif"
name="Seam Page">
</xmlEditor>
14 years, 8 months
JBoss Tools SVN: r17334 - in trunk/seam/plugins/org.jboss.tools.seam.pages.xml: resources/help and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-08-27 11:22:20 -0400 (Thu, 27 Aug 2009)
New Revision: 17334
Added:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.2.xsd
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages.properties
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages_ja.properties
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesConstants.java
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesEntityRecognizer.java
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/handlers/DiagramAdopt.java
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4811
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/plugin.xml 2009-08-27 15:22:20 UTC (rev 17334)
@@ -113,6 +113,10 @@
name="http://jboss.com/products/seam/pages-2.1.xsd"
uri="schemas/pages-2.1.xsd"/>
+ <uri
+ name="http://jboss.com/products/seam/pages-2.2.xsd"
+ uri="schemas/pages-2.2.xsd"/>
+
</catalogContribution>
</extension>
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages.properties 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages.properties 2009-08-27 15:22:20 UTC (rev 17334)
@@ -1,6 +1,7 @@
FileSeamPage12.editorTitle=Seam Page Editor
FileSeamPage20.editorTitle=Seam Page Editor
FileSeamPage21.editorTitle=Seam Page Editor
+FileSeamPage22.editorTitle=Seam Page Editor
AddSeamPageException_Properties.Title=Add Exception
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages_ja.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages_ja.properties 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/help/keys-seam-pages_ja.properties 2009-08-27 15:22:20 UTC (rev 17334)
@@ -1,6 +1,7 @@
FileSeamPage12.editorTitle=Seam \u30DA\u30FC\u30B8\u30FB\u30A8\u30C7\u30A3\u30BF\u30FC
FileSeamPage20.editorTitle=Seam \u30DA\u30FC\u30B8\u30FB\u30A8\u30C7\u30A3\u30BF\u30FC
FileSeamPage21.editorTitle=Seam \u30DA\u30FC\u30B8\u30FB\u30A8\u30C7\u30A3\u30BF\u30FC
+FileSeamPage22.editorTitle=Seam \u30DA\u30FC\u30B8\u30FB\u30A8\u30C7\u30A3\u30BF\u30FC
AddSeamPageException_Properties.Title=\u4F8B\u5916\u306E\u8FFD\u52A0
FileSeamPage12_Rename.WindowTitle=\u540D\u524D\u5909\u66F4
FileSeamPage12_Properties.Title=\u30D5\u30A1\u30A4\u30EB Seam \u30DA\u30FC\u30B8
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/resources/meta/seam-pages.meta 2009-08-27 15:22:20 UTC (rev 17334)
@@ -8,9 +8,11 @@
<PAIR name="SeamPage_1.2" value="FileSeamPage12"/>
<PAIR name="SeamPage_2.0" value="FileSeamPage20"/>
<PAIR name="SeamPage_2.1" value="FileSeamPage21"/>
+ <PAIR name="SeamPage_2.2" value="FileSeamPage22"/>
<PAIR name="SeamPages1.2" value="FileSeamPages12"/>
<PAIR name="SeamPages2.0" value="FileSeamPages20"/>
<PAIR name="SeamPages2.1" value="FileSeamPages21"/>
+ <PAIR name="SeamPages2.2" value="FileSeamPages22"/>
</MAPPING>
<MAPPING name="FilteredTreeConstraints">
<PAIR name="FileSystems$144" value="org.jboss.tools.seam.pages.xml.model.impl.SeamPagesFilteredTreeConstraint"/>
@@ -476,6 +478,160 @@
<XDependencies/>
</XModelEntity>
<XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.seam.pages.xml.model.SeamPageFileLoader"
+ ImplementingClass="org.jboss.tools.seam.pages.xml.model.FileSeamPageImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData"
+ XMLSUBPATH="page" name="FileSeamPage22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamPageParam20"/>
+ <XChildEntity name="SeamPageHeader21"/>
+ <XChildEntity name="SeamPageRewrite21"/>
+ <XChildEntity maxCount="1" name="SeamPageBeginConversation21"/>
+ <XChildEntity maxCount="1" name="SeamPageEndConversation21"/>
+ <XChildEntity maxCount="1" name="SeamPageStartTask"/>
+ <XChildEntity maxCount="1" name="SeamPageBeginTask"/>
+ <XChildEntity maxCount="1" name="SeamPageEndTask"/>
+ <XChildEntity maxCount="1" name="SeamPageCreateProcess"/>
+ <XChildEntity maxCount="1" name="SeamPageResumeProcess"/>
+ <XChildEntity name="SeamPageIn"/>
+ <XChildEntity maxCount="1" name="SeamPageRaiseEvent20"/>
+ <XChildEntity name="SeamPageAction21"/>
+ <XChildEntity name="SeamPageNavigation21"/>
+ <XChildEntity name="SeamPageNavigationRule21"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.seam.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="components" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttributeReference
+ attributes="action,view id,switch,no conversation view id,conversation required,login required,scheme,timeout,bundle,conversation,restrict,description"
+ entity="SeamPage12" name="page"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="concurrent request timeout" xmlname="concurrent-request-timeout"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ default="default(true)" name="validate model" xmlname="validate-model">
+ <Constraint loader="ListString">
+ <value name="default(false)"/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="expires" xmlname="expires"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/pages" name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.empty" displayName="Open" kind="action" name="Open"/>
+ <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Choose Program..." kind="action" name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
+ <EntityData EntityName="FacesConfig">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItem kind="list" name="SaveActions">
+ <XActionItem HIDE="always" HandlerClassName="%SaveFile%"
+ ICON="action.save" displayName="Save" kind="action" name="Save"/>
+ </XActionItem>
+ <XActionItemReference entity="SeamPage21" name="CreateActions" path="CreateActions"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.DeleteFacesConfigHandler"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DiscardActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.DiscardConfigHandler"
+ ICON="action.delete"
+ PROPERTIES="significanceMessageClass=org.jboss.tools.common.model.filesystems.impl.DiscardFileSignificanceMessage"
+ displayName="Discard Changes" kind="action" name="Discard"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileSeamPage22_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItemReference entity="SeamPage21" name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="SeamPage21" name="Properties" path="Properties"/>
+ <XActionItemReference entity="SeamPage21" name="VerifyActions" path="VerifyActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
ImplementationLoadingClass="org.jboss.tools.seam.pages.xml.model.SeamPages12FileLoader"
ImplementingClass="org.jboss.tools.seam.pages.xml.model.FileSeamPagesImpl"
ObjectEditorClass="%XML%"
@@ -935,6 +1091,156 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
+ <XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.seam.pages.xml.model.SeamPagesFileLoader"
+ ImplementingClass="org.jboss.tools.seam.pages.xml.model.FileSeamPagesImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData"
+ XMLSUBPATH="pages" name="FileSeamPages22">
+ <XChildrenEntities>
+ <XChildEntity maxCount="1" name="SeamPageFolderConversation" required="yes"/>
+ <XChildEntity maxCount="1" name="SeamPageFolderPage22" required="yes"/>
+ <XChildEntity maxCount="1" name="SeamPageFolderException21" required="yes"/>
+ <XChildEntity maxCount="1" name="SeamPagesDiagram" required="yes"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.seam.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="pages configuration" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="no conversation view id,login view id"
+ entity="FileSeamPages12" name="page2"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="http port" xmlname="http-port"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="https port" xmlname="https-port"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/pages" name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="namespaceMapping"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem BaseActionName="Open" HandlerClassName="%Open%"
+ ICON="action.empty" displayName="Open" kind="action" name="Open"/>
+ <XActionItem displayName="Open With" group="1" kind="list" name="OpenWith">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithExternalHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Open with External Program" kind="action" name="OpenWithSelected"/>
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.common.meta.action.impl.handlers.OpenWithChoiceHandler"
+ ICON="action.empty" PROPERTIES="extension=struts-config"
+ displayName="Choose Program..." kind="action" name="OpenWithChoice">
+ <EntityData EntityName="OpenWithHelper">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="default"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem kind="list" name="EditActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.RenameFacesConfigHandler"
+ ICON="action.empty" PROPERTIES="validator.edit=true"
+ WizardClassName="%Default%" displayName="Rename..." kind="action" name="Rename">
+ <EntityData EntityName="FacesConfig">
+ <AttributeData AttributeName="name"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.common.model.filesystems.impl.handlers.RenameEclipseFileHandler"
+ ICON="action.empty" displayName="Rename..." kind="action" name="RenameEclipse"/>
+ </XActionItem>
+ <XActionItem kind="list" name="SaveActions">
+ <XActionItem HIDE="always" HandlerClassName="%SaveFile%"
+ ICON="action.save" displayName="Save" kind="action" name="Save"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true;sourcepath=Pages;actionpath=CreateActions/AddPage"
+ WizardClassName="%Default%" displayName="Page..." kind="action" name="AddPage"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true;sourcepath=Conversations;actionpath=CreateActions/AddConversation"
+ WizardClassName="%Default%" displayName="Conversation..."
+ kind="action" name="AddConversation"/>
+ <XActionItem HandlerClassName="%Redirect%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true;sourcepath=Exceptions;actionpath=CreateActions/AddException"
+ WizardClassName="%Default%" displayName="Exception..."
+ kind="action" name="AddException"/>
+ </XActionItem>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.DeleteFacesConfigHandler"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem kind="list" name="DiscardActions">
+ <XActionItem HIDE="always"
+ HandlerClassName="org.jboss.tools.jsf.model.handlers.DiscardConfigHandler"
+ ICON="action.delete"
+ PROPERTIES="significanceMessageClass=org.jboss.tools.common.model.filesystems.impl.DiscardFileSignificanceMessage"
+ displayName="Discard Changes" kind="action" name="Discard"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileSeamPages22_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItemReference entity="FileSeamPages22" name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="FileSeamPages21" name="Properties" path="Properties"/>
+ <XActionItemReference entity="FileSeamPages21" name="VerifyActions" path="VerifyActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
<XModelEntity ImplementingClass="%Custom%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData;children=%Ordered%"
XMLSUBPATH="page" name="SeamPage12">
@@ -1345,6 +1651,148 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Custom%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData;children=%Ordered%"
+ XMLSUBPATH="page" name="SeamPage22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamPageParam20"/>
+ <XChildEntity name="SeamPageHeader21"/>
+ <XChildEntity name="SeamPageRewrite21"/>
+ <XChildEntity maxCount="1" name="SeamPageBeginConversation21"/>
+ <XChildEntity maxCount="1" name="SeamPageEndConversation21"/>
+ <XChildEntity maxCount="1" name="SeamPageStartTask"/>
+ <XChildEntity maxCount="1" name="SeamPageBeginTask"/>
+ <XChildEntity maxCount="1" name="SeamPageEndTask"/>
+ <XChildEntity maxCount="1" name="SeamPageCreateProcess"/>
+ <XChildEntity maxCount="1" name="SeamPageResumeProcess"/>
+ <XChildEntity name="SeamPageIn"/>
+ <XChildEntity maxCount="1" name="SeamPageRaiseEvent20"/>
+ <XChildEntity name="SeamPageAction21"/>
+ <XChildEntity name="SeamPageNavigation21"/>
+ <XChildEntity name="SeamPageNavigationRule21"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.seam-pages.page" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="page" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttributeReference
+ attributes="action,view id,switch,no conversation view id,conversation required,login required,scheme,timeout,bundle,conversation,restrict,description"
+ entity="SeamPage12" name="page"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ name="concurrent request timeout" xmlname="concurrent-request-timeout"/>
+ <XModelAttribute PROPERTIES="category=advanced"
+ default="default(true)" name="validate model" xmlname="validate-model">
+ <Constraint loader="ListString">
+ <value name="default(false)"/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="expires" xmlname="expires"/>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem displayName="New" group="1" kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true;key=SeamPage_AddParam"
+ WizardClassName="%Default%" displayName="Param..." kind="action" name="AddParam">
+ <EntityData EntityName="SeamPageParam20">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true;key=SeamPage_AddParam"
+ WizardClassName="%Default%" displayName="Header..." kind="action" name="AddHeader">
+ <EntityData EntityName="SeamPageHeader21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true;key=SeamPage_AddParam"
+ WizardClassName="%Default%" displayName="Rewrite..." kind="action" name="AddRewrite">
+ <EntityData EntityName="SeamPageRewrite21">
+ <AttributeData AttributeName="pattern"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true;key=SeamPage_AddIn"
+ WizardClassName="%Default%" displayName="In..." kind="action" name="AddIn">
+ <EntityData EntityName="SeamPageIn">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="scope" Mandatory="no"/>
+ <AttributeData AttributeName="value"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true;key=SeamPage_AddAction"
+ WizardClassName="%Default%" displayName="Action..." kind="action" name="AddAction">
+ <EntityData EntityName="SeamPageAction21">
+ <AttributeData AttributeName="execute"/>
+ <AttributeData AttributeName="if" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true;key=SeamPage_AddNavigation"
+ WizardClassName="%Default%" displayName="Navigation..."
+ kind="action" name="AddNavigation">
+ <EntityData EntityName="SeamPageNavigation21">
+ <AttributeData AttributeName="from action" Mandatory="no"/>
+ <AttributeData AttributeName="evaluate" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem
+ HandlerClassName="org.jboss.tools.seam.pages.xml.model.handlers.AddRuleHandler"
+ ICON="action.empty"
+ PROPERTIES="validator.add=true;entity=SeamPageNavigationRule21;renderEntity=SeamPageRender;redirectEntity=SeamPageRedirect21;key=SeamPage_AddRule"
+ WizardClassName="%Default%" displayName="Navigation Rule..."
+ kind="action" name="AddRule">
+ <EntityData EntityName="AddSeamPageRule">
+ <AttributeData AttributeName="kind" Mandatory="no"/>
+ <AttributeData AttributeName="view id"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItem ICON="action.empty" displayName="Create" kind="list" name="EditActions"/>
+ <XActionItem HIDE="disabled"
+ HandlerClassName="org.jboss.tools.seam.pages.xml.model.handlers.OpenPageHandler"
+ ICON="action.empty" PROPERTIES="actionpath=Open"
+ displayName="Open Page" kind="action" name="OpenPage"/>
+ <XActionItem HIDE="disabled"
+ HandlerClassName="org.jboss.tools.seam.pages.xml.model.handlers.SelectOnDiagramHandler"
+ ICON="action.empty" displayName="Select on Diagram" kind="action" name="Select"/>
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
+ <XActionItem BaseActionName="Copy" HandlerClassName="%Copy%"
+ ICON="action.copy" displayName="Copy" kind="action" name="Copy"/>
+ <XActionItem BaseActionName="Cut" HandlerClassName="%Cut%"
+ ICON="action.cut" displayName="Cut" kind="action" name="Cut"/>
+ <XActionItem BaseActionName="Paste" HandlerClassName="%Paste%"
+ ICON="action.paste" displayName="Paste" kind="action" name="Paste"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list" name="MoveActions">
+ <XActionItem HIDE="always" HandlerClassName="%Move%"
+ ICON="action.move" displayName="Move" kind="action" name="Move"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%Custom%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData"
XMLSUBPATH="action" name="SeamPageAction">
<XChildrenEntities/>
@@ -2324,6 +2772,45 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
+ <XModelEntity ImplementingClass="%Ordered%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData" name="SeamPageFolderPage22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamPage22"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="default.folder" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="page list" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="Pages" name="name" xmlname="NAME">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Page..." kind="action" name="AddPage">
+ <EntityData EntityName="SeamPage22">
+ <AttributeData AttributeName="view id"/>
+ <AttributeData AttributeName="action" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="SeamPageFolderPage20"
+ name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="SeamPageFolderPage20"
+ name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="SeamPageFolderPage20" name="Properties" path="Properties"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.seam.pages.xml.model.impl.SeamPageHTTPErrorImpl"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData;children=%Ordered%"
@@ -4282,6 +4769,8 @@
<XChildEntity name="FileSeamPage20"/>
<XChildEntity name="FileSeamPage21"/>
<XChildEntity name="FileSeamPages21"/>
+ <XChildEntity name="FileSeamPage22"/>
+ <XChildEntity name="FileSeamPages22"/>
</XChildrenEntities>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="New" group="1"
@@ -4324,6 +4813,8 @@
<XChildEntity name="FileSeamPage20"/>
<XChildEntity name="FileSeamPage21"/>
<XChildEntity name="FileSeamPages21"/>
+ <XChildEntity name="FileSeamPage22"/>
+ <XChildEntity name="FileSeamPages22"/>
</XChildrenEntities>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="New" group="1"
@@ -4366,6 +4857,8 @@
<XChildEntity name="FileSeamPage20"/>
<XChildEntity name="FileSeamPage21"/>
<XChildEntity name="FileSeamPages21"/>
+ <XChildEntity name="FileSeamPage22"/>
+ <XChildEntity name="FileSeamPages22"/>
</XChildrenEntities>
<XActionItem kind="list"/>
</XEntityExtension>
@@ -4377,6 +4870,8 @@
<XChildEntity name="FileSeamPage20"/>
<XChildEntity name="FileSeamPage21"/>
<XChildEntity name="FileSeamPages21"/>
+ <XChildEntity name="FileSeamPage22"/>
+ <XChildEntity name="FileSeamPages22"/>
</XChildrenEntities>
<XActionItem kind="list"/>
</XEntityExtension>
Added: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.2.xsd 2009-08-27 15:22:20 UTC (rev 17334)
@@ -0,0 +1,643 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/pages"
+ xmlns:pages="http://jboss.com/products/seam/pages">
+
+ <xs:annotation>
+ <xs:documentation>About this format ...</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="pages">
+ <xs:annotation>
+ <xs:documentation>The root of a pages.xml file</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="pages:conversation"/>
+ <xs:element ref="pages:page"/>
+ <xs:element ref="pages:exception"/>
+ </xs:choice>
+ <xs:attributeGroup ref="pages:attlist.pages"/>
+ </xs:complexType>
+ <xs:key name="conversation-key">
+ <xs:annotation>
+ <xs:documentation><p>You can read this as:</p>
+ <p>The pages element has a bunch of conversation elements, and for each of those conversation elements, they must have a unique name within this document.</p>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="conversation"/>
+ <xs:field xpath="name"/>
+ </xs:key>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.pages">
+ <xs:attribute name="no-conversation-view-id" type="pages:view-id" />
+ <xs:attribute name="login-view-id" type="pages:view-id"/>
+ <xs:attribute name="http-port" type="xs:unsignedLong"/>
+ <xs:attribute name="https-port" type="xs:unsignedLong"/>
+ </xs:attributeGroup>
+
+ <xs:element name="exception">
+ <xs:annotation>
+ <xs:documentation>A Seam exception handler</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:end-conversation"/>
+ <xs:choice>
+ <xs:element ref="pages:http-error"/>
+ <xs:element ref="pages:redirect"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.exception"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.exception">
+ <xs:attribute name="class" type="xs:token"/>
+ <xs:attribute name="log" type="pages:tf-boolean"/>
+ <xs:attribute name="log-level" type="pages:loglevel-values"/>
+
+ <!-- The logLevel attribute is deprecated and will be removed in the next major version! Please use log-level instead -->
+ <xs:attribute name="logLevel" type="pages:loglevel-values"/>
+ </xs:attributeGroup>
+
+ <xs:element name="conversation">
+ <xs:annotation>
+ <xs:documentation>Natural conversation configuration</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.conversation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.conversation">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="parameter-name" use="required" type="xs:token" />
+ <xs:attribute name="parameter-value" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="page">
+ <xs:annotation>
+ <xs:documentation>Configuration for a specific page or set up pages</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="pages:restrict"/>
+ <xs:element ref="pages:description"/>
+ <xs:element ref="pages:param"/>
+ <xs:element ref="pages:header" />
+ <xs:element ref="pages:rewrite" />
+ <xs:element ref="pages:begin-conversation"/>
+ <xs:element ref="pages:end-conversation"/>
+ <xs:element ref="pages:start-task"/>
+ <xs:element ref="pages:begin-task"/>
+ <xs:element ref="pages:end-task"/>
+ <xs:element ref="pages:create-process"/>
+ <xs:element ref="pages:resume-process"/>
+ <xs:element ref="pages:in"/>
+ <xs:element ref="pages:raise-event"/>
+ <xs:element ref="pages:action"/>
+ <xs:element ref="pages:navigation"/>
+ </xs:choice>
+ <xs:attributeGroup ref="pages:attlist.page"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.page">
+ <xs:attribute name="action" type="xs:token" />
+ <xs:attribute name="view-id" type="pages:view-id"/>
+ <xs:attribute name="switch" default="enabled" type="pages:ableness"/>
+ <xs:attribute name="no-conversation-view-id" type="pages:view-id" />
+ <xs:attribute name="conversation-required" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="login-required" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="scheme" type="pages:schemes" />
+ <xs:attribute name="timeout" type="xs:unsignedLong" />
+ <xs:attribute name="concurrent-request-timeout" type="xs:unsignedLong" >
+ <xs:annotation>
+ <xs:documentation>
+ Requests to conversations are serialized by default, and if
+ a lock cannot be acquired in time, the request will be
+ dropped. You can set the timeout on a page-by-page basis
+ here.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="bundle" type="xs:token" />
+ <xs:attribute name="conversation" type="xs:token" />
+ <xs:attribute name="expires" type="xs:unsignedLong" />
+ <xs:attribute name="validate-model" default="true" type="pages:tf-boolean"/>
+ </xs:attributeGroup>
+
+ <xs:element name="param">
+ <xs:annotation>
+ <xs:documentation>A page parameter</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.param"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.param">
+ <xs:attribute name="name" type="xs:token" />
+ <xs:attribute name="value" type="xs:token" />
+ <xs:attribute name="converter" type="xs:token" />
+ <xs:attribute name="converterId" type="xs:token" />
+ <xs:attribute name="validator" type="xs:token" />
+ <xs:attribute name="validatorId" type="xs:token" />
+ <xs:attribute name="required" type="pages:tf-boolean"/>
+ <xs:attribute name="validateModel" default="true" type="pages:tf-boolean"/>
+ </xs:attributeGroup>
+
+ <xs:element name="header">
+ <xs:annotation>
+ <xs:documentation>HTTP headers to be added</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.header"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.header">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="value" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="rewrite">
+ <xs:annotation>
+ <xs:documentation>URL rewriting pattern for this view</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.rewrite"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.rewrite">
+ <xs:attribute name="pattern" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="action">
+ <xs:annotation>
+ <xs:documentation>Page action</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.action"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.action">
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ <xs:attribute name="on-postback" default="true" type="pages:tf-boolean"/>
+ <xs:attribute name="execute" use="required" type="pages:method-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="restrict" type="pages:boolean-value-expression" default="true">
+ <xs:annotation>
+ <xs:documentation>Security restrictions</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="navigation">
+ <xs:annotation>
+ <xs:documentation>Page navigation</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice maxOccurs="2">
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:begin-conversation"/>
+ <xs:element ref="pages:end-conversation"/>
+ <xs:element ref="pages:start-task"/>
+ <xs:element ref="pages:begin-task"/>
+ <xs:element ref="pages:end-task"/>
+ <xs:element ref="pages:create-process"/>
+ <xs:element ref="pages:resume-process"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:out"/>
+ <xs:element minOccurs="0" ref="pages:raise-event" maxOccurs="1"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:render"/>
+ <xs:element ref="pages:redirect"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:rule"/>
+ </xs:choice>
+ <xs:attributeGroup ref="pages:attlist.navigation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.navigation">
+ <xs:attribute name="from-action" type="pages:from-action-expression" />
+ <xs:attribute name="evaluate" type="pages:method-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="rule">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:begin-conversation"/>
+ <xs:element ref="pages:end-conversation"/>
+ <xs:element ref="pages:start-task"/>
+ <xs:element ref="pages:begin-task"/>
+ <xs:element ref="pages:end-task"/>
+ <xs:element ref="pages:create-process"/>
+ <xs:element ref="pages:resume-process"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:out"/>
+ <xs:element minOccurs="0" ref="pages:raise-event"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:render"/>
+ <xs:element ref="pages:redirect"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.rule"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.rule">
+ <xs:attribute name="if-outcome" type="pages:outcome-expression" />
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="raise-event">
+ <xs:annotation>
+ <xs:documentation>Event to be raised</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.raise-event"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.raise-event">
+ <xs:attribute name="type" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="begin-conversation">
+ <xs:annotation>
+ <xs:documentation>This page begins a new conversation</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.begin-conversation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.begin-conversation">
+ <xs:attribute name="join" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="nested" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="pageflow" type="xs:token" />
+ <xs:attribute name="flush-mode" type="pages:flush-modes" />
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ <xs:attribute name="conversation" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="end-conversation">
+ <xs:annotation>
+ <xs:documentation>This page ends a conversation</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.end-conversation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.end-conversation">
+ <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="root" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="begin-task">
+ <xs:annotation>
+ <xs:documentation>Begin a BPM task</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.begin-task"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.begin-task">
+ <xs:attribute name="task-id" type="xs:token" />
+ <xs:attribute name="pageflow" type="xs:token" />
+ <xs:attribute name="flush-mode" type="pages:flush-modes" />
+ </xs:attributeGroup>
+
+ <xs:element name="start-task">
+ <xs:annotation>
+ <xs:documentation>Start a BPM task</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.start-task"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.start-task">
+ <xs:attribute name="task-id" type="xs:token" />
+ <xs:attribute name="pageflow" type="xs:token" />
+ <xs:attribute name="flush-mode" type="pages:flush-modes" />
+ </xs:attributeGroup>
+
+ <xs:element name="end-task">
+ <xs:annotation>
+ <xs:documentation>Add a BPM task</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.end-task"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.end-task">
+ <xs:attribute name="transition" type="xs:token" />
+ <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean" />
+ </xs:attributeGroup>
+
+ <xs:element name="create-process">
+ <xs:annotation>
+ <xs:documentation>Create a BPM process</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.create-process"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.create-process">
+ <xs:attribute name="definition" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="resume-process">
+ <xs:annotation>
+ <xs:documentation>Resume a BPM process instance</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.resume-process"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.resume-process">
+ <xs:attribute name="process-id" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="in">
+ <xs:annotation>
+ <xs:documentation>A page input</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.in"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.in">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="scope" type="pages:allowed-scopes" />
+ <xs:attribute name="value" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="out">
+ <xs:annotation>
+ <xs:documentation>A contextual output for a navigation rule</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.out"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.out">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="scope" default="CONVERSATION" type="pages:allowed-scopes" />
+ <xs:attribute name="value" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="render">
+ <xs:annotation>
+ <xs:documentation>Render a view</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:message"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.render"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.render">
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="redirect">
+ <xs:annotation>
+ <xs:documentation>Redirect to another view or URL</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:message"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:param"/>
+ </xs:sequence>
+
+ <xs:attributeGroup ref="pages:attlist.redirect"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.redirect">
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
+ <xs:attribute name="url" type="pages:url-expression" />
+ <xs:attribute name="include-page-params" type="pages:tf-boolean" />
+ </xs:attributeGroup>
+
+ <xs:element name="http-error">
+ <xs:annotation>
+ <xs:documentation>Send an HTTP error code</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:message"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.http-error"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.http-error">
+ <xs:attribute name="error-code" use="required" type="xs:unsignedLong" />
+ </xs:attributeGroup>
+
+ <xs:element name="message">
+ <xs:annotation>
+ <xs:documentation>Add a message to the faces messages</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attributeGroup ref="pages:attlist.message"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.message">
+ <xs:attribute name="for" type="xs:token"/>
+ <xs:attribute name="severity" default="INFO" type="pages:loglevel-values" />
+ </xs:attributeGroup>
+
+ <xs:element name="description" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>A page description for workflow switching</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:simpleType name="url">
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://.*|https://.*"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="url-expression">
+ <xs:union memberTypes="pages:url pages:method-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="schemes">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="https"/>
+ <xs:enumeration value="http"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="outcome">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[^#\{\}]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="view-id">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="(/.*)|\*"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="view-id-expression">
+ <xs:union memberTypes="pages:view-id pages:value-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="outcome-expression">
+ <xs:union memberTypes="pages:outcome pages:value-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="from-action-expression">
+ <xs:union memberTypes="pages:outcome pages:method-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="ableness">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="enabled"/>
+ <xs:enumeration value="disabled"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="tf-boolean">
+ <xs:annotation>
+ <xs:documentation>
+ <p>Allows for the following values:</p>
+ <ul>
+ <li>true</li>
+ <li>false</li>
+ </ul>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:boolean">
+ <xs:pattern value="true"/>
+ <xs:pattern value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="allowed-scopes">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="stateless"/>
+ <xs:enumeration value="event"/>
+ <xs:enumeration value="page"/>
+ <xs:enumeration value="conversation"/>
+ <xs:enumeration value="session"/>
+ <xs:enumeration value="business_process"/>
+ <xs:enumeration value="application"/>
+ <xs:enumeration value="STATELESS"/>
+ <xs:enumeration value="EVENT"/>
+ <xs:enumeration value="PAGE"/>
+ <xs:enumeration value="CONVERSATION"/>
+ <xs:enumeration value="SESSION"/>
+ <xs:enumeration value="BUSINESS_PROCESS"/>
+ <xs:enumeration value="APPLICATION"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="loglevel-values">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="info"/>
+ <xs:enumeration value="warn"/>
+ <xs:enumeration value="error"/>
+ <xs:enumeration value="fatal"/>
+ <xs:enumeration value="debug"/>
+ <xs:enumeration value="trace"/>
+ <xs:enumeration value="INFO"/>
+ <xs:enumeration value="WARN"/>
+ <xs:enumeration value="ERROR"/>
+ <xs:enumeration value="FATAL"/>
+ <xs:enumeration value="DEBUG"/>
+ <xs:enumeration value="TRACE"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="http-error-codes">
+ <xs:annotation>
+ <xs:documentation><p><b>Note:</b> These do not include the HTTP extensions.</p></xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="100"/>
+ <xs:enumeration value="101"/>
+ <xs:enumeration value="200"/>
+ <xs:enumeration value="201"/>
+ <xs:enumeration value="202"/>
+ <xs:enumeration value="203"/>
+ <xs:enumeration value="204"/>
+ <xs:enumeration value="205"/>
+ <xs:enumeration value="206"/>
+ <xs:enumeration value="300"/>
+ <xs:enumeration value="301"/>
+ <xs:enumeration value="302"/>
+ <xs:enumeration value="303"/>
+ <xs:enumeration value="304"/>
+ <xs:enumeration value="305"/>
+ <xs:enumeration value="306"/>
+ <xs:enumeration value="307"/>
+ <xs:enumeration value="400"/>
+ <xs:enumeration value="401"/>
+ <xs:enumeration value="402"/>
+ <xs:enumeration value="403"/>
+ <xs:enumeration value="404"/>
+ <xs:enumeration value="405"/>
+ <xs:enumeration value="406"/>
+ <xs:enumeration value="407"/>
+ <xs:enumeration value="408"/>
+ <xs:enumeration value="409"/>
+ <xs:enumeration value="410"/>
+ <xs:enumeration value="411"/>
+ <xs:enumeration value="412"/>
+ <xs:enumeration value="413"/>
+ <xs:enumeration value="414"/>
+ <xs:enumeration value="415"/>
+ <xs:enumeration value="416"/>
+ <xs:enumeration value="417"/>
+ <xs:enumeration value="500"/>
+ <xs:enumeration value="501"/>
+ <xs:enumeration value="502"/>
+ <xs:enumeration value="503"/>
+ <xs:enumeration value="504"/>
+ <xs:enumeration value="505"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="flush-modes">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="manual"/>
+ <xs:enumeration value="auto"/>
+ <xs:enumeration value="commit"/>
+ <xs:enumeration value="MANUAL"/>
+ <xs:enumeration value="AUTO"/>
+ <xs:enumeration value="COMMIT"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="method-expression">
+ <xs:restriction base="xs:token">
+ <xs:pattern value="#\{.*\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="value-expression">
+ <xs:restriction base="xs:token">
+ <xs:pattern value="#\{.*\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="boolean-value-expression">
+ <xs:restriction base="xs:token">
+ <xs:pattern value="true|false|#\{.*\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/schemas/pages-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesConstants.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesConstants.java 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesConstants.java 2009-08-27 15:22:20 UTC (rev 17334)
@@ -18,6 +18,7 @@
public String SUFF_12 = "12"; //$NON-NLS-1$
public String SUFF_20 = "20"; //$NON-NLS-1$
public String SUFF_21 = "21"; //$NON-NLS-1$
+ public String SUFF_22 = "22"; //$NON-NLS-1$
public String ENT_FILE_SEAM_PAGES = "FileSeamPages"; //$NON-NLS-1$
public String ENT_FILE_SEAM_PAGES_12 = ENT_FILE_SEAM_PAGES + SUFF_12;
public String ENT_FILE_SEAM_PAGE = "FileSeamPage"; //$NON-NLS-1$
@@ -26,6 +27,8 @@
public String ENT_FILE_SEAM_PAGE_20 = ENT_FILE_SEAM_PAGE + SUFF_20;
public String ENT_FILE_SEAM_PAGES_21 = ENT_FILE_SEAM_PAGES + SUFF_21;
public String ENT_FILE_SEAM_PAGE_21 = ENT_FILE_SEAM_PAGE + SUFF_21;
+ public String ENT_FILE_SEAM_PAGES_22 = ENT_FILE_SEAM_PAGES + SUFF_22;
+ public String ENT_FILE_SEAM_PAGE_22 = ENT_FILE_SEAM_PAGE + SUFF_22;
public String ENT_SEAM_PAGE = "SeamPage"; //$NON-NLS-1$
public String ENT_SEAM_PAGE_12 = ENT_SEAM_PAGE + SUFF_12;
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesEntityRecognizer.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesEntityRecognizer.java 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesEntityRecognizer.java 2009-08-27 15:22:20 UTC (rev 17334)
@@ -38,8 +38,10 @@
return p.isSingle ? ENT_FILE_SEAM_PAGE_12 : ENT_FILE_SEAM_PAGES_12;
} else if(p.is20) {
return p.isSingle ? ENT_FILE_SEAM_PAGE_20 : ENT_FILE_SEAM_PAGES_20;
+ } else if(p.is21) {
+ return p.isSingle ? ENT_FILE_SEAM_PAGE_21 : ENT_FILE_SEAM_PAGES_21;
} else {
- return p.isSingle ? ENT_FILE_SEAM_PAGE_21 : ENT_FILE_SEAM_PAGES_21;
+ return p.isSingle ? ENT_FILE_SEAM_PAGE_22 : ENT_FILE_SEAM_PAGES_22;
}
}
@@ -48,6 +50,7 @@
boolean is12 = false;
boolean isSingle = false;
boolean is20 = false;
+ boolean is21 = false;
Parser(String body) {
int i = body.indexOf("<page"); //$NON-NLS-1$
@@ -66,6 +69,7 @@
return;
}
if(s.indexOf("2.0") >= 0) is20 = true;
+ if(s.indexOf("2.1") >= 0) is21 = true;
}
recognized = true;
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/SeamPagesLoaderUtil.java 2009-08-27 15:22:20 UTC (rev 17334)
@@ -122,6 +122,8 @@
? SUFF_20
: (entity.getName().endsWith(SUFF_21))
? SUFF_21
+ : (entity.getName().endsWith(SUFF_22))
+ ? SUFF_22
: null;
if(suff == null) {
System.out.println("Unknown suffix in seam page entity " + entity.getName());
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/handlers/DiagramAdopt.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/handlers/DiagramAdopt.java 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/handlers/DiagramAdopt.java 2009-08-27 15:22:20 UTC (rev 17334)
@@ -90,8 +90,10 @@
return SUFF_12;
} else if(entity.endsWith(SUFF_20)) {
return SUFF_20;
+ } else if(entity.endsWith(SUFF_21)) {
+ return SUFF_21;
} else {
- return SUFF_21;
+ return SUFF_22;
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2009-08-27 14:30:44 UTC (rev 17333)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2009-08-27 15:22:20 UTC (rev 17334)
@@ -106,7 +106,7 @@
if(!entity.startsWith(ENT_NAVIGATION)) continue;
if(entity.startsWith(ENT_NAVIGATION_RULE)) {
addTarget(ns[j], true);
- if(!entity.endsWith(SUFF_21)) {
+ if(!entity.endsWith(SUFF_21) && !entity.endsWith(SUFF_22)) {
continue;
}
}
@@ -305,7 +305,7 @@
if(result == null) result = new ArrayList<XModelObject>();
result.add(t);
}
- if(!entity.endsWith(SUFF_21)) {
+ if(!entity.endsWith(SUFF_21) && !entity.endsWith(SUFF_22)) {
continue;
}
}
14 years, 8 months
JBoss Tools SVN: r17333 - in trunk/seam/plugins/org.jboss.tools.seam.xml: resources/help and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-08-27 10:30:44 -0400 (Thu, 27 Aug 2009)
New Revision: 17333
Added:
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/async-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/bpm-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/cache-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/components-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/core-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/document-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/drools-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/framework-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/international-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/jms-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/navigation-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pageflow-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pdf-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/persistence-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/remoting-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/security-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/theme-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/transaction-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/ui-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.2.xsd
trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/wicket-2.2.xsd
Modified:
trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-async.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-components.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-core.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-drools.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-framework.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-international.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-jms.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-pdf.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-persistence.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-remoting.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-security.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-theme.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-transaction.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-ui.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-wicket.meta
trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentConstants.java
trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsEntityRecognizer.java
trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsFileLoader.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4811
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/plugin.xml 2009-08-27 14:30:44 UTC (rev 17333)
@@ -127,6 +127,10 @@
uri="schemas/async-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/async-2.2.xsd"
+ uri="schemas/async-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/bpm-2.0.xsd"
uri="schemas/bpm-2.0.xsd"/>
@@ -135,6 +139,10 @@
uri="schemas/bpm-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/bpm-2.2.xsd"
+ uri="schemas/bpm-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/components-2.0.xsd"
uri="schemas/components-2.0.xsd"/>
@@ -143,10 +151,18 @@
uri="schemas/components-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/components-2.2.xsd"
+ uri="schemas/components-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/cache-2.1.xsd"
uri="schemas/cache-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/cache-2.2.xsd"
+ uri="schemas/cache-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/core-2.0.xsd"
uri="schemas/core-2.0.xsd"/>
@@ -155,6 +171,10 @@
uri="schemas/core-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/core-2.2.xsd"
+ uri="schemas/core-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/drools-2.0.xsd"
uri="schemas/drools-2.0.xsd"/>
@@ -163,10 +183,18 @@
uri="schemas/drools-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/drools-2.2.xsd"
+ uri="schemas/drools-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/document-2.1.xsd"
uri="schemas/document-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/document-2.2.xsd"
+ uri="schemas/document-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/framework-2.0.xsd"
uri="schemas/framework-2.0.xsd"/>
@@ -175,6 +203,10 @@
uri="schemas/framework-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/framework-2.2.xsd"
+ uri="schemas/framework-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/international-2.0.xsd"
uri="schemas/international-2.0.xsd"/>
@@ -183,6 +215,10 @@
uri="schemas/international-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/international-2.2.xsd"
+ uri="schemas/international-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/jms-2.0.xsd"
uri="schemas/jms-2.0.xsd"/>
@@ -191,6 +227,10 @@
uri="schemas/jms-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/jms-2.2.xsd"
+ uri="schemas/jms-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/mail-2.0.xsd"
uri="schemas/mail-2.0.xsd"/>
@@ -199,6 +239,10 @@
uri="schemas/mail-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/mail-2.2.xsd"
+ uri="schemas/mail-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/navigation-2.0.xsd"
uri="schemas/navigation-2.0.xsd"/>
@@ -207,6 +251,10 @@
uri="schemas/navigation-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/navigation-2.2.xsd"
+ uri="schemas/navigation-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/pageflow-2.0.xsd"
uri="schemas/pageflow-2.0.xsd"/>
@@ -215,6 +263,10 @@
uri="schemas/pageflow-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/pageflow-2.2.xsd"
+ uri="schemas/pageflow-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/pages-2.0.xsd"
uri="schemas/pages-2.0.xsd"/>
@@ -227,6 +279,10 @@
uri="schemas/pdf-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/pdf-2.2.xsd"
+ uri="schemas/pdf-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/persistence-2.0.xsd"
uri="schemas/persistence-2.0.xsd"/>
@@ -235,6 +291,10 @@
uri="schemas/persistence-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/persistence-2.2.xsd"
+ uri="schemas/persistence-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/remoting-2.0.xsd"
uri="schemas/remoting-2.0.xsd"/>
@@ -243,6 +303,10 @@
uri="schemas/remoting-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/remoting-2.2.xsd"
+ uri="schemas/remoting-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/security-2.0.xsd"
uri="schemas/security-2.0.xsd"/>
@@ -251,6 +315,10 @@
uri="schemas/security-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/security-2.2.xsd"
+ uri="schemas/security-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/spring-2.0.xsd"
uri="schemas/spring-2.0.xsd"/>
@@ -263,6 +331,14 @@
uri="schemas/theme-2.0.xsd"/>
<uri
+ name="http://jboss.com/products/seam/theme-2.1.xsd"
+ uri="schemas/theme-2.1.xsd"/>
+
+ <uri
+ name="http://jboss.com/products/seam/theme-2.2.xsd"
+ uri="schemas/theme-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/transaction-2.0.xsd"
uri="schemas/transaction-2.0.xsd"/>
@@ -271,6 +347,10 @@
uri="schemas/transaction-2.1.xsd"/>
<uri
+ name="http://jboss.com/products/seam/transaction-2.2.xsd"
+ uri="schemas/transaction-2.2.xsd"/>
+
+ <uri
name="http://jboss.com/products/seam/web-2.0.xsd"
uri="schemas/web-2.0.xsd"/>
@@ -278,7 +358,27 @@
name="http://jboss.com/products/seam/web-2.1.xsd"
uri="schemas/web-2.1.xsd"/>
+ <uri
+ name="http://jboss.com/products/seam/web-2.2.xsd"
+ uri="schemas/web-2.2.xsd"/>
+ <uri
+ name="http://jboss.com/products/seam/ui-2.1.xsd"
+ uri="schemas/ui-2.1.xsd"/>
+
+ <uri
+ name="http://jboss.com/products/seam/ui-2.2.xsd"
+ uri="schemas/ui-2.2.xsd"/>
+
+ <uri
+ name="http://jboss.com/products/seam/wicket-2.1.xsd"
+ uri="schemas/wicket-2.1.xsd"/>
+
+ <uri
+ name="http://jboss.com/products/seam/wicket-2.2.xsd"
+ uri="schemas/wicket-2.2.xsd"/>
+
+
</catalogContribution>
</extension>
</plugin>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/help/keys-seam.properties 2009-08-27 14:30:44 UTC (rev 17333)
@@ -2,10 +2,12 @@
FileSeamComponents12.editorTitle=Seam Components 1.2 Editor
FileSeamComponents20.editorTitle=Seam Components 2.0 Editor
FileSeamComponents21.editorTitle=Seam Components 2.1 Editor
+FileSeamComponents22.editorTitle=Seam Components 2.2 Editor
FileSeamComponent11.editorTitle=Seam Component 1.1 Editor
FileSeamComponent12.editorTitle=Seam Component 1.2 Editor
FileSeamComponent20.editorTitle=Seam Component 2.0 Editor
FileSeamComponent21.editorTitle=Seam Component 2.1 Editor
+FileSeamComponent22.editorTitle=Seam Component 2.2 Editor
FileSeamComponent12_Rename.WindowTitle=Rename
FileSeamComponent12_Rename.Title=File Seam Component
@@ -985,6 +987,15 @@
FileSeamComponents21_AddPool.WindowTitle=Add Thread Pool Dispatcher
FileSeamComponents21_AddPool.Title=Seam Async Pool
+FileSeamComponents22_AddTimer.WindowTitle=Add Timer Service Dispatcher
+FileSeamComponents22_AddTimer.Title=Seam Async Timer
+
+FileSeamComponents22_AddQuartz.WindowTitle=Add Quartz Dispatcher
+FileSeamComponents22_AddQuartz.Title=Seam Async Quartz
+
+FileSeamComponents22_AddPool.WindowTitle=Add Thread Pool Dispatcher
+FileSeamComponents22_AddPool.Title=Seam Async Pool
+
FileSeamComponent12_AddAnyProperty.WindowTitle=Add Property
FileSeamComponent12_AddAnyProperty.Title=Property
@@ -1018,36 +1029,63 @@
FileSeamComponents21_AddImport.WindowTitle=Add Import
FileSeamComponents21_AddImport.Title=Seam Import
+
+FileSeamComponents22_AddComponent.WindowTitle=Add Component
+
+FileSeamComponents22_AddComponent.Title=Seam Component
+FileSeamComponents22_AddFactory.WindowTitle=Add Factory
+
+FileSeamComponents22_AddFactory.Title=Seam Factory
+FileSeamComponents22_AddEvent.WindowTitle=Add Event
+
+FileSeamComponents22_AddEvent.Title=Seam Event
+FileSeamComponents22_AddImport.WindowTitle=Add Import
+
+FileSeamComponents22_AddImport.Title=Seam Import
SeamComponent_AddAnyProperty.WindowTitle=Add Property
SeamComponent20_Properties.Title=Seam Component
SeamComponent21_Properties.Title=Seam Component
+SeamComponent22_Properties.Title=Seam Component
SeamComponent_AddAnyProperty.Title=Property
+
SeamComponent20_AddProperty.WindowTitle=Add Simple Property
+SeamComponent20_AddProperty.Title=Seam Property
-SeamComponent20_AddProperty.Title=Seam Property
SeamComponent20_AddListProperty.WindowTitle=Add List Property
+SeamComponent20_AddListProperty.Title=Seam Property List
-SeamComponent20_AddListProperty.Title=Seam Property List
SeamComponent20_AddMapProperty.WindowTitle=Add Map Property
+SeamComponent20_AddMapProperty.Title=Seam Property Map
-SeamComponent20_AddMapProperty.Title=Seam Property Map
SeamComponent20_AddAnyProperty.WindowTitle=Add Property
+SeamComponent20_AddAnyProperty.Title=Property
-SeamComponent20_AddAnyProperty.Title=Property
SeamComponent21_AddProperty.WindowTitle=Add Simple Property
+SeamComponent21_AddProperty.Title=Seam Property
-SeamComponent21_AddProperty.Title=Seam Property
SeamComponent21_AddListProperty.WindowTitle=Add List Property
+SeamComponent21_AddListProperty.Title=Seam Property List
-SeamComponent21_AddListProperty.Title=Seam Property List
SeamComponent21_AddMapProperty.WindowTitle=Add Map Property
+SeamComponent21_AddMapProperty.Title=Seam Property Map
-SeamComponent21_AddMapProperty.Title=Seam Property Map
SeamComponent21_AddAnyProperty.WindowTitle=Add Property
+SeamComponent21_AddAnyProperty.Title=Property
-SeamComponent21_AddAnyProperty.Title=Property
+SeamComponent22_AddProperty.WindowTitle=Add Simple Property
+SeamComponent22_AddProperty.Title=Seam Property
+
+SeamComponent22_AddListProperty.WindowTitle=Add List Property
+SeamComponent22_AddListProperty.Title=Seam Property List
+
+SeamComponent22_AddMapProperty.WindowTitle=Add Map Property
+SeamComponent22_AddMapProperty.Title=Seam Property Map
+
+SeamComponent22_AddAnyProperty.WindowTitle=Add Property
+SeamComponent22_AddAnyProperty.Title=Property
+
FileFolder_CreateFileSeamComponentsV.WindowTitle=Add Seam Components File
FileFolder_CreateFileSeamComponentsV.Title=Seam Components File
@@ -1146,10 +1184,104 @@
FileSeamComponents21_AddHibernateSessionFactory.WindowTitle=Add Hibernate Session Factory
FileSeamComponents21_AddHibernateSessionFactory.Title=Seam Persistence Hibernate Session Factory
+FileSeamComponents22_AddInit.WindowTitle=Add Init
+FileSeamComponents22_AddInit.Title=Seam Core Init
+
+FileSeamComponents22_AddManager.WindowTitle=Add Manager
+FileSeamComponents22_AddManager.Title=Seam Core Manager
+
+FileSeamComponents22_AddPojoCache.WindowTitle=Add Pojo Cache
+FileSeamComponents22_AddPojoCache.Title=Seam Core Pojo Cache
+
+FileSeamComponents22_AddResourceLoader.WindowTitle=Add Resource Loader
+FileSeamComponents22_AddResourceLoader.Title=Seam Core Resource Loader
+
+FileSeamComponents22_AddActor.WindowTitle=Add Actor
+FileSeamComponents22_AddActor.Title=Seam BPM Actor
+
+FileSeamComponents22_AddJBPM.WindowTitle=Add JBPM
+FileSeamComponents22_AddJBPM.Title=Seam JBPM
+
+FileSeamComponents22_AddManagedWorkingMemory.WindowTitle=Add Managed Working Memory
+FileSeamComponents22_AddManagedWorkingMemory.Title=Seam Drools Managed Working Memory
+
+FileSeamComponents22_AddRuleBase.WindowTitle=Add Rule Base
+FileSeamComponents22_AddRuleBase.Title=Seam Drools Rule Base
+
+FileSeamComponents22_AddRuleAgent.WindowTitle=Add Rule Agent
+FileSeamComponents22_AddRuleAgent.Title=Seam Drools Rule Agent
+
+FileSeamComponents22_AddEntityQuery.WindowTitle=Add Entity Query
+FileSeamComponents22_AddEntityQuery.Title=Seam Framework Entity Query
+
+FileSeamComponents22_AddHibernateEntityQuery.WindowTitle=Add Hibernate Entity Query
+FileSeamComponents22_AddHibernateEntityQuery.Title=Seam Framework Hibernate Entity Query
+
+FileSeamComponents22_AddEntityHome.WindowTitle=Add Entity Home
+FileSeamComponents22_AddEntityHome.Title=Seam Framework Entity Home
+
+FileSeamComponents22_AddHibernateEntityHome.WindowTitle=Add Hibernate Entity Home
+FileSeamComponents22_AddHibernateEntityHome.Title=Seam Framework Hibernate Entity Home
+
+FileSeamComponents22_AddLocaleSelector.WindowTitle=Add Locale Selector
+FileSeamComponents22_AddLocaleSelector.Title=Seam Core Locale Selector
+
+FileSeamComponents22_AddTimeZoneSelector.WindowTitle=Add Time Zone Selector
+FileSeamComponents22_AddTimeZoneSelector.Title=Seam Core Time Zone Selector
+
+FileSeamComponents22_AddLocaleConfig.WindowTitle=Add Locale Config
+FileSeamComponents22_AddLocaleConfig.Title=Seam International Locale Config
+
+FileSeamComponents22_AddQueueConnection.WindowTitle=Add Queue Connection
+FileSeamComponents22_AddQueueConnection.Title=Seam Jms Queue Connection
+
+FileSeamComponents22_AddTopicConnection.WindowTitle=Add Topic Connection
+FileSeamComponents22_AddTopicConnection.Title=Seam Jms Topic Connection
+
+FileSeamComponents22_AddTopicPublisher.WindowTitle=Add Managed Topic Publisher
+FileSeamComponents22_AddTopicPublisher.Title=Seam Jms Topic Publisher
+
+FileSeamComponents22_AddQueueSender.WindowTitle=Add Managed Queue Sender
+FileSeamComponents22_AddQueueSender.Title=Seam Jms Queue Sender
+
+FileSeamComponents22_AddMailSession.WindowTitle=Add Mail Session
+FileSeamComponents22_AddMailSession.Title=Seam Mail Session
+
+FileSeamComponents22_AddMeldware.WindowTitle=Add Meldware
+FileSeamComponents22_AddMeldware.Title=Seam Mail Meldware
+
+FileSeamComponents22_AddMeldwareUser.WindowTitle=Add Meldware User
+FileSeamComponents22_AddMeldwareUser.Title=Seam Mail Meldware User
+
+FileSeamComponents22_AddDocumentStore.WindowTitle=Add Document Store
+FileSeamComponents22_AddDocumentStore.Title=Seam Pdf Document Store
+
+FileSeamComponents22_AddKeyStoreConfig.WindowTitle=Add Key Store Config
+FileSeamComponents22_AddKeyStoreConfig.Title=Seam Pdf Key Store Config
+
+FileSeamComponents22_AddManagedPersistenceContext.WindowTitle=Add Managed Persistence Context
+FileSeamComponents22_AddManagedPersistenceContext.Title=Seam Persistence Managed Context
+
+FileSeamComponents22_AddEntityManagerFactory.WindowTitle=Add Entity Manager Factory
+FileSeamComponents22_AddEntityManagerFactory.Title=Seam Persistence Entity Manager Factory
+
+FileSeamComponents22_AddFilter.WindowTitle=Add Filter
+FileSeamComponents22_AddFilter.Title=Seam Persistence Filter
+
+FileSeamComponents22_AddManagedHibernateSession.WindowTitle=Add Managed Hibernate Session
+FileSeamComponents22_AddManagedHibernateSession.Title=Seam Persistence Managed Hibernate Session
+
+FileSeamComponents22_AddHibernateSessionFactory.WindowTitle=Add Hibernate Session Factory
+FileSeamComponents22_AddHibernateSessionFactory.Title=Seam Persistence Hibernate Session Factory
+
SeamRemotingConfig20_Properties.Title=Seam Remoting Config
+
FileSeamComponents21_AddRemotingConfig.WindowTitle=Add Config
+FileSeamComponents21_AddRemotingConfig.Title=Seam Remoting
-FileSeamComponents21_AddRemotingConfig.Title=Seam Remoting
+FileSeamComponents22_AddRemotingConfig.WindowTitle=Add Config
+FileSeamComponents22_AddRemotingConfig.Title=Seam Remoting
+
SeamFacesSecurityEvents20_Properties.Title=Seam Faces Security Events
FileSeamComponents20_AddFacesSecurityEvents.WindowTitle=Add Faces Security Events
@@ -1241,3 +1373,90 @@
FileSeamComponents21_AddWebApplication.WindowTitle=Add Web Application
FileSeamComponents21_AddWebApplication.Title=Seam Wicket Web App
+
+FileSeamComponents22_AddIdentity.WindowTitle=Add Identity
+FileSeamComponents22_AddIdentity.Title=Seam Security Identity
+
+FileSeamComponents22_AddFacesSecurityEvents.WindowTitle=Add Faces Security Events
+FileSeamComponents22_AddFacesSecurityEvents.Title=Seam Faces Security Events
+
+FileSeamComponents22_AddIdentityManager.WindowTitle=Add Identity Manager
+FileSeamComponents22_AddIdentityManager.Title=Seam Security Identity Manager
+
+FileSeamComponents22_AddJPAIdentityStore.WindowTitle=Add JPA Identity Store
+FileSeamComponents22_AddJPAIdentityStore.Title=Seam Security JPAIdentity Store
+
+FileSeamComponents22_AddLDAPIdentityStore.WindowTitle=Add LDAP Identity Store
+FileSeamComponents22_AddLDAPIdentityStore.Title=Seam Security LDAPIdentity Store
+
+FileSeamComponents22_AddPermissionManager.WindowTitle=Add Permission Manager
+FileSeamComponents22_AddPermissionManager.Title=Seam Security Permission Manager
+
+FileSeamComponents22_AddJPAPermissionStore.WindowTitle=Add JPA Permission Store
+FileSeamComponents22_AddJPAPermissionStore.Title=Seam Security JPAPermission Store
+
+FileSeamComponents22_AddRuleBasedPermissionResolver.WindowTitle=Add Rule Based Permission Resolver
+FileSeamComponents22_AddRuleBasedPermissionResolver.Title=Seam Security Rule Based Permission Resolver
+
+FileSeamComponents22_AddPersistentPermissionResolver.WindowTitle=Add Persistent Permission Resolver
+FileSeamComponents22_AddPersistentPermissionResolver.Title=Seam Security Persistent Permission Resolver
+
+FileSeamComponents22_AddThemeSelector.WindowTitle=Add Theme Selector
+FileSeamComponents22_AddThemeSelector.Title=Seam Theme Selector
+
+FileSeamComponents22_AddEjb.WindowTitle=Add Ejb
+FileSeamComponents22_AddEjb.Title=Seam Transaction Ejb
+
+FileSeamComponents22_AddEntity.WindowTitle=Add Entity
+FileSeamComponents22_AddEntity.Title=Seam Transaction Entity
+
+FileSeamComponents22_AddHibernate.WindowTitle=Add Hibernate
+FileSeamComponents22_AddHibernate.Title=Seam Transaction Hibernate
+
+FileSeamComponents22_AddNo.WindowTitle=Add No Transaction
+FileSeamComponents22_AddNo.Title=Seam No Transaction
+
+FileSeamComponents22_AddJPAEntityLoader.WindowTitle=Add JPA Entity Loader
+FileSeamComponents22_AddJPAEntityLoader.Title=Seam UIJPA
+
+FileSeamComponents22_AddHibernateEntityLoader.WindowTitle=Add Hibernate Entity Loader
+FileSeamComponents22_AddHibernateEntityLoader.Title=Seam UIHibernate
+
+FileSeamComponents22_AddEntityConverter.WindowTitle=Add Entity Converter
+FileSeamComponents22_AddEntityConverter.Title=Seam UIEntity Converter
+
+FileSeamComponents22_AddContextFilter.WindowTitle=Add Context Filter
+FileSeamComponents22_AddContextFilter.Title=Seam Web Context Filter
+
+FileSeamComponents22_AddExceptionFilter.WindowTitle=Add Exception Filter
+FileSeamComponents22_AddExceptionFilter.Title=Seam Web Exception Filter
+
+FileSeamComponents22_AddMultipartFilter.WindowTitle=Add Multipart Filter
+FileSeamComponents22_AddMultipartFilter.Title=Seam Web Multipart Filter
+
+FileSeamComponents22_AddRedirectFilter.WindowTitle=Add Redirect Filter
+FileSeamComponents22_AddRedirectFilter.Title=Seam Web Redirect Filter
+
+FileSeamComponents22_AddAuthenticationFilter.WindowTitle=Add Authentication Filter
+FileSeamComponents22_AddAuthenticationFilter.Title=Seam Web Authentication Filter
+
+FileSeamComponents22_AddCharacterFilter.WindowTitle=Add Character Encoding Filter
+FileSeamComponents22_AddCharacterFilter.Title=Seam Web Character Filter
+
+FileSeamComponents22_AddAjaxFilter.WindowTitle=Add Ajax For JSF Filter
+FileSeamComponents22_AddAjaxFilter.Title=Seam Web Ajax Filter
+
+FileSeamComponents22_AddLoggingFilter.WindowTitle=Add Logging Filter
+FileSeamComponents22_AddLoggingFilter.Title=Seam Web Logging Filter
+
+FileSeamComponents22_AddSession.WindowTitle=Add Session
+FileSeamComponents22_AddSession.Title=Seam Web Session
+
+FileSeamComponents22_AddIdentityFilter.WindowTitle=Add Identity Filter
+FileSeamComponents22_AddIdentityFilter.Title=Seam Web Identity Filter
+
+FileSeamComponents22_AddWicketFilter.WindowTitle=Add Wicket Filter
+FileSeamComponents22_AddWicketFilter.Title=Seam Web Wicket Filter
+
+FileSeamComponents22_AddWebApplication.WindowTitle=Add Web Application
+FileSeamComponents22_AddWebApplication.Title=Seam Wicket Web App
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-async.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-async.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-async.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -256,4 +256,17 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamAsyncPool"/>
+ <XChildEntity name="SeamAsyncQuartz"/>
+ <XChildEntity name="SeamAsyncTimer"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Async" path="CreateActions.Async"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-components.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-components.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-components.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -14,6 +14,7 @@
<PAIR name="SeamComponents1.2" value="FileSeamComponents12"/>
<PAIR name="SeamComponents2.0" value="FileSeamComponents20"/>
<PAIR name="SeamComponents2.1" value="FileSeamComponents21"/>
+ <PAIR name="SeamComponents2.2" value="FileSeamComponents22"/>
</MAPPING>
<MAPPING name="FilteredTreeConstraints"/>
<MAPPING name="FilteredTrees"/>
@@ -526,6 +527,104 @@
<XDependencies/>
</XModelEntity>
<XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.seam.xml.components.model.SeamComponentsFileLoader"
+ ImplementingClass="org.jboss.tools.seam.xml.components.model.FileSeamComponentsImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData"
+ XMLSUBPATH="component" name="FileSeamComponent22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamProperty"/>
+ <XChildEntity name="SeamPropertyList"/>
+ <XChildEntity name="SeamPropertyMap"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.seam.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="components" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttribute PROPERTIES="id=true;category=general"
+ name="component-name" xmlname="name"/>
+ <XModelAttributeReference
+ attributes="class,scope,precedence,installed,auto-create,jndi-name,startup,startupDepends"
+ entity="SeamComponent21" name="component"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/components" name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="namespaceMapping"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced"
+ default="default(false)" name="startup" xmlname="startup">
+ <Constraint loader="ListString">
+ <value name="default(false)"/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItemReference entity="FileSeamComponent20" name="Open" path="Open"/>
+ <XActionItemReference entity="FileSeamComponent20" name="OpenWith" path="OpenWith"/>
+ <XActionItemReference entity="FileSeamComponent20" name="EditActions" path="EditActions"/>
+ <XActionItemReference entity="FileSeamComponent20" name="SaveActions" path="SaveActions"/>
+ <XActionItemReference entity="FileSeamComponent20"
+ name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="FileSeamComponent20" name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="FileSeamComponent20"
+ name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="FileSeamComponent20" name="Properties" path="Properties"/>
+ <XActionItemReference entity="FileSeamComponent20"
+ name="DiscardActions" path="DiscardActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileSeamComponent22_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItemReference entity="FileSeamComponent21"
+ name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="FileSeamComponent20" name="Properties" path="Properties"/>
+ <XActionItem kind="list" name="VerifyActions">
+ <XActionItem kind="list" name="StaticActions"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity
ImplementationLoadingClass="org.jboss.tools.seam.xml.components.model.SeamComponents11FileLoader"
ImplementingClass="org.jboss.tools.seam.xml.components.model.FileSeamComponentsImpl"
ObjectEditorClass="%XML%"
@@ -1182,6 +1281,127 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
+ <XModelEntity
+ ImplementationLoadingClass="org.jboss.tools.seam.xml.components.model.SeamComponentsFileLoader"
+ ImplementingClass="org.jboss.tools.seam.xml.components.model.FileSeamComponentsImpl"
+ ObjectEditorClass="%XML%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData"
+ XMLSUBPATH="components" name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamComponent21"/>
+ <XChildEntity name="SeamFactory20"/>
+ <XChildEntity name="SeamEvent20"/>
+ <XChildEntity name="SeamImport"/>
+ </XChildrenEntities>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.seam.file" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="components" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
+ <XModelAttribute default="xml" name="extension" xmlname="EXTENSION">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
+ <Editor name="Note"/>
+ </XModelAttribute>
+ <XModelAttribute loader="ElementType" name="_lateload" visibility="false">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute default="no" name="isIncorrect" visibility="false">
+ <Constraint loader="List">
+ <value name="yes"/>
+ <value name="no"/>
+ </Constraint>
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/components" name="xmlns" xmlname="xmlns"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://www.w3.org/2001/XMLSchema-instance" name="xmlns:xsi" xmlname="xmlns:xsi"/>
+ <XModelAttribute PROPERTIES="save=always"
+ default="http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd"
+ name="xsi:schemaLocation" xmlname="xsi:schemaLocation"/>
+ <XModelAttribute name="namespaceMapping"/>
+ <XModelAttribute name="encoding">
+ <Constraint loader="ListString">
+ <value name="ISO-8859-1"/>
+ <value name="UTF-8"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItemReference entity="FileSeamComponents20" name="Open" path="Open"/>
+ <XActionItemReference entity="FileSeamComponents20" name="OpenWith" path="OpenWith"/>
+ <XActionItemReference entity="FileSeamComponents20"
+ name="EditActions" path="EditActions"/>
+ <XActionItemReference entity="FileSeamComponents20"
+ name="SaveActions" path="SaveActions"/>
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Component..." kind="action" name="AddComponent">
+ <EntityData EntityName="SeamComponent21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="class" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%"
+ ICON="action.new.struts.webapp.res_ref"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Factory..." kind="action" name="AddFactory">
+ <EntityData EntityName="SeamFactory20">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="value" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Event..." kind="action" name="AddEvent">
+ <EntityData EntityName="SeamEvent20">
+ <AttributeData AttributeName="type"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Import..." kind="action" name="AddImport">
+ <EntityData EntityName="SeamImport">
+ <AttributeData AttributeName="import"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ <XActionItemReference entity="FileSeamComponents20"
+ name="CopyActions" path="CopyActions"/>
+ <XActionItemReference entity="FileSeamComponents20"
+ name="DeleteActions" path="DeleteActions"/>
+ <XActionItemReference entity="FileSeamComponents20" name="Properties" path="Properties"/>
+ <XActionItemReference entity="FileSeamComponents20"
+ name="DiscardActions" path="DiscardActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity name="FileSeamComponents22_EditorActionList">
+ <XChildrenEntities/>
+ <XEntityRenderer/>
+ <XModelAttributes/>
+ <XActionItem kind="list">
+ <XActionItemReference entity="FileSeamComponents22"
+ name="CreateActions" path="CreateActions"/>
+ <XActionItemReference entity="FileSeamComponents21" name="Properties" path="Properties"/>
+ <XActionItem kind="list" name="VerifyActions">
+ <XActionItem kind="list" name="StaticActions"/>
+ </XActionItem>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
<XModelEntity ImplementingClass="%Custom%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData"
XMLSUBPATH="action" name="SeamAction">
@@ -2102,6 +2322,8 @@
<XChildEntity name="FileSeamComponent20"/>
<XChildEntity name="FileSeamComponents21"/>
<XChildEntity name="FileSeamComponent21"/>
+ <XChildEntity name="FileSeamComponents22"/>
+ <XChildEntity name="FileSeamComponent22"/>
</XChildrenEntities>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="New" group="1"
@@ -2138,6 +2360,8 @@
<XChildEntity name="FileSeamComponent20"/>
<XChildEntity name="FileSeamComponents21"/>
<XChildEntity name="FileSeamComponent21"/>
+ <XChildEntity name="FileSeamComponents22"/>
+ <XChildEntity name="FileSeamComponent22"/>
</XChildrenEntities>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="New" group="1"
@@ -2174,6 +2398,8 @@
<XChildEntity name="FileSeamComponent20"/>
<XChildEntity name="FileSeamComponents21"/>
<XChildEntity name="FileSeamComponent21"/>
+ <XChildEntity name="FileSeamComponents22"/>
+ <XChildEntity name="FileSeamComponent22"/>
</XChildrenEntities>
<XActionItem kind="list"/>
</XEntityExtension>
@@ -2186,6 +2412,8 @@
<XChildEntity name="FileSeamComponent20"/>
<XChildEntity name="FileSeamComponents21"/>
<XChildEntity name="FileSeamComponent21"/>
+ <XChildEntity name="FileSeamComponents22"/>
+ <XChildEntity name="FileSeamComponent22"/>
</XChildrenEntities>
<XActionItem kind="list"/>
</XEntityExtension>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-core.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-core.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-core.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -2136,4 +2136,21 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamCoreInit21"/>
+ <XChildEntity name="SeamCoreManager21"/>
+ <XChildEntity name="SeamCorePojoCache"/>
+ <XChildEntity name="SeamCoreResourceLoader20"/>
+ <XChildEntity name="SeamBPMActor20"/>
+ <XChildEntity name="SeamBPMJBPM20"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Core" path="CreateActions.Core"/>
+ <XActionItemReference entity="FileSeamComponents21" name="BPM" path="CreateActions.BPM"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-drools.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-drools.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-drools.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -374,4 +374,43 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamDroolsManagedWorkingMemory"/>
+ <XChildEntity name="SeamDroolsRuleBase"/>
+ <XChildEntity name="SeamDroolsRuleAgent"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem ICON="action.empty" displayName="Drools" group="1"
+ kind="list" name="Drools">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Managed Working Memory..." kind="action" name="AddManagedWorkingMemory">
+ <EntityData EntityName="SeamDroolsManagedWorkingMemory">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="rule-base" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Rule Base..." kind="action" name="AddRuleBase">
+ <EntityData EntityName="SeamDroolsRuleBase">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="rule-files" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Rule Agent..." kind="action" name="AddRuleAgent">
+ <EntityData EntityName="SeamDroolsRuleAgent">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="configuration-file" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-framework.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-framework.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-framework.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -795,4 +795,18 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamFrameworkEntityQuery21"/>
+ <XChildEntity name="SeamFrameworkHibernateEntityQuery21"/>
+ <XChildEntity name="SeamFrameworkEntityHome"/>
+ <XChildEntity name="SeamFrameworkHibernateEntityHome"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Framework" path="CreateActions.Framework"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-international.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-international.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-international.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -290,4 +290,18 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamCoreLocaleSelector20"/>
+ <XChildEntity name="SeamCoreTimeZoneSelector20"/>
+ <XChildEntity name="SeamInternationalLocaleConfig"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21"
+ name="International" path="CreateActions.International"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-jms.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-jms.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-jms.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -408,4 +408,17 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamJmsQueueConnection"/>
+ <XChildEntity name="SeamJmsTopicConnection"/>
+ <XChildEntity name="SeamJmsTopicPublisher"/>
+ <XChildEntity name="SeamJmsQueueSender"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="JMS" path="CreateActions.JMS"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-mail.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -456,4 +456,17 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamMailSession"/>
+ <XChildEntity name="SeamMailMeldware"/>
+ <XChildEntity name="SeamMailMeldwareUser"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Mail" path="CreateActions.Core"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-pdf.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-pdf.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-pdf.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -244,4 +244,16 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamPdfDocumentStore"/>
+ <XChildEntity name="SeamPdfKeyStoreConfig"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Pdf" path="CreateActions.Pdf"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-persistence.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-persistence.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-persistence.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -983,4 +983,20 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamPersistenceManagedContext"/>
+ <XChildEntity name="SeamPersistenceEntityManagerFactory"/>
+ <XChildEntity name="SeamPersistenceFilter"/>
+ <XChildEntity name="SeamPersistenceManagedHibernateSession"/>
+ <XChildEntity name="SeamPersistenceHibernateSessionFactory21"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21"
+ name="Persistence" path="CreateActions.Persistence"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-remoting.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-remoting.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-remoting.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -278,4 +278,15 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamRemoting21"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Remoting" path="CreateActions.Remoting"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-security.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-security.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-security.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -727,4 +727,101 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamSecurityIdentity21"/>
+ <XChildEntity name="SeamFacesSecurityEvents20"/>
+ <XChildEntity name="SeamSecurityIdentityManager21"/>
+ <XChildEntity name="SeamSecurityJPAIdentityStore21"/>
+ <XChildEntity name="SeamSecurityLDAPIdentityStore21"/>
+ <XChildEntity name="SeamSecurityPermissionManager21"/>
+ <XChildEntity name="SeamSecurityJPAPermissionStore21"/>
+ <XChildEntity name="SeamSecurityRuleBasedPermissionResolver21"/>
+ <XChildEntity name="SeamSecurityPersistentPermissionResolver21"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItem ICON="action.empty" displayName="Security" group="1"
+ kind="list" name="Security">
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Identity..." kind="action" name="AddIdentity">
+ <EntityData EntityName="SeamSecurityIdentity21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="authenticate-method" Mandatory="no"/>
+ <AttributeData AttributeName="remember-me" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Faces Security Events..." kind="action" name="AddFacesSecurityEvents">
+ <EntityData EntityName="SeamFacesSecurityEvents20">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="cookie-max-age" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Identity Manager..." kind="action" name="AddIdentityManager">
+ <EntityData EntityName="SeamSecurityIdentityManager21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="identity-store" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JPA Identity Store..." kind="action" name="AddJPAIdentityStore">
+ <EntityData EntityName="SeamSecurityJPAIdentityStore21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="user-class"/>
+ <AttributeData AttributeName="entity-manager" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="LDAP Identity Store..." kind="action" name="AddLDAPIdentityStore">
+ <EntityData EntityName="SeamSecurityLDAPIdentityStore21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="server-address" Mandatory="no"/>
+ <AttributeData AttributeName="server-port" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Permission Manager..." kind="action" name="AddPermissionManager">
+ <EntityData EntityName="SeamSecurityPermissionManager21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="permission-store" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="JPA Permission Store..." kind="action" name="AddJPAPermissionStore">
+ <EntityData EntityName="SeamSecurityJPAPermissionStore21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="user-permission-class" Mandatory="no"/>
+ <AttributeData AttributeName="entity-manager" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Rule Based Permission Resolver..." kind="action" name="AddRuleBasedPermissionResolver">
+ <EntityData EntityName="SeamSecurityRuleBasedPermissionResolver21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="security-rules" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ <XActionItem HandlerClassName="%Create%" ICON="action.empty"
+ PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ displayName="Persistent Permission Resolver..." kind="action" name="AddPersistentPermissionResolver">
+ <EntityData EntityName="SeamSecurityPersistentPermissionResolver21">
+ <AttributeData AttributeName="name"/>
+ <AttributeData AttributeName="permission-store" Mandatory="no"/>
+ </EntityData>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-theme.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-theme.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-theme.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -286,4 +286,15 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamThemeSelector20"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Theme" path="CreateActions.Theme"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-transaction.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-transaction.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-transaction.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -318,4 +318,19 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamTransactionEjb"/>
+ <XChildEntity name="SeamTransactionEntity"/>
+ <XChildEntity name="SeamTransactionHibernate"/>
+ <XChildEntity name="SeamNoTransaction"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21"
+ name="Transaction" path="CreateActions.Transaction"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-ui.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-ui.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-ui.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -179,4 +179,17 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamUIJPA21"/>
+ <XChildEntity name="SeamUIHibernate21"/>
+ <XChildEntity name="SeamUIEntityConverter21"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="UI" path="CreateActions.UI"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-web.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -1142,4 +1142,27 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamWebContextFilter20"/>
+ <XChildEntity name="SeamWebExceptionFilter20"/>
+ <XChildEntity name="SeamWebMultipartFilter20"/>
+ <XChildEntity name="SeamWebRedirectFilter20"/>
+ <XChildEntity name="SeamWebAuthenticationFilter20"/>
+ <XChildEntity name="SeamWebCharacterFilter20"/>
+ <XChildEntity name="SeamWebAjaxFilter20"/>
+ <XChildEntity name="SeamWebLoggingFilter20"/>
+ <XChildEntity name="SeamWebSession21"/>
+ <XChildEntity name="SeamWebIdentityFilter21"/>
+ <XChildEntity name="SeamWebWicketFilter21"/>
+ <XChildEntity name="SeamWebHotDeployFilter21"/>
+ <XChildEntity name="SeamWebRewriteFilter21"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Web" path="CreateActions.Web"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-wicket.meta
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-wicket.meta 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/resources/meta/seam-wicket.meta 2009-08-27 14:30:44 UTC (rev 17333)
@@ -89,4 +89,15 @@
</XActionItem>
</XActionItem>
</XEntityExtension>
+ <XEntityExtension name="FileSeamComponents22">
+ <XChildrenEntities>
+ <XChildEntity name="SeamWicketWebApp21"/>
+ </XChildrenEntities>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.empty" displayName="New" group="1"
+ kind="list" name="CreateActions">
+ <XActionItemReference entity="FileSeamComponents21" name="Wicket" path="CreateActions.Wicket"/>
+ </XActionItem>
+ </XActionItem>
+ </XEntityExtension>
</XModelEntityGroup>
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/async-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/async-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/async-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/async" xmlns:async="http://jboss.com/products/seam/async"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="timer-service-dispatcher">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="components:attlist.ejbcomponent"/>
+ <xs:attributeGroup ref="async:attlist.timerServiceDispatcher"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.timerServiceDispatcher" />
+
+ <xs:element name="quartz-dispatcher">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="async:attlist.quartzDispatcher"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.quartzDispatcher"> </xs:attributeGroup>
+
+ <xs:element name="thread-pool-dispatcher">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="async:attlist.threadPoolDispatcher"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.threadPoolDispatcher">
+ <xs:attribute name="thread-pool-size" type="components:int"/>
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/async-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/bpm-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/bpm-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/bpm-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/bpm" xmlns:bpm="http://jboss.com/products/seam/bpm"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="actor">
+ <xs:annotation>
+ <xs:documentation>The jbpm actor id</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element minOccurs="0" maxOccurs="1" ref="bpm:id"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="bpm:group-actor-ids"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="bpm:attlist.actor"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="id" type="xs:string"/>
+ <xs:element name="group-actor-ids" type="components:multiValuedProperty"/>
+ <xs:attributeGroup name="attlist.actor">
+ <xs:attribute name="group-actor-ids" type="components:string" />
+ </xs:attributeGroup>
+
+ <xs:element name="jbpm">
+ <xs:annotation>
+ <xs:documentation>Configuration for jbpm</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="process-definitions" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>A list of jbpm process files</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="pageflow-definitions" type="components:multiValuedProperty"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="bpm:attlist.jbpm" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.jbpm" />
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/bpm-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/cache-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/cache-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/cache-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/cache"
+ xmlns:cache="http://jboss.com/products/seam/cache"
+ xmlns:components="http://jboss.com/products/seam/components"
+ attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components"
+ schemaLocation="components-2.2.xsd" />
+
+ <xs:element name="eh-cache-provider">
+ <xs:annotation>
+ <xs:documentation>The EHCache provider</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="cache:attlist.cacheProvider" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jboss-cache-provider">
+ <xs:annotation>
+ <xs:documentation>The JBoss 1.x Cache provider</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="cache:attlist.cacheProvider" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jboss-cache2-provider">
+ <xs:annotation>
+ <xs:documentation>The JBoss 2.x cache provider</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="cache:attlist.cacheProvider" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jboss-pojo-cache-provider">
+ <xs:annotation>
+ <xs:documentation>The JBoss 1.x POJOCache provider</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="cache:attlist.cacheProvider" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.cacheProvider">
+ <xs:attribute name="default-region" type="components:string" />
+ <xs:attribute name="configuration" type="components:string" />
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/cache-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/components-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/components-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/components-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,371 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/components"
+ xmlns:components="http://jboss.com/products/seam/components">
+ <xs:annotation>
+ <xs:documentation>
+ The top-level schema for a Seam components.xml. For more information on Seam, see
+ http://www.seamframework.org.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="components">
+ <xs:annotation>
+ <xs:documentation> The components tag is a the root element for a components.xml containing multiples
+ component definitions. </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="components:component"/>
+ <xs:element ref="components:factory"/>
+ <xs:element ref="components:event"/>
+ <xs:element ref="components:import"/>
+ <xs:any namespace="##other" processContents="strict"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="component">
+ <xs:annotation>
+ <xs:documentation> The component tag defines a single Seam component. It may serve as to the root element of
+ a fine-grained *.component.xml file. </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="components:property"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="components:attlist.ejbcomponent"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="import" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ The import tag declares additional global component namespaces that will be in effect for
+ all components.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.ejbcomponent">
+ <xs:attribute name="jndi-name" type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ The JNDI name used to lookup the component. This value is only used with EJB
+ components that don't follow the global JNDI pattern.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.component">
+ <xs:attribute name="name" type="components:componentName">
+ <xs:annotation>
+ <xs:documentation>The name of component</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="class" type="components:componentName">
+ <xs:annotation>
+ <xs:documentation>The Java class of the component implementation</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="scope">
+ <xs:annotation>
+ <xs:documentation>The scope of the component</xs:documentation>
+ </xs:annotation>
+
+ <xs:simpleType>
+ <xs:union memberTypes="components:scopeType components:expressionType"></xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="precedence" default="20">
+ <xs:annotation>
+ <xs:documentation>
+ The precedence of the component, expressed as a positive integer. Higher
+ precedence components override lower precedence components. The pre-definied precedence
+ values are:
+
+ BUILT_IN = 0,
+ FRAMEWORK = 10,
+ APPLICATION = 20,
+ DEPLOYMENT = 30,
+ MOCK = 40
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:union memberTypes="xs:nonNegativeInteger components:precedenceType components:expressionType"></xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="installed" default="true" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ The installed value indicates whether or not the component definition should be installed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="auto-create" default="false" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Indicates whether or not a components instance should be created when
+ one doesn't exist and when the component is requested using a method that
+ would not normally instantiate a new instance. (such as basic injection)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="startup" default="false" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Indicates that an instance of the component should be created when the
+ the component's controlling scope starts. This is only used for application and
+ session scope.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="startupDepends" type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ A list of component names that this component depends on and that should be created before
+ this component is started.
+ </xs:documentation>
+ </xs:annotation></xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:element name="factory">
+ <xs:annotation>
+ <xs:documentation>
+ Factories are like a component instances except their values are
+ determined by computing a value or calling a method on another
+ component.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.factory"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.factory">
+ <xs:attribute name="name" use="required">
+ <xs:annotation>
+ <xs:documentation>The name of the factory component</xs:documentation>
+ </xs:annotation></xs:attribute>
+
+ <xs:attribute name="method">
+ <xs:annotation>
+ <xs:documentation>
+ The method binding used to evauluate the factory value. A factory should have either
+ a method binding or a value binding, but not both.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="value">
+ <xs:annotation>
+ <xs:documentation>
+ The value binding used to evauluate the factory value. A factory should have either
+ a method binding or a value binding, but not both.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="scope">
+ <xs:annotation>
+ <xs:documentation>The scope of the factory value</xs:documentation>
+ </xs:annotation>
+
+ <xs:simpleType>
+ <xs:union memberTypes="components:scopeType components:expressionType"></xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="auto-create" default="false" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Indicates whether or not the factory value should be created when
+ one doesn't exist and when the component is requested using a method that
+ would not normally instantiate a new instance. (such as basic injection)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+
+ <xs:element name="property">
+ <xs:annotation>
+ <xs:documentation>
+ A generic property. The body contains the value or values.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="components:key" />
+ <xs:element ref="components:value" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.property"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.property">
+ <xs:attribute name="name" use="required" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The property name</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="type" type="components:string" >
+ <xs:annotation>
+ <xs:documentation>Concrete type to use if the property is multi-valued</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+
+ <xs:element name="key" type="components:string">
+ <xs:annotation>
+ <xs:documentation>For map values, the key for the following value</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="value" type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ For list values, the value to be added.
+ For map values, the value for the preceding key
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="multiValuedProperty">
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="components:value"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="mapProperty">
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="components:key"/>
+ <xs:element ref="components:value"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="event">
+ <xs:annotation>
+ <xs:documentation>An event handler definition</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="components:action"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.event"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.event">
+ <xs:attribute name="type" use="required" type="components:componentNameType" >
+ <xs:annotation>
+ <xs:documentation>The event type to handle</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:element name="action">
+ <xs:annotation>
+ <xs:documentation>The action to be taken when the event occurs</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.action"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.action">
+ <xs:attribute name="execute" use="required" type="components:elType">
+ <xs:annotation>
+ <xs:documentation>An EL expression to be invoked when the event is invoked</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:simpleType name="propertyType">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="@.+@"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="elType">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="\#\{.+\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <!-- place holder - need something more expressive -->
+ <xs:simpleType name="componentNameType">
+ <xs:restriction base="xs:string">
+ <xs:minLength value="1" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="expressionType">
+ <xs:union memberTypes="components:elType components:propertyType"/>
+ </xs:simpleType>
+
+ <xs:simpleType name="boolean">
+ <xs:union memberTypes="xs:boolean components:expressionType"/>
+ </xs:simpleType>
+
+ <xs:simpleType name="string">
+ <xs:union memberTypes="xs:string components:expressionType"/>
+ </xs:simpleType>
+
+ <xs:simpleType name="int">
+ <xs:union memberTypes="xs:int components:expressionType"/>
+ </xs:simpleType>
+
+ <xs:simpleType name="componentName">
+ <xs:union memberTypes="components:componentNameType components:expressionType" />
+ </xs:simpleType>
+
+ <xs:simpleType name="scopeType">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="stateless"/>
+ <xs:enumeration value="event"/>
+ <xs:enumeration value="page"/>
+ <xs:enumeration value="conversation"/>
+ <xs:enumeration value="session"/>
+ <xs:enumeration value="business_process"/>
+ <xs:enumeration value="application"/>
+ <xs:enumeration value="STATELESS"/>
+ <xs:enumeration value="EVENT"/>
+ <xs:enumeration value="PAGE"/>
+ <xs:enumeration value="CONVERSATION"/>
+ <xs:enumeration value="SESSION"/>
+ <xs:enumeration value="BUSINESS_PROCESS"/>
+ <xs:enumeration value="APPLICATION"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="implementationType">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="hash"/>
+ <xs:enumeration value="linked"/>
+ <xs:enumeration value="tree"/>
+ <xs:enumeration value="HASH"/>
+ <xs:enumeration value="LINKED"/>
+ <xs:enumeration value="TREE"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="precedenceType">
+ <xs:restriction base="xs:int">
+ <xs:enumeration value="0"/>
+ <xs:enumeration value="10"/>
+ <xs:enumeration value="20"/>
+ <xs:enumeration value="30"/>
+ <xs:enumeration value="40"/>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/components-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/core-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/core-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/core-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/core" xmlns:core="http://jboss.com/products/seam/core"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation>The core Seam components</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="init">
+ <xs:annotation>
+ <xs:documentation>A Seam component that holds Seam configuration settings</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="interceptors" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>A list of interceptors that should be enabled for all components. You must specify all built-in interceptors as well as any additional interceptors. Execution order is determined by the around and within attributes on the @Interceptor annotation.
+
+These interceptors are enabled by default:
+ org.jboss.seam.core.SynchronizationInterceptor
+ org.jboss.seam.async.AsynchronousInterceptor
+ org.jboss.seam.ejb.RemoveInterceptor
+ org.jboss.seam.persistence.HibernateSessionProxyInterceptor
+ org.jboss.seam.persistence.EntityManagerProxyInterceptor
+ org.jboss.seam.core.MethodContextInterceptor
+ org.jboss.seam.core.EventInterceptor
+ org.jboss.seam.core.ConversationalInterceptor
+ org.jboss.seam.bpm.BusinessProcessInterceptor
+ org.jboss.seam.core.ConversationInterceptor
+ org.jboss.seam.core.BijectionInterceptor
+ org.jboss.seam.transaction.RollbackInterceptor
+ org.jboss.seam.transaction.TransactionInterceptor
+ org.jboss.seam.webservice.WSSecurityInterceptor
+ org.jboss.seam.security.SecurityInterceptor
+
+The distributable flag appends the ManagedEntityInterceptor to this list (applies only to conversation-scoped components).</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="core:attlist.init"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.init">
+ <xs:attribute name="debug" type="components:boolean" />
+ <xs:attribute name="distributable" type="components:boolean" />
+ <xs:attribute name="jndi-pattern" type="components:string" />
+ <xs:attribute name="security-enabled" type="components:boolean" />
+ <xs:attribute name="transaction-management-enabled" type="components:boolean"/>
+ </xs:attributeGroup>
+
+ <xs:element name="manager">
+ <xs:annotation>
+ <xs:documentation>The Seam conversation manager</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="core:attlist.manager"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.manager">
+ <xs:attribute name="concurrent-request-timeout" type="components:int"/>
+ <xs:attribute name="conversation-timeout" type="components:int"/>
+ <xs:attribute name="conversation-id-parameter" type="components:string"/>
+ <xs:attribute name="parent-conversation-id-parameter" type="components:string"/>
+ <xs:attribute name="uri-encoding" type="components:string" />
+ <xs:attribute name="default-flush-mode">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="MANUAL"/>
+ <xs:enumeration value="AUTO"/>
+ <xs:enumeration value="COMMIT"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:element name="resource-loader">
+ <xs:annotation>
+ <xs:documentation>Access to application resources and resource bundles</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="bundle-names" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>A list of resource bundle names</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="core:attlist.resourceLoader"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.resourceLoader">
+ <xs:attribute name="bundle-names" type="components:string" />
+ </xs:attributeGroup>
+
+ <xs:element name="pojo-cache">
+ <xs:annotation>
+ <xs:documentation>Integration with JBoss Cache</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="core:attlist.pojoCache"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.pojoCache">
+ <xs:attribute name="cfg-resource-name" type="components:string" />
+ </xs:attributeGroup>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/core-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/document-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/document-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/document-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ xmlns:doc="http://jboss.com/products/seam/document"
+ xmlns:components="http://jboss.com/products/seam/components"
+ targetNamespace="http://jboss.com/products/seam/document"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components"
+ schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="document-store">
+ <xs:annotation>
+ <xs:documentation>
+ The document store is used to store rendered documents for download on a later request.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="doc:attlist.docstore"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.docstore">
+ <xs:attribute name="error-page" type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ When a document had expired or otherwise cannot be loaded, this page is displayed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="use-extensions" type="components:boolean">
+ <xs:annotation>
+ <xs:documentation>
+ Controls whether or not the URLs for documents should contain their correct file name
+ extensions. Using file name extensions requires additional configuration in web.xml.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/document-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/drools-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/drools-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/drools-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/drools" xmlns:drools="http://jboss.com/products/seam/drools"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="rule-base">
+ <xs:annotation>
+ <xs:documentation>A drools rule base</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element minOccurs="0" maxOccurs="1" ref="drools:rule-files"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="drools:attlist.RuleBase"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="rule-files" type="components:multiValuedProperty"/>
+ <xs:attributeGroup name="attlist.RuleBase">
+ <xs:attribute name="dsl-file" type="components:string"/>
+ <xs:attribute name="rule-files" type="components:string"/>
+ <xs:attribute name="consequence-exception-handler" type="components:expressionType"/>
+ </xs:attributeGroup>
+
+ <xs:element name="rule-agent">
+ <xs:annotation>
+ <xs:documentation>A drools BRMS configuration</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="drools:attlist.RuleAgent" />
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.RuleAgent">
+ <xs:attribute name="configuration-file" type="components:string" />
+ <xs:attribute name="config-name" type="components:string" />
+ <xs:attribute name="new-instance" type="components:string" />
+ <xs:attribute name="files" type="components:string" />
+ <xs:attribute name="url" type="components:string" />
+ <xs:attribute name="local-cache-dir" type="components:string" />
+ <xs:attribute name="poll" type="components:string" />
+ </xs:attributeGroup>
+
+ <xs:element name="managed-working-memory">
+ <xs:annotation>
+ <xs:documentation>A working memory for rules calculations</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element minOccurs="0" maxOccurs="1" ref="drools:event-listeners"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="drools:attlist.ManagedWorkingMemory"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.ManagedWorkingMemory">
+ <xs:attribute name="rule-base" type="components:expressionType"/>
+ </xs:attributeGroup>
+ <xs:element name="event-listeners" type="components:multiValuedProperty"/>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/drools-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/framework-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/framework-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/framework-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/framework"
+ xmlns:framework="http://jboss.com/products/seam/framework"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="entity-query">
+ <xs:annotation>
+ <xs:documentation>A query controller for JPA queries</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:ejbql"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:order"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:restrictions"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:group-by"/>
+ <xs:element minOccurs="0" maxOccurs="1" name="hints" type="components:mapProperty" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="framework:attlist.Query"/>
+ <xs:attributeGroup ref="framework:attlist.entityQuery"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.entityQuery">
+ <xs:attribute name="entity-manager" type="xs:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="hibernate-entity-query">
+ <xs:annotation>
+ <xs:documentation>A query controller for Hibernate queries</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:ejbql"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:order"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:restrictions"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:group-by"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="framework:attlist.Query"/>
+ <xs:attributeGroup ref="framework:attlist.HibernateEntityQuery"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.HibernateEntityQuery">
+ <xs:attribute name="cacheable" type="components:boolean" />
+ <xs:attribute name="cache-region" type="components:string"/>
+ <xs:attribute name="fetch-size" type="components:int"/>
+ <xs:attribute name="session" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.Query">
+ <xs:attribute name="ejbql" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The base query</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="max-results" type="components:int">
+ <xs:annotation>
+ <xs:documentation>The query page size</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="order" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The property to order results by</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="group-by" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The group-by clause</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:element name="ejbql" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The base query</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="order" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The property to order results by</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="group-by" type="components:string">
+ <xs:annotation>
+ <xs:documentation>The group-by clause</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="restrictions" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>Query restrictions (the WHERE clause)</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+
+
+ <xs:element name="entity-home">
+ <xs:annotation>
+ <xs:documentation>A home controller for JPA entities</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="id" type="xs:string"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:created-message"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:updated-message"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:deleted-message"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:new-instance"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="framework:attlist.Home"/>
+ <xs:attributeGroup ref="framework:attlist.EntityHome"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.EntityHome">
+ <xs:attribute name="entity-manager" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="hibernate-entity-home">
+ <xs:annotation>
+ <xs:documentation>A home controller for Hibernate entities</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="id" type="xs:string"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:created-message"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:updated-message"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:deleted-message"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="framework:new-instance"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="framework:attlist.Home"/>
+ <xs:attributeGroup ref="framework:attlist.HibernateEntityHome"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.HibernateEntityHome">
+ <xs:attribute name="session" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.Home">
+ <xs:attribute name="entity-class" type="components:string"/>
+ <xs:attribute name="new-instance" type="components:expressionType"/>
+ <xs:attribute name="created-message" type="components:string"/>
+ <xs:attribute name="updated-message" type="components:string"/>
+ <xs:attribute name="deleted-message" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="created-message" type="components:string">
+ <xs:annotation>
+ <xs:documentation>A faces message added when the home controller creates a new instance</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="updated-message" type="components:string">
+ <xs:annotation>
+ <xs:documentation>A faces message added when the home controller updates an instance</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="deleted-message" type="components:string">
+ <xs:annotation>
+ <xs:documentation>A faces message added when the home controller deletes an instance</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="new-instance" type="components:expressionType">
+ <xs:annotation>
+ <xs:documentation>The new instance managed by a home controller</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/framework-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/international-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/international-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/international-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/international" xmlns:international="http://jboss.com/products/seam/international"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="locale-config">
+ <xs:annotation>
+ <xs:documentation>
+ Locale configuration component. An alternative to configuring
+ the locale in the JSF configuration file.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="supported-locales" type="components:multiValuedProperty"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="international:attlist.localeConfig"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.localeConfig">
+ <xs:attribute name="default-locale" type="components:string"/>
+ <xs:attribute name="supported-locales" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="locale-selector">
+ <xs:annotation>
+ <xs:documentation>The locale selector component</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="international:attlist.localeSelector"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.localeSelector">
+ <xs:attribute name="locale-string" type="components:string" />
+ <xs:attribute name="cookie-max-age" type="components:int" />
+ <xs:attribute name="cookie-enabled" type="components:boolean" />
+ </xs:attributeGroup>
+
+ <xs:element name="time-zone-selector">
+ <xs:annotation>
+ <xs:documentation>The time zone selector component</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="international:attlist.timeZoneSelector"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.timeZoneSelector">
+ <xs:attribute name="time-zone-id" type="components:string" />
+ <xs:attribute name="cookie-max-age" type="components:int" />
+ <xs:attribute name="cookie-enabled" type="components:boolean" />
+ </xs:attributeGroup>
+
+ <xs:element name="time-zones">
+ <xs:annotation>
+ <xs:documentation>The time zones provider component</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="international:attlist.timeZones"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.timeZones">
+ <xs:attribute name="wrap" type="components:boolean" />
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/international-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/jms-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/jms-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/jms-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/jms" xmlns:jms="http://jboss.com/products/seam/jms"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="topic-connection">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="jms:attlist.TopicConnection"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.TopicConnection">
+ <xs:attribute name="topic-connection-factory-jndi-name" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="queue-connection">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="jms:attlist.QueueConnection"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.QueueConnection">
+ <xs:attribute name="queue-connection-factory-jndi-name" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="managed-topic-publisher">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="jms:attlist.ManagedTopicPublisher"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.ManagedTopicPublisher">
+ <xs:attribute name="topic-jndi-name" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="managed-queue-sender">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="jms:attlist.ManagedQueueSender"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.ManagedQueueSender">
+ <xs:attribute name="queue-jndi-name" type="components:string"/>
+ </xs:attributeGroup>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/jms-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/mail"
+ xmlns:mail="http://jboss.com/products/seam/mail"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="mail-session">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="mail:attlist.mailSession" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.mailSession">
+ <xs:attribute name="username" type="components:string"/>
+ <xs:attribute name="password" type="components:string"/>
+ <xs:attribute name="host" type="components:string" default="localhost"/>
+ <xs:attribute name="port" type="components:string" />
+ <xs:attribute name="debug" type="components:string" default="false" />
+ <xs:attribute name="ssl" type="components:boolean" default="false" />
+ <xs:attribute name="tls" type="components:boolean" default="true" />
+ <xs:attribute name="session-jndi-name" type="components:string" />
+ </xs:attributeGroup>
+
+
+ <xs:element name="meldware">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="users" type="components:multiValuedProperty" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="meldware-user">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="aliases" type="components:multiValuedProperty" />
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="mail:attlist.meldwareUser" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.meldwareUser">
+ <xs:attribute name="username" type="components:string" />
+ <xs:attribute name="password" type="components:string" />
+ <xs:attribute name="administrator" type="components:boolean" default="false"/>
+ </xs:attributeGroup>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/mail-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/navigation-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/navigation-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/navigation-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/navigation" xmlns:navigation="http://jboss.com/products/seam/navigation"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="pages">
+ <xs:annotation>
+ <xs:documentation>The pages component</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="resources" type="components:multiValuedProperty">
+ <xs:annotation>
+ <xs:documentation>
+ A list of pages configuration files. Setting this value overrides the
+ default /WEB-INF/pages.xml.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="navigation:attlist.pages"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.pages">
+ <xs:attribute name="no-conversation-view-id" type="components:string" />
+ <xs:attribute name="login-view-id" type="components:string" />
+ <xs:attribute name="http-port" type="components:int" />
+ <xs:attribute name="https-port" type="components:int" />
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/navigation-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pageflow-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pageflow-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pageflow-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,326 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema xmlns="http://jboss.com/products/seam/pageflow"
+ targetNamespace="http://jboss.com/products/seam/pageflow"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+
+ <!-- PAGEFLOW-DEFINITION -->
+ <!-- ################### -->
+ <xs:element name="pageflow-definition">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="start-node-elements" />
+ <xs:group ref="node-elements" />
+ <xs:group ref="end-node-elements" />
+ <xs:group ref="action-elements" />
+ <xs:element ref="event" />
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="start-page" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- NODES -->
+ <!-- ##### -->
+ <xs:element name="start-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="transition" />
+ <xs:element ref="event" />
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="end-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="event" />
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="process-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="sub-process" />
+ <xs:element ref="transition" />
+ <xs:element ref="event" />
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="binding" type="bindingType" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="sub-process">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="version" type="xs:integer" />
+ <xs:attribute name="binding" type="bindingType" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="start-page">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="page-elements" />
+ </xs:choice>
+ <xs:attributeGroup ref="page-attributes" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="decision">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="handler" type="delegation" />
+ <xs:element ref="event" />
+ <xs:element ref="exception-handler" />
+ <xs:element name="transition">
+ <xs:complexType>
+ <xs:choice minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:element name="condition">
+ <xs:complexType mixed="true">
+ <xs:sequence minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:any processContents="lax"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="expression"
+ type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ <xs:group ref="action-elements" />
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="to" type="xs:string"
+ use="required" />
+ <xs:attribute name="name" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="expression" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="page">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element ref="end-conversation" />
+ </xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element ref="end-task" />
+ </xs:choice>
+ <xs:group ref="page-elements" />
+ </xs:sequence>
+ <xs:attributeGroup ref="page-attributes" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="redirect" />
+ <xs:element name="description" type="xs:string" />
+
+ <xs:element name="end-conversation">
+ <xs:complexType>
+ <xs:attribute name="before-redirect" type="booleanType" />
+ <xs:attribute name="create-process" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="end-task">
+ <xs:complexType>
+ <xs:attribute name="transition" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- TRANSITION -->
+ <!-- ########## -->
+ <xs:element name="transition">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="action-elements" />
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="to" type="xs:string" use="required" />
+ <xs:attribute name="name" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- ACTIONS -->
+ <!-- ####### -->
+ <xs:element name="action">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="class" type="xs:string" />
+ <xs:attribute name="config-type" default="field" type="xs:string" />
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="ref-name" type="xs:string" />
+ <xs:attribute name="accept-propagated-events"
+ type="booleanType" default="true" />
+ <xs:attribute name="expression" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="script">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="accept-propagated-events"
+ type="booleanType" default="true" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- EVENT -->
+ <!-- ##### -->
+ <xs:element name="event">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="action-elements" />
+ </xs:choice>
+ <xs:attribute name="type" use="required">
+ <xs:simpleType>
+ <xs:union>
+ <xs:simpleType>
+ <xs:restriction base="xs:string" />
+ </xs:simpleType>
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="node-enter" />
+ <xs:enumeration value="node-leave" />
+ <xs:enumeration value="process-start" />
+ <xs:enumeration value="process-end" />
+ <xs:enumeration value="task-create" />
+ <xs:enumeration value="task-assign" />
+ <xs:enumeration value="task-start" />
+ <xs:enumeration value="task-end" />
+ <xs:enumeration value="before-signal" />
+ <xs:enumeration value="after-signal" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- EXCEPTION-HANDLER -->
+ <!-- ################# -->
+ <xs:element name="exception-handler">
+ <xs:complexType>
+ <xs:choice minOccurs="1" maxOccurs="unbounded">
+ <xs:element ref="action" />
+ <xs:element ref="script" />
+ </xs:choice>
+ <xs:attribute name="exception-class" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- TYPES AND GROUPS -->
+ <!-- ################ -->
+ <xs:complexType name="delegation" mixed="true">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="class" type="xs:string" />
+ <xs:attribute name="config-type" default="field" type="xs:string" />
+ </xs:complexType>
+
+ <xs:simpleType name="configType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="field" />
+ <xs:enumeration value="bean" />
+ <xs:enumeration value="constructor" />
+ <xs:enumeration value="configuration-property" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="booleanType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="yes" />
+ <xs:enumeration value="no" />
+ <xs:enumeration value="true" />
+ <xs:enumeration value="false" />
+ <xs:enumeration value="on" />
+ <xs:enumeration value="off" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="enabledType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="enabled" />
+ <xs:enumeration value="disabled" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:group name="start-node-elements">
+ <xs:choice>
+ <xs:element ref="start-state" />
+ <xs:element ref="start-page" />
+ </xs:choice>
+ </xs:group>
+
+ <xs:group name="node-elements">
+ <xs:choice>
+ <xs:element ref="page" />
+ <xs:element ref="decision" />
+ <xs:element ref="process-state" />
+ </xs:choice>
+ </xs:group>
+
+ <xs:group name="end-node-elements">
+ <xs:choice>
+ <xs:element ref="end-state" />
+ </xs:choice>
+ </xs:group>
+
+ <xs:group name="action-elements">
+ <xs:choice>
+ <xs:element ref="action" />
+ <xs:element ref="script"/>
+ </xs:choice>
+ </xs:group>
+
+ <xs:group name="page-elements">
+ <xs:sequence>
+ <xs:element ref="description" maxOccurs="1" minOccurs="0"/>
+ <xs:element ref="redirect" maxOccurs="1" minOccurs="0"/>
+ <xs:element ref="event" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="exception-handler" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="transition" maxOccurs="unbounded" minOccurs="0"/>
+ <xs:group ref="action-elements" minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ </xs:group>
+
+ <xs:attributeGroup name="page-attributes">
+ <xs:attribute name="redirect" type="xs:boolean" />
+ <xs:attribute name="switch" type="enabledType" />
+ <xs:attribute name="no-conversation-view-id" type="xs:string" />
+ <xs:attribute name="timeout" type="xs:int" />
+ <xs:attribute name="back" type="enabledType" />
+ <xs:attribute name="view-id" type="xs:string" use="required" />
+ <xs:attribute name="name" type="xs:string" use="required" />
+ </xs:attributeGroup>
+
+ <xs:simpleType name="bindingType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="late" />
+ <xs:enumeration value="early" />
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pageflow-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,643 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/pages"
+ xmlns:pages="http://jboss.com/products/seam/pages">
+
+ <xs:annotation>
+ <xs:documentation>About this format ...</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="pages">
+ <xs:annotation>
+ <xs:documentation>The root of a pages.xml file</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="pages:conversation"/>
+ <xs:element ref="pages:page"/>
+ <xs:element ref="pages:exception"/>
+ </xs:choice>
+ <xs:attributeGroup ref="pages:attlist.pages"/>
+ </xs:complexType>
+ <xs:key name="conversation-key">
+ <xs:annotation>
+ <xs:documentation><p>You can read this as:</p>
+ <p>The pages element has a bunch of conversation elements, and for each of those conversation elements, they must have a unique name within this document.</p>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="conversation"/>
+ <xs:field xpath="name"/>
+ </xs:key>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.pages">
+ <xs:attribute name="no-conversation-view-id" type="pages:view-id" />
+ <xs:attribute name="login-view-id" type="pages:view-id"/>
+ <xs:attribute name="http-port" type="xs:unsignedLong"/>
+ <xs:attribute name="https-port" type="xs:unsignedLong"/>
+ </xs:attributeGroup>
+
+ <xs:element name="exception">
+ <xs:annotation>
+ <xs:documentation>A Seam exception handler</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:end-conversation"/>
+ <xs:choice>
+ <xs:element ref="pages:http-error"/>
+ <xs:element ref="pages:redirect"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.exception"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.exception">
+ <xs:attribute name="class" type="xs:token"/>
+ <xs:attribute name="log" type="pages:tf-boolean"/>
+ <xs:attribute name="log-level" type="pages:loglevel-values"/>
+
+ <!-- The logLevel attribute is deprecated and will be removed in the next major version! Please use log-level instead -->
+ <xs:attribute name="logLevel" type="pages:loglevel-values"/>
+ </xs:attributeGroup>
+
+ <xs:element name="conversation">
+ <xs:annotation>
+ <xs:documentation>Natural conversation configuration</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.conversation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.conversation">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="parameter-name" use="required" type="xs:token" />
+ <xs:attribute name="parameter-value" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="page">
+ <xs:annotation>
+ <xs:documentation>Configuration for a specific page or set up pages</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="pages:restrict"/>
+ <xs:element ref="pages:description"/>
+ <xs:element ref="pages:param"/>
+ <xs:element ref="pages:header" />
+ <xs:element ref="pages:rewrite" />
+ <xs:element ref="pages:begin-conversation"/>
+ <xs:element ref="pages:end-conversation"/>
+ <xs:element ref="pages:start-task"/>
+ <xs:element ref="pages:begin-task"/>
+ <xs:element ref="pages:end-task"/>
+ <xs:element ref="pages:create-process"/>
+ <xs:element ref="pages:resume-process"/>
+ <xs:element ref="pages:in"/>
+ <xs:element ref="pages:raise-event"/>
+ <xs:element ref="pages:action"/>
+ <xs:element ref="pages:navigation"/>
+ </xs:choice>
+ <xs:attributeGroup ref="pages:attlist.page"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.page">
+ <xs:attribute name="action" type="xs:token" />
+ <xs:attribute name="view-id" type="pages:view-id"/>
+ <xs:attribute name="switch" default="enabled" type="pages:ableness"/>
+ <xs:attribute name="no-conversation-view-id" type="pages:view-id" />
+ <xs:attribute name="conversation-required" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="login-required" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="scheme" type="pages:schemes" />
+ <xs:attribute name="timeout" type="xs:unsignedLong" />
+ <xs:attribute name="concurrent-request-timeout" type="xs:unsignedLong" >
+ <xs:annotation>
+ <xs:documentation>
+ Requests to conversations are serialized by default, and if
+ a lock cannot be acquired in time, the request will be
+ dropped. You can set the timeout on a page-by-page basis
+ here.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="bundle" type="xs:token" />
+ <xs:attribute name="conversation" type="xs:token" />
+ <xs:attribute name="expires" type="xs:unsignedLong" />
+ <xs:attribute name="validate-model" default="true" type="pages:tf-boolean"/>
+ </xs:attributeGroup>
+
+ <xs:element name="param">
+ <xs:annotation>
+ <xs:documentation>A page parameter</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.param"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.param">
+ <xs:attribute name="name" type="xs:token" />
+ <xs:attribute name="value" type="xs:token" />
+ <xs:attribute name="converter" type="xs:token" />
+ <xs:attribute name="converterId" type="xs:token" />
+ <xs:attribute name="validator" type="xs:token" />
+ <xs:attribute name="validatorId" type="xs:token" />
+ <xs:attribute name="required" type="pages:tf-boolean"/>
+ <xs:attribute name="validateModel" default="true" type="pages:tf-boolean"/>
+ </xs:attributeGroup>
+
+ <xs:element name="header">
+ <xs:annotation>
+ <xs:documentation>HTTP headers to be added</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.header"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.header">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="value" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="rewrite">
+ <xs:annotation>
+ <xs:documentation>URL rewriting pattern for this view</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.rewrite"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.rewrite">
+ <xs:attribute name="pattern" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="action">
+ <xs:annotation>
+ <xs:documentation>Page action</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.action"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.action">
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ <xs:attribute name="on-postback" default="true" type="pages:tf-boolean"/>
+ <xs:attribute name="execute" use="required" type="pages:method-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="restrict" type="pages:boolean-value-expression" default="true">
+ <xs:annotation>
+ <xs:documentation>Security restrictions</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="navigation">
+ <xs:annotation>
+ <xs:documentation>Page navigation</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:choice maxOccurs="2">
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:begin-conversation"/>
+ <xs:element ref="pages:end-conversation"/>
+ <xs:element ref="pages:start-task"/>
+ <xs:element ref="pages:begin-task"/>
+ <xs:element ref="pages:end-task"/>
+ <xs:element ref="pages:create-process"/>
+ <xs:element ref="pages:resume-process"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:out"/>
+ <xs:element minOccurs="0" ref="pages:raise-event" maxOccurs="1"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:render"/>
+ <xs:element ref="pages:redirect"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:rule"/>
+ </xs:choice>
+ <xs:attributeGroup ref="pages:attlist.navigation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.navigation">
+ <xs:attribute name="from-action" type="pages:from-action-expression" />
+ <xs:attribute name="evaluate" type="pages:method-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="rule">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:begin-conversation"/>
+ <xs:element ref="pages:end-conversation"/>
+ <xs:element ref="pages:start-task"/>
+ <xs:element ref="pages:begin-task"/>
+ <xs:element ref="pages:end-task"/>
+ <xs:element ref="pages:create-process"/>
+ <xs:element ref="pages:resume-process"/>
+ </xs:choice>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:out"/>
+ <xs:element minOccurs="0" ref="pages:raise-event"/>
+ <xs:choice minOccurs="0">
+ <xs:element ref="pages:render"/>
+ <xs:element ref="pages:redirect"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.rule"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.rule">
+ <xs:attribute name="if-outcome" type="pages:outcome-expression" />
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="raise-event">
+ <xs:annotation>
+ <xs:documentation>Event to be raised</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.raise-event"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.raise-event">
+ <xs:attribute name="type" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="begin-conversation">
+ <xs:annotation>
+ <xs:documentation>This page begins a new conversation</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.begin-conversation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.begin-conversation">
+ <xs:attribute name="join" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="nested" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="pageflow" type="xs:token" />
+ <xs:attribute name="flush-mode" type="pages:flush-modes" />
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ <xs:attribute name="conversation" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="end-conversation">
+ <xs:annotation>
+ <xs:documentation>This page ends a conversation</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.end-conversation"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.end-conversation">
+ <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="root" default="false" type="pages:tf-boolean"/>
+ <xs:attribute name="if" type="pages:boolean-value-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="begin-task">
+ <xs:annotation>
+ <xs:documentation>Begin a BPM task</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.begin-task"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.begin-task">
+ <xs:attribute name="task-id" type="xs:token" />
+ <xs:attribute name="pageflow" type="xs:token" />
+ <xs:attribute name="flush-mode" type="pages:flush-modes" />
+ </xs:attributeGroup>
+
+ <xs:element name="start-task">
+ <xs:annotation>
+ <xs:documentation>Start a BPM task</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.start-task"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.start-task">
+ <xs:attribute name="task-id" type="xs:token" />
+ <xs:attribute name="pageflow" type="xs:token" />
+ <xs:attribute name="flush-mode" type="pages:flush-modes" />
+ </xs:attributeGroup>
+
+ <xs:element name="end-task">
+ <xs:annotation>
+ <xs:documentation>Add a BPM task</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.end-task"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.end-task">
+ <xs:attribute name="transition" type="xs:token" />
+ <xs:attribute name="before-redirect" default="false" type="pages:tf-boolean" />
+ </xs:attributeGroup>
+
+ <xs:element name="create-process">
+ <xs:annotation>
+ <xs:documentation>Create a BPM process</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.create-process"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.create-process">
+ <xs:attribute name="definition" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="resume-process">
+ <xs:annotation>
+ <xs:documentation>Resume a BPM process instance</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.resume-process"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.resume-process">
+ <xs:attribute name="process-id" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="in">
+ <xs:annotation>
+ <xs:documentation>A page input</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.in"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.in">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="scope" type="pages:allowed-scopes" />
+ <xs:attribute name="value" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="out">
+ <xs:annotation>
+ <xs:documentation>A contextual output for a navigation rule</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="pages:attlist.out"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.out">
+ <xs:attribute name="name" use="required" type="xs:token" />
+ <xs:attribute name="scope" default="CONVERSATION" type="pages:allowed-scopes" />
+ <xs:attribute name="value" use="required" type="xs:token" />
+ </xs:attributeGroup>
+
+ <xs:element name="render">
+ <xs:annotation>
+ <xs:documentation>Render a view</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:message"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.render"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.render">
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
+ </xs:attributeGroup>
+
+ <xs:element name="redirect">
+ <xs:annotation>
+ <xs:documentation>Redirect to another view or URL</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:message"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="pages:param"/>
+ </xs:sequence>
+
+ <xs:attributeGroup ref="pages:attlist.redirect"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.redirect">
+ <xs:attribute name="view-id" type="pages:view-id-expression" />
+ <xs:attribute name="url" type="pages:url-expression" />
+ <xs:attribute name="include-page-params" type="pages:tf-boolean" />
+ </xs:attributeGroup>
+
+ <xs:element name="http-error">
+ <xs:annotation>
+ <xs:documentation>Send an HTTP error code</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="pages:message"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="pages:attlist.http-error"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.http-error">
+ <xs:attribute name="error-code" use="required" type="xs:unsignedLong" />
+ </xs:attributeGroup>
+
+ <xs:element name="message">
+ <xs:annotation>
+ <xs:documentation>Add a message to the faces messages</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attributeGroup ref="pages:attlist.message"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.message">
+ <xs:attribute name="for" type="xs:token"/>
+ <xs:attribute name="severity" default="INFO" type="pages:loglevel-values" />
+ </xs:attributeGroup>
+
+ <xs:element name="description" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>A page description for workflow switching</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:simpleType name="url">
+ <xs:restriction base="xs:anyURI">
+ <xs:pattern value="http://.*|https://.*"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="url-expression">
+ <xs:union memberTypes="pages:url pages:method-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="schemes">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="https"/>
+ <xs:enumeration value="http"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="outcome">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[^#\{\}]+"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="view-id">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="(/.*)|\*"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="view-id-expression">
+ <xs:union memberTypes="pages:view-id pages:value-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="outcome-expression">
+ <xs:union memberTypes="pages:outcome pages:value-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="from-action-expression">
+ <xs:union memberTypes="pages:outcome pages:method-expression"></xs:union>
+ </xs:simpleType>
+
+ <xs:simpleType name="ableness">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="enabled"/>
+ <xs:enumeration value="disabled"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="tf-boolean">
+ <xs:annotation>
+ <xs:documentation>
+ <p>Allows for the following values:</p>
+ <ul>
+ <li>true</li>
+ <li>false</li>
+ </ul>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:boolean">
+ <xs:pattern value="true"/>
+ <xs:pattern value="false"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="allowed-scopes">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="stateless"/>
+ <xs:enumeration value="event"/>
+ <xs:enumeration value="page"/>
+ <xs:enumeration value="conversation"/>
+ <xs:enumeration value="session"/>
+ <xs:enumeration value="business_process"/>
+ <xs:enumeration value="application"/>
+ <xs:enumeration value="STATELESS"/>
+ <xs:enumeration value="EVENT"/>
+ <xs:enumeration value="PAGE"/>
+ <xs:enumeration value="CONVERSATION"/>
+ <xs:enumeration value="SESSION"/>
+ <xs:enumeration value="BUSINESS_PROCESS"/>
+ <xs:enumeration value="APPLICATION"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="loglevel-values">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="info"/>
+ <xs:enumeration value="warn"/>
+ <xs:enumeration value="error"/>
+ <xs:enumeration value="fatal"/>
+ <xs:enumeration value="debug"/>
+ <xs:enumeration value="trace"/>
+ <xs:enumeration value="INFO"/>
+ <xs:enumeration value="WARN"/>
+ <xs:enumeration value="ERROR"/>
+ <xs:enumeration value="FATAL"/>
+ <xs:enumeration value="DEBUG"/>
+ <xs:enumeration value="TRACE"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="http-error-codes">
+ <xs:annotation>
+ <xs:documentation><p><b>Note:</b> These do not include the HTTP extensions.</p></xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="100"/>
+ <xs:enumeration value="101"/>
+ <xs:enumeration value="200"/>
+ <xs:enumeration value="201"/>
+ <xs:enumeration value="202"/>
+ <xs:enumeration value="203"/>
+ <xs:enumeration value="204"/>
+ <xs:enumeration value="205"/>
+ <xs:enumeration value="206"/>
+ <xs:enumeration value="300"/>
+ <xs:enumeration value="301"/>
+ <xs:enumeration value="302"/>
+ <xs:enumeration value="303"/>
+ <xs:enumeration value="304"/>
+ <xs:enumeration value="305"/>
+ <xs:enumeration value="306"/>
+ <xs:enumeration value="307"/>
+ <xs:enumeration value="400"/>
+ <xs:enumeration value="401"/>
+ <xs:enumeration value="402"/>
+ <xs:enumeration value="403"/>
+ <xs:enumeration value="404"/>
+ <xs:enumeration value="405"/>
+ <xs:enumeration value="406"/>
+ <xs:enumeration value="407"/>
+ <xs:enumeration value="408"/>
+ <xs:enumeration value="409"/>
+ <xs:enumeration value="410"/>
+ <xs:enumeration value="411"/>
+ <xs:enumeration value="412"/>
+ <xs:enumeration value="413"/>
+ <xs:enumeration value="414"/>
+ <xs:enumeration value="415"/>
+ <xs:enumeration value="416"/>
+ <xs:enumeration value="417"/>
+ <xs:enumeration value="500"/>
+ <xs:enumeration value="501"/>
+ <xs:enumeration value="502"/>
+ <xs:enumeration value="503"/>
+ <xs:enumeration value="504"/>
+ <xs:enumeration value="505"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="flush-modes">
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="manual"/>
+ <xs:enumeration value="auto"/>
+ <xs:enumeration value="commit"/>
+ <xs:enumeration value="MANUAL"/>
+ <xs:enumeration value="AUTO"/>
+ <xs:enumeration value="COMMIT"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="method-expression">
+ <xs:restriction base="xs:token">
+ <xs:pattern value="#\{.*\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="value-expression">
+ <xs:restriction base="xs:token">
+ <xs:pattern value="#\{.*\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="boolean-value-expression">
+ <xs:restriction base="xs:token">
+ <xs:pattern value="true|false|#\{.*\}"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pages-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pdf-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pdf-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pdf-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/pdf"
+ xmlns:pdf="http://jboss.com/products/seam/pdf"
+ xmlns:components="http://jboss.com/products/seam/components"
+ attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components"
+ schemaLocation="components-2.2.xsd" />
+
+ <xs:element name="key-store-config">
+ <xs:annotation>
+ <xs:documentation>
+ The key stores holds the encryption keys for creating signed PDF
+ documents
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="pdf:attlist.keystore" />
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.keystore">
+ <xs:attribute name="key-store" type="components:string" />
+ <xs:attribute name="key-store-password" type="components:string" />
+ <xs:attribute name="key-password" type="components:string" />
+ <xs:attribute name="key-alias" type="components:string" />
+ </xs:attributeGroup>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/pdf-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/persistence-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/persistence-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/persistence-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/persistence" xmlns:persistence="http://jboss.com/products/seam/persistence"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="managed-persistence-context">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="persistence:filters"/>
+ <xs:element ref="persistence:persistence-unit-jndi-name" />
+ </xs:choice>
+ </xs:sequence>
+ <xs:attributeGroup ref="persistence:attlist.ManagedPersistenceContext"/>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.ManagedPersistenceContext">
+ <xs:attribute name="entity-manager-factory" type="components:expressionType"/>
+ <xs:attribute name="persistence-unit-jndi-name" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="managed-hibernate-session">
+ <xs:complexType mixed="true">
+ <xs:sequence minOccurs="0" maxOccurs="1">
+ <xs:element ref="persistence:filters"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="persistence:attlist.ManagedHibernateSession"/>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.ManagedHibernateSession">
+ <xs:attribute name="session-factory"/>
+ <xs:attribute name="session-factory-jndi-name"/>
+ </xs:attributeGroup>
+
+ <xs:element name="filters" type="components:multiValuedProperty"/>
+ <xs:element name="persistence-unit-jndi-name" type="components:string" />
+
+ <xs:element name="hibernate-session-factory">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="mapping-classes" type="components:multiValuedProperty"/>
+ <xs:element name="mapping-files" type="components:multiValuedProperty"/>
+ <xs:element name="mapping-jars" type="components:multiValuedProperty"/>
+ <xs:element name="mapping-packages" type="components:multiValuedProperty"/>
+ <xs:element name="mapping-resources" type="components:multiValuedProperty"/>
+ <xs:element name="naming-strategy" type="components:expressionType"/>
+ <xs:element name="cfg-properties" type="components:mapProperty"/>
+ </xs:choice>
+ <xs:attributeGroup ref="persistence:attlist.HibernateSessionFactory"/>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.HibernateSessionFactory">
+ <xs:attribute name="cfg-resource-name" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="entity-manager-factory">
+ <xs:complexType mixed="true">
+ <xs:sequence minOccurs="0" maxOccurs="1">
+ <xs:element name="persistence-unit-properties" type="components:mapProperty"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="persistence:attlist.EntityManagerFactory"/>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.EntityManagerFactory">
+ <xs:attribute name="persistence-unit-name" type="components:string" />
+ </xs:attributeGroup>
+
+ <xs:element name="filter">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="name" type="components:string"/>
+ <xs:element minOccurs="0" name="parameters" type="components:mapProperty"/>
+ </xs:sequence>
+ <xs:attributeGroup ref="persistence:attlist.filter"/>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.filter">
+ <xs:attribute name="enabled" type="components:boolean" />
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/persistence-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/remoting-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/remoting-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/remoting-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/remoting" xmlns:remoting="http://jboss.com/products/seam/remoting"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="remoting">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="remoting:attlist.remoting"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.remoting">
+ <xs:attribute name="poll-interval" type="components:int"/>
+ <xs:attribute name="poll-timeout" type="components:int" />
+ <xs:attribute name="debug" type="components:boolean" />
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/remoting-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/security-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/security-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/security-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/security" xmlns:security="http://jboss.com/products/seam/security"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="identity">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.identity"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.identity">
+ <xs:attribute name="authenticate-method" type="components:expressionType"/>
+ <xs:attribute name="remember-me" type="components:boolean"/>
+ <xs:attribute name="jaas-config-name" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="remember-me">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.remember-me"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.remember-me">
+ <xs:attribute name="cookie-max-age" type="components:int"/>
+ <xs:attribute name="enabled" type="components:boolean"/>
+ <xs:attribute name="mode">
+ <xs:simpleType>
+ <xs:restriction base="xs:token">
+ <xs:enumeration value="disabled"/>
+ <xs:enumeration value="usernameOnly"/>
+ <xs:enumeration value="autoLogin"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+ <xs:element name="identity-manager">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.identity-manager"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jpa-identity-store">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.jpa-identity-store"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jpa-token-store">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.jpa-token-store"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="ldap-identity-store">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.ldap-identity-store"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="permission-manager">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.permission-manager"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="jpa-permission-store">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.jpa-permission-store"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="rule-based-permission-resolver">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.rule-based-permission-resolver"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="persistent-permission-resolver">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="security:attlist.persistent-permission-resolver"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.identity-manager">
+ <xs:attribute name="identity-store" type="components:expressionType"/>
+ <xs:attribute name="role-identity-store" type="components:expressionType"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.jpa-identity-store">
+ <xs:attribute name="entity-manager" type="components:string"/>
+ <xs:attribute name="user-class" type="components:string" use="required"/>
+ <xs:attribute name="role-class" type="components:string"/>
+ <xs:attribute name="features" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.jpa-token-store">
+ <xs:attribute name="entity-manager" type="components:string"/>
+ <xs:attribute name="token-class" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.ldap-identity-store">
+ <xs:attribute name="server-address" type="components:string"/>
+ <xs:attribute name="server-port" type="components:string"/>
+ <xs:attribute name="bind-DN" type="components:string"/>
+ <xs:attribute name="bind-credentials" type="components:string"/>
+ <xs:attribute name="user-DN-prefix" type="components:string"/>
+ <xs:attribute name="user-DN-suffix" type="components:string"/>
+ <xs:attribute name="role-DN-prefix" type="components:string"/>
+ <xs:attribute name="role-DN-suffix" type="components:string"/>
+ <xs:attribute name="user-context-DN" type="components:string"/>
+ <xs:attribute name="role-context-DN" type="components:string"/>
+ <xs:attribute name="user-role-attribute" type="components:string"/>
+ <xs:attribute name="user-name-attribute" type="components:string"/>
+ <xs:attribute name="role-name-attribute" type="components:string"/>
+ <xs:attribute name="role-attribute-is-DN" type="components:boolean"/>
+ <xs:attribute name="user-object-classes" type="components:string"/>
+ <xs:attribute name="role-object-classes" type="components:string"/>
+ <xs:attribute name="enabled-attribute" type="components:string"/>
+ <xs:attribute name="search-scope" type="components:string"/>
+ <xs:attribute name="first-name-attribute" type="components:string"/>
+ <xs:attribute name="last-name-attribute" type="components:string"/>
+ <xs:attribute name="user-password-attribute" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.permission-manager">
+ <xs:attribute name="permission-store" type="components:expressionType"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.jpa-permission-store">
+ <xs:attribute name="entity-manager" type="components:string"/>
+ <xs:attribute name="user-permission-class" type="components:string"/>
+ <xs:attribute name="role-permission-class" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.rule-based-permission-resolver">
+ <xs:attribute name="security-rules" type="components:expressionType"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.persistent-permission-resolver">
+ <xs:attribute name="permission-store" type="components:expressionType"/>
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/security-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/theme-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/theme-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/theme-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/theme" xmlns:theme="http://jboss.com/products/seam/theme"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="theme-selector">
+ <xs:annotation>
+ <xs:documentation>Theme selector component</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="available-themes" type="components:multiValuedProperty"/>
+ </xs:choice>
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="theme:attlist.themeSelector"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.themeSelector">
+ <xs:attribute name="theme" type="components:string"/>
+ <xs:attribute name="available-themes" type="components:string"/>
+ <xs:attribute name="cookie-max-age" type="components:int"/>
+ <xs:attribute name="cookie-enabled" type="components:boolean" />
+ </xs:attributeGroup>
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/theme-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/transaction-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/transaction-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/transaction-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/transaction" xmlns:transaction="http://jboss.com/products/seam/transaction"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="ejb-transaction">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="components:attlist.ejbcomponent"/>
+ <xs:attributeGroup ref="transaction:attlist.transaction"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.transaction"> </xs:attributeGroup>
+
+ <xs:element name="hibernate-transaction">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="transaction:attlist.HibernateTransaction"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.HibernateTransaction">
+ <xs:attribute name="session" type="components:string" use="required"/>
+ </xs:attributeGroup>
+
+ <xs:element name="entity-transaction">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="transaction:attlist.EntityTransaction"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.EntityTransaction">
+ <xs:attribute name="entity-manager" type="components:string" use="required"/>
+ </xs:attributeGroup>
+
+ <xs:element name="no-transaction">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/transaction-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/ui-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/ui-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/ui-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/ui"
+ xmlns:ui="http://jboss.com/products/seam/ui"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="jpa-entity-loader">
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="entity-manager" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="hibernate-entity-loader">
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="session" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="entity-converter">
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="entity-loader" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="render-stamp-store">
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attribute name="max-size" type="xs:int" />
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/ui-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/web" xmlns:web="http://jboss.com/products/seam/web"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="hot-deploy-filter">
+ <xs:annotation>
+ <xs:documentation>This filter triggers a scan for hot deployable components and descriptor files on each request. The URL pattern should be set to the same pattern as used by the Faces Servlet. Note that this filter is automatically disabled when Seam debug mode is disabled.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="identity-filter">
+ <xs:annotation>
+ <xs:documentation>This filter provides integration between Servlet Security and the identity component.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="multipart-filter">
+ <xs:annotation>
+ <xs:documentation>
+ Detects multipart form requests and processes them according to the
+ multipart/form-data specification (RFC-2388).
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ <xs:attributeGroup ref="web:attlist.multipartFilter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="redirect-filter">
+ <xs:annotation>
+ <xs:documentation>This filter allows Seam to propagate the conversation context across browser redirects. It intercepts any
+browser redirects and adds a request parameter that specifies the Seam conversation identifier.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="exception-filter">
+ <xs:annotation>
+ <xs:documentation>This filter provides the exception mapping functionality in pages.xml.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="context-filter">
+ <xs:annotation>
+ <xs:documentation>This filter allows custom servlets to interact with the Seam contexts. It sets up the Seam contexts at the begin-
+ning of each request, and tears them down at the end of the request.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="wicket-filter">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ <xs:attributeGroup ref="web:attlist.wicketFilter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="character-encoding-filter">
+ <xs:annotation>
+ <xs:documentation>Sets the character encoding of submitted form data.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ <xs:attribute name="encoding" type="components:string"/>
+ <xs:attribute name="override-client" type="components:boolean"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="authentication-filter">
+ <xs:annotation>
+ <xs:documentation>Although not recommended for use unless absolutely necessary, Seam provides means for authenticating using
+either HTTP Basic or HTTP Digest (RFC 2617) methods.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ <xs:attribute name="realm" type="components:string"/>
+ <xs:attribute name="key" type="components:string"/>
+ <xs:attribute name="nonce-validity-seconds" type="components:int"/>
+ <xs:attribute name="auth-type" type="components:string"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="logging-filter">
+ <xs:annotation>
+ <xs:documentation>This filter adds the authenticated user name to the log4j mapped diagnostic context so that it can be included in
+formatted log output if desired, by adding %X{username} to the pattern.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="ajax4jsf-filter">
+ <xs:annotation>
+ <xs:documentation>The ajax4jsf filter for RichFaces</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.filter"/>
+ <xs:attributeGroup ref="web:attlist.ajax4jsfFilter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="rewrite-filter">
+ <xs:annotation>
+ <xs:documentation>This filter performs URL rewriting.</xs:documentation>
+ </xs:annotation>
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:rewrite.filter"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.filter">
+ <xs:attribute name="url-pattern" type="components:string"/>
+ <xs:attribute name="regex-url-pattern" type="components:string"/>
+ <xs:attribute name="disabled" type="components:boolean" default="false" />
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.wicketFilter">
+ <xs:attribute name="application-class" type="components:string"/>
+ <xs:attribute name="application-factory-class" type="components:string"/>
+ <xs:attribute name="detect-portlet-context" type="components:boolean" default="false" />
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.multipartFilter">
+ <xs:attribute name="create-temp-files" type="components:boolean" />
+ <xs:attribute name="max-request-size" type="components:int"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="attlist.ajax4jsfFilter">
+ <xs:attribute name="enable-cache" type="components:boolean" />
+ <xs:attribute name="force-parser" type="components:boolean" />
+ <xs:attribute name="log4j-init-file" type="components:string"/>
+ </xs:attributeGroup>
+
+ <xs:element name="session">
+ <xs:complexType mixed="true">
+ <xs:attributeGroup ref="components:attlist.component"/>
+ <xs:attributeGroup ref="web:attlist.session"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.session">
+ <xs:attribute name="invalidate-on-scheme-change" type="components:boolean"/>
+ </xs:attributeGroup>
+
+ <xs:attributeGroup name="rewrite.filter">
+ <xs:attribute name="view-mapping" type="components:string">
+ <xs:annotation>
+ <xs:documentation>
+ This is the servlet mapping. It should be set to the same pattern as used by the
+ Faces Servlet. If no value is specified, a pattern of *.seam will be assumed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/web-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/wicket-2.2.xsd
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/wicket-2.2.xsd (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/wicket-2.2.xsd 2009-08-27 14:30:44 UTC (rev 17333)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://jboss.com/products/seam/wicket"
+ xmlns:wicket="http://jboss.com/products/seam/wicket"
+ xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-2.2.xsd"/>
+
+ <xs:element name="web-application">
+ <xs:annotation>
+ <xs:documentation></xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="components:attlist.component" />
+ <xs:attributeGroup ref="wicket:attlist.webApplication" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:attributeGroup name="attlist.webApplication">
+ <xs:attribute name="application-class" type="components:string" />
+ </xs:attributeGroup>
+
+</xs:schema>
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.xml/schemas/wicket-2.2.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentConstants.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentConstants.java 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentConstants.java 2009-08-27 14:30:44 UTC (rev 17333)
@@ -16,14 +16,17 @@
public String SUFF_20 = "20"; //$NON-NLS-1$
public String SUFF_21 = "21"; //$NON-NLS-1$
+ public String SUFF_22 = "22"; //$NON-NLS-1$
public String ENT_SEAM_COMPONENTS = "FileSeamComponents"; //$NON-NLS-1$
public String ENT_SEAM_COMPONENTS_11 = ENT_SEAM_COMPONENTS + "11"; //$NON-NLS-1$
public String ENT_SEAM_COMPONENTS_12 = ENT_SEAM_COMPONENTS + "12"; //$NON-NLS-1$
public String ENT_SEAM_COMPONENT_12 = "FileSeamComponent" + "12"; //$NON-NLS-1$ //$NON-NLS-2$
public String ENT_SEAM_COMPONENTS_20 = ENT_SEAM_COMPONENTS + SUFF_20;
public String ENT_SEAM_COMPONENTS_21 = ENT_SEAM_COMPONENTS + SUFF_21;
+ public String ENT_SEAM_COMPONENTS_22 = ENT_SEAM_COMPONENTS + SUFF_22;
public String ENT_SEAM_COMPONENT_FILE_20 = "FileSeamComponent" + SUFF_20; //$NON-NLS-1$
public String ENT_SEAM_COMPONENT_FILE_21 = "FileSeamComponent" + SUFF_21; //$NON-NLS-1$
+ public String ENT_SEAM_COMPONENT_FILE_22 = "FileSeamComponent" + SUFF_22; //$NON-NLS-1$
public String ENT_SEAM_COMPONENT = "SeamComponent"; //$NON-NLS-1$
public String ENT_SEAM_COMPONENT_20 = ENT_SEAM_COMPONENT + SUFF_20;
public String ENT_SEAM_FACTORY = "SeamFactory"; //$NON-NLS-1$
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsEntityRecognizer.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsEntityRecognizer.java 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsEntityRecognizer.java 2009-08-27 14:30:44 UTC (rev 17333)
@@ -55,23 +55,30 @@
//Let it work now for all 2.x versions
//If in future releases differences are essential, this should be modified
int i20 = schemaLocation.indexOf("-2.0"); //$NON-NLS-1$
- int i21 = schemaLocation.indexOf("-2."); //$NON-NLS-1$
- if(i21 < 0 && i20 < 0) {
+ int i21 = schemaLocation.indexOf("-2.1"); //$NON-NLS-1$
+ int i22 = schemaLocation.indexOf("-2."); //$NON-NLS-1$
+ if(i21 < 0 && i20 < 0 && i22 < 0) {
//Try the latest known version anyway.
- i21 = 0;
+ i22 = 0;
}
- if(i21 >= 0) {
+ if(i22 >= 0) {
if(isSingleComponent) {
if(i20 >= 0) {
return ENT_SEAM_COMPONENT_FILE_20;
}
- return ENT_SEAM_COMPONENT_FILE_21;
+ if(i21 >= 0) {
+ return ENT_SEAM_COMPONENT_FILE_21;
+ }
+ return ENT_SEAM_COMPONENT_FILE_22;
}
if(isMultiComponent(body)) {
if(i20 >= 0) {
return ENT_SEAM_COMPONENTS_20;
}
- return ENT_SEAM_COMPONENTS_21;
+ if(i21 >= 0) {
+ return ENT_SEAM_COMPONENTS_21;
+ }
+ return ENT_SEAM_COMPONENTS_22;
}
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsFileLoader.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsFileLoader.java 2009-08-27 14:06:40 UTC (rev 17332)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml/src/org/jboss/tools/seam/xml/components/model/SeamComponentsFileLoader.java 2009-08-27 14:30:44 UTC (rev 17333)
@@ -51,8 +51,9 @@
private String getVersionSuffix(XModelObject o) {
String entity = o.getModelEntity().getName();
- if(entity.endsWith("20")) return "$20"; //$NON-NLS-1$ //$NON-NLS-2$
- if(entity.endsWith("21")) return "$21"; //$NON-NLS-1$ //$NON-NLS-2$
+ if(entity.endsWith(SeamComponentConstants.SUFF_20)) return "$20"; //$NON-NLS-1$
+ if(entity.endsWith(SeamComponentConstants.SUFF_21)) return "$21"; //$NON-NLS-1$
+ if(entity.endsWith(SeamComponentConstants.SUFF_22)) return "$21"; //$NON-NLS-1$
return ""; //$NON-NLS-1$
}
14 years, 8 months
JBoss Tools SVN: r17332 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: src/org/jboss/tools/jsf/vpe/jsf/test/jbide and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-08-27 10:06:40 -0400 (Thu, 27 Aug 2009)
New Revision: 17332
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOn1.css
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.xhtml
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.html
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnCssClassTest_JBIDE4775.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4821
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOn1.css
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOn1.css (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOn1.css 2009-08-27 14:06:40 UTC (rev 17332)
@@ -0,0 +1,3 @@
+.classC {
+ color: green;
+}
\ No newline at end of file
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOn1.css
___________________________________________________________________
Name: svn:mime-type
+ text/css
Name: svn:eol-style
+ native
Deleted: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.html 2009-08-27 13:24:53 UTC (rev 17331)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.html 2009-08-27 14:06:40 UTC (rev 17332)
@@ -1,19 +0,0 @@
-<html>
-
-<head>
-
-
-<style type="text/css">
-.classA {
- color: red
-}
-</style>
-<link rel="stylesheet" href="openOn.css" />
-</head>
-
-<body>
-<div class="classA" id="openOn1">Test Page</div>
-<div class="classB" id="openOn2">Test Page</div>
-
-</body>
-</html>
\ No newline at end of file
Copied: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.xhtml (from rev 17313, trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.html)
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/4775/openOnTestPage.xhtml 2009-08-27 14:06:40 UTC (rev 17332)
@@ -0,0 +1,18 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:h="http://java.sun.com/jsf/html">
+<head>
+<style type="text/css">
+.classA {
+ color: red;
+}
+</style>
+<link rel="stylesheet" href="openOn.css" />
+<link rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/pages/JBIDE/4775/openOn1.css" />
+</head>
+<body>
+<div class="classA" id="openOn1">Test Page</div>
+<div class="classB" id="openOn2">Test Page</div>
+<h:inputText styleClass="classC" value="test" id="openOn3" />
+</body>
+</html>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnCssClassTest_JBIDE4775.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnCssClassTest_JBIDE4775.java 2009-08-27 13:24:53 UTC (rev 17331)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/OpenOnCssClassTest_JBIDE4775.java 2009-08-27 14:06:40 UTC (rev 17332)
@@ -35,13 +35,16 @@
*/
public class OpenOnCssClassTest_JBIDE4775 extends VpeTest {
- private static final String TEST_PAGE_NAME = "JBIDE/4775/openOnTestPage.html"; //$NON-NLS-1$
+ private static final String TEST_PAGE_NAME = "JBIDE/4775/openOnTestPage.xhtml"; //$NON-NLS-1$
private static String ON_PAGE_STYLE_TEST_TAG_ID = "openOn1"; //$NON-NLS-1$
private static String LINK_STYLE_TEST_TAG_ID = "openOn2"; //$NON-NLS-1$
+ private static String LINK_WITH_EL_EXPRESSION_STYLE_TEST_TAG_ID = "openOn3"; //$NON-NLS-1$
+
private static String CLASS_ATTRIBUTE = "class"; //$NON-NLS-1$
+ private static String STYLE_CLASS_ATTRIBUTE = "styleClass"; //$NON-NLS-1$
public OpenOnCssClassTest_JBIDE4775(String name) {
super(name);
@@ -159,4 +162,60 @@
}
}
+
+ public void testOpenOnLinkWithElExpressionsStyles() throws Throwable {
+
+ // wait
+ TestUtil.waitForJobs();
+ // set exception
+ setException(null);
+
+ // get test page path
+ IFile file = (IFile) TestUtil.getComponentPath(TEST_PAGE_NAME,
+ JsfAllTests.IMPORT_PROJECT_NAME);
+
+ assertNotNull("Could not open specified file. componentPage = "
+ + TEST_PAGE_NAME
+ + ";projectName = " + JsfAllTests.IMPORT_PROJECT_NAME, file);//$NON-NLS-1$
+
+ IEditorInput input = new FileEditorInput(file);
+
+ assertNotNull("Editor input is null", input);
+ // open and get editor
+ JSPMultiPageEditor part = openEditor(input);
+
+ // get controller
+ VpeController controller = TestUtil.getVpeController(part);
+ assertNotNull(controller);
+
+ // get source document
+ Document sourceDocument = getSourceDocument(controller);
+ assertNotNull(sourceDocument);
+
+ Element openOnTestedElement = sourceDocument
+ .getElementById(LINK_WITH_EL_EXPRESSION_STYLE_TEST_TAG_ID);
+ Attr testedClassAttr = openOnTestedElement
+ .getAttributeNode(STYLE_CLASS_ATTRIBUTE);
+
+ OpenOnUtil.performOpenOnAction(part.getSourceEditor(),
+ ((IDOMAttr) testedClassAttr).getValueRegionStartOffset() + 1);
+
+ IStructuredSelection selection = (IStructuredSelection) PlatformUI
+ .getWorkbench().getActiveWorkbenchWindow().getActivePage()
+ .getSelection();
+
+ TestUtil.waitForJobs();
+
+ CSSStyleRule cssClassNode = (CSSStyleRule) selection.getFirstElement();
+
+ assertTrue(cssClassNode.getSelectorText().contains(
+ testedClassAttr.getNodeValue()));
+
+ // check exception
+ if (getException() != null) {
+ throw getException();
+ }
+
+ }
+
}
14 years, 8 months
JBoss Tools SVN: r17331 - in trunk/common/plugins/org.jboss.tools.common.text.ext: src/org/jboss/tools/common/text/ext/hyperlink and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-08-27 09:24:53 -0400 (Thu, 27 Aug 2009)
New Revision: 17331
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/CSSClassHyperlink.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4821
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF 2009-08-27 12:44:52 UTC (rev 17330)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/META-INF/MANIFEST.MF 2009-08-27 13:24:53 UTC (rev 17331)
@@ -28,5 +28,6 @@
org.eclipse.pde.ui,
org.jboss.tools.common.el.core;bundle-version="2.0.0",
org.eclipse.emf.ecore;bundle-version="2.5.0",
- org.eclipse.wst.css.core
+ org.eclipse.wst.css.core,
+ org.eclipse.wst.html.core
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/CSSClassHyperlink.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/CSSClassHyperlink.java 2009-08-27 12:44:52 UTC (rev 17330)
+++ trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/CSSClassHyperlink.java 2009-08-27 13:24:53 UTC (rev 17331)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.common.text.ext.hyperlink;
+import java.io.IOException;
+import java.io.UnsupportedEncodingException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
@@ -27,13 +29,17 @@
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.PartInitException;
import org.eclipse.ui.ide.IDE;
+import org.eclipse.wst.css.core.internal.provisional.adapters.IModelProvideAdapter;
import org.eclipse.wst.css.core.internal.provisional.adapters.IStyleSheetAdapter;
import org.eclipse.wst.css.core.internal.provisional.document.ICSSDocument;
import org.eclipse.wst.css.core.internal.provisional.document.ICSSModel;
import org.eclipse.wst.css.core.internal.provisional.document.ICSSNode;
import org.eclipse.wst.css.core.internal.provisional.document.ICSSStyleRule;
import org.eclipse.wst.css.core.internal.provisional.document.ICSSStyleSheet;
+import org.eclipse.wst.html.core.internal.htmlcss.LinkElementAdapter;
+import org.eclipse.wst.html.core.internal.htmlcss.URLModelProvider;
import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier;
+import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
@@ -47,6 +53,7 @@
import org.jboss.tools.common.text.ext.util.Utils;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
+import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.css.CSSRule;
@@ -59,7 +66,10 @@
public class CSSClassHyperlink extends AbstractHyperlink {
public static final String[] STYLE_TAGS = new String[] { "style", "link" }; //$NON-NLS-1$//$NON-NLS-2$
+ public static final String LINK_TAG = "link"; //$NON-NLS-1$
+ public static final String HREF_ATTRIBUTE = "href"; //$NON-NLS-1$
public static final String COMPARE_CLASS_REGEX_PREFIX = "[\\.]?"; //$NON-NLS-1$
+ public static final String CONTEXT_PATH_EXPRESSION = "^\\s*(\\#|\\$)\\{facesContext.externalContext.requestContextPath\\}"; //$NON-NLS-1$
/**
*
@@ -119,7 +129,6 @@
for (String tagName : STYLE_TAGS) {
getStyleContainerList.addAll(getList(document
.getElementsByTagName(tagName)));
-
}
return getStyleContainerList;
@@ -178,44 +187,28 @@
* @param stylesContainer
* @return
*/
- private CSSStyleSheet getSheet(Node stylesContainer) {
+ private CSSStyleSheet getSheet(final Node stylesContainer) {
- IStyleSheetAdapter adapter = (IStyleSheetAdapter) ((INodeNotifier) stylesContainer)
+ INodeNotifier notifier = (INodeNotifier) stylesContainer;
+
+ IStyleSheetAdapter adapter = (IStyleSheetAdapter) notifier
.getAdapterFor(IStyleSheetAdapter.class);
+ if (LINK_TAG.equalsIgnoreCase(stylesContainer.getNodeName())
+ && !(adapter instanceof ExtendedLinkElementAdapter)) {
+
+ notifier.removeAdapter(adapter);
+ adapter = new ExtendedLinkElementAdapter(
+ (Element) stylesContainer);
+ notifier.addAdapter(adapter);
+
+ }
+
CSSStyleSheet sheet = null;
if (adapter != null) {
- sheet = (CSSStyleSheet) ((IStyleSheetAdapter) adapter).getSheet();
+ sheet = (CSSStyleSheet) adapter.getSheet();
- // get ModelProvideAdapter
-// IModelProvideAdapter modelProvideAdapter = (IModelProvideAdapter) ((INodeNotifier) stylesContainer)
-// .getAdapterFor(IModelProvideAdapter.class);
-//
-// try {
-// /* URLModelProvider */URLModelProviderCSS provider = new /* URLModelProvider */URLModelProviderCSS();
-// IStructuredModel newModel;
-//
-// newModel = provider.getModelForRead(
-// ((IDOMNode) stylesContainer).getModel(),
-// processURL(((Element) stylesContainer)
-// .getAttribute("href"))); //$NON-NLS-1$
-//
-// if (newModel == null)
-// return null;
-// if (!(newModel instanceof ICSSModel)) {
-// newModel.releaseFromRead();
-// return null;
-// }
-//
-// // notify adapter
-// if (modelProvideAdapter != null)
-// modelProvideAdapter.modelProvided(newModel);
-//
-// adapter.s
-// } catch (UnsupportedEncodingException e) {
-// } catch (IOException e) {
-// }
}
return sheet;
@@ -347,6 +340,7 @@
/**
* TODO research method
+ *
* @param offset
* @return
*/
@@ -421,4 +415,94 @@
return MessageFormat.format(Messages.OpenCSSStyle, styleName);
}
+ @Override
+ protected String findAndReplaceElVariable(String fileName) {
+ if (fileName != null)
+ fileName = fileName
+ .replaceFirst(
+ "^\\s*(\\#|\\$)\\{facesContext.externalContext.requestContextPath\\}",
+ "");
+ return super.findAndReplaceElVariable(fileName);
+ }
+
+ public class ExtendedLinkElementAdapter extends LinkElementAdapter {
+
+ private Element element;
+
+ public ExtendedLinkElementAdapter(Element element) {
+ this.element = element;
+ }
+
+ @Override
+ public Element getElement() {
+ return element;
+ }
+
+ @Override
+ protected boolean isValidAttribute() {
+ String href = getElement().getAttribute(HREF_ATTRIBUTE);
+ if (href == null || href.length() == 0)
+ return false;
+ return true;
+ }
+
+ /**
+ */
+ public ICSSModel getModel() {
+ ICSSModel model = super.getModel();
+ if (model == null) {
+ model = retrieveModel();
+ setModel(model);
+ }
+ return model;
+ }
+
+ /**
+ */
+ private ICSSModel retrieveModel() {
+ if (!isValidAttribute()) {
+ return null;
+ }
+
+ // null,attr check is done in isValidAttribute()
+ Element element = getElement();
+ String href = findAndReplaceElVariable(element
+ .getAttribute(HREF_ATTRIBUTE));
+
+ IDOMModel baseModel = ((IDOMNode) element).getModel();
+ if (baseModel == null)
+ return null;
+ Object id = baseModel.getId();
+ if (!(id instanceof String))
+ return null;
+ // String base = (String)id;
+
+ // get ModelProvideAdapter
+ IModelProvideAdapter adapter = (IModelProvideAdapter) ((INodeNotifier) getElement())
+ .getAdapterFor(IModelProvideAdapter.class);
+
+ URLModelProvider provider = new URLModelProvider();
+ try {
+ IStructuredModel newModel = provider.getModelForRead(baseModel,
+ href);
+ if (newModel == null)
+ return null;
+ if (!(newModel instanceof ICSSModel)) {
+ newModel.releaseFromRead();
+ return null;
+ }
+
+ // notify adapter
+ if (adapter != null)
+ adapter.modelProvided(newModel);
+
+ return (ICSSModel) newModel;
+ } catch (UnsupportedEncodingException e) {
+ } catch (IOException e) {
+ }
+
+ return null;
+ }
+ }
+
}
\ No newline at end of file
14 years, 8 months