JBoss Tools SVN: r15669 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-03 02:08:24 -0400 (Wed, 03 Jun 2009)
New Revision: 15669
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/ProjectContentProvider.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4411
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java 2009-06-03 06:08:04 UTC (rev 15668)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/AbstractSeamContentProvider.java 2009-06-03 06:08:24 UTC (rev 15669)
@@ -181,7 +181,7 @@
}
return children.toArray(new Object[0]);
}
- return null;
+ return new Object[0];
}
public Object getParent(Object element) {
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/ProjectContentProvider.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/ProjectContentProvider.java 2009-06-03 06:08:04 UTC (rev 15668)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/views/ProjectContentProvider.java 2009-06-03 06:08:24 UTC (rev 15669)
@@ -37,7 +37,7 @@
}
if(parentElement instanceof IProject) {
ISeamProject p = SeamCorePlugin.getSeamProject((IProject)parentElement, false);
- if (p == null) return null;
+ if (p == null) return new Object[0];
if(!processed.contains(p)) {
processed.add(p);
p.addSeamProjectListener(this);
16 years, 4 months
JBoss Tools SVN: r15668 - trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-03 02:08:04 -0400 (Wed, 03 Jun 2009)
New Revision: 15668
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XContentProvider.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XProjectContentProvider.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4411
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XContentProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XContentProvider.java 2009-06-03 05:09:36 UTC (rev 15667)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XContentProvider.java 2009-06-03 06:08:04 UTC (rev 15668)
@@ -67,7 +67,7 @@
}
return getChildren(o);
}
- return null;
+ return new Object[0];
}
public Object getParent(Object element) {
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XProjectContentProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XProjectContentProvider.java 2009-06-03 05:09:36 UTC (rev 15667)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/navigator/XProjectContentProvider.java 2009-06-03 06:08:04 UTC (rev 15668)
@@ -34,7 +34,7 @@
}
IProject f = (IProject)parentElement;
IModelNature n = EclipseResourceUtil.getModelNature(f);
- if(n == null) return null;
+ if(n == null) return new Object[0];
XModelObject o = EclipseResourceUtil.getObjectByResource(f);
if(o == null) o = EclipseResourceUtil.createObjectForResource(f);
XFilteredTree filteredTree = getFilteredTree(o);
@@ -44,9 +44,9 @@
if(filteredTree != null) {
return new Object[]{filteredTree.getRoot()};
}
- return null;
+ return new Object[0];
}
- return null;
+ return new Object[0];
}
public Object getParent(Object element) {
16 years, 4 months
JBoss Tools SVN: r15667 - in branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui: wizards and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-06-03 01:09:36 -0400 (Wed, 03 Jun 2009)
New Revision: 15667
Modified:
branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java
Log:
JBIDE-4092 - added 1 in the runtime name
Modified: branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
===================================================================
--- branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2009-06-03 02:52:16 UTC (rev 15666)
+++ branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2009-06-03 05:09:36 UTC (rev 15667)
@@ -36,7 +36,8 @@
public static String wf_ConfigLabel;
public static String JBAS_version;
public static String JBEAP_version;
- public static String rwf_Title;
+ public static String rwf_Title1;
+ public static String rwf_Title2;
public static String rwf_Explanation;
public static String rwf_BaseName;
public static String rwf_NameInUse;
Modified: branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
===================================================================
--- branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2009-06-03 02:52:16 UTC (rev 15666)
+++ branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2009-06-03 05:09:36 UTC (rev 15667)
@@ -6,7 +6,8 @@
wf_HomeDirLabel=Home Directory
wf_JRELabel=JRE
wf_ConfigLabel=Configuration
-rwf_Title=Create a new JBoss Runtime
+rwf_Title1=Create a new JBoss Server Runtime
+rwf_Title2=Edit a JBoss Server Runtime
rwf_Explanation=A JBoss Server runtime references a JBoss installation directory.\nIt can be used to set up classpaths for projects which depend on this runtime,\nas well as by a "server" which will be able to start and stop instances of JBoss.
rwf_BaseName=JBoss _VERSION_ Runtime
rwf_NameInUse=Runtime name already in use
Modified: branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java
===================================================================
--- branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java 2009-06-03 02:52:16 UTC (rev 15666)
+++ branches/jbosstools-3.0.x/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/wizards/JBossRuntimeWizardFragment.java 2009-06-03 05:09:36 UTC (rev 15667)
@@ -119,7 +119,10 @@
IRuntime r = (IRuntime) getTaskModel()
.getObject(TaskModel.TASK_RUNTIME);
String version = r.getRuntimeType().getVersion();
- handle.setTitle(Messages.rwf_Title);
+ if( r.isWorkingCopy() && ((IRuntimeWorkingCopy)r).getOriginal() == null)
+ handle.setTitle(Messages.rwf_Title1);
+ else
+ handle.setTitle(Messages.rwf_Title2);
String description = NLS.bind(
isEAP() ? Messages.JBEAP_version : Messages.JBAS_version,
version);
@@ -160,7 +163,7 @@
IRuntime r = (IRuntime) getTaskModel()
.getObject(TaskModel.TASK_RUNTIME);
String oldName = r.getName();
- if( r.isWorkingCopy() ) {
+ if( r.isWorkingCopy() && ((IRuntimeWorkingCopy)r).getOriginal() == null) {
String newName = oldName.replace("Enterprise Application Platform", "EAP");
newName = LocalJBossServerRuntime.getNextRuntimeName(newName);
((IRuntimeWorkingCopy)r).setName(newName);
16 years, 4 months
JBoss Tools SVN: r15666 - trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-06-02 22:52:16 -0400 (Tue, 02 Jun 2009)
New Revision: 15666
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java
Log:
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java 2009-06-03 02:52:03 UTC (rev 15665)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.multipage/src/org/jboss/tools/flow/jpdl4/multipage/validator/Jpdl4Validator.java 2009-06-03 02:52:16 UTC (rev 15666)
@@ -14,6 +14,7 @@
ValidationState state,
IProgressMonitor monitor) {
System.out.println("validating...");
+// Thread.currentThread().getContextClassLoader().
return super.validate(resource, kind, state, monitor);
}
16 years, 4 months
JBoss Tools SVN: r15665 - in trunk/jbpm/plugins/org.jboss.tools.jbpm.common: src/org/jboss/tools/jbpm and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-06-02 22:52:03 -0400 (Tue, 02 Jun 2009)
New Revision: 15665
Added:
trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Activator.java
trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Logger.java
trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/java/
trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/java/JavaUtil.java
Modified:
trunk/jbpm/plugins/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF
Log:
support java attributes and elements (GPD-328)
Modified: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF 2009-06-03 02:51:37 UTC (rev 15664)
+++ trunk/jbpm/plugins/org.jboss.tools.jbpm.common/META-INF/MANIFEST.MF 2009-06-03 02:52:03 UTC (rev 15665)
@@ -7,6 +7,10 @@
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.jface;bundle-version="3.4.2",
org.eclipse.ui;bundle-version="3.4.2",
- org.eclipse.core.runtime;bundle-version="3.4.0"
-Export-Package: org.jboss.tools.jbpm.preferences,
+ org.eclipse.core.runtime;bundle-version="3.4.0",
+ org.eclipse.jdt.core;bundle-version="3.4.4",
+ org.eclipse.core.resources;bundle-version="3.4.2",
+ org.eclipse.ui.ide;bundle-version="3.4.2"
+Export-Package: org.jboss.tools.jbpm.java,
+ org.jboss.tools.jbpm.preferences,
org.jboss.tools.jbpm.util
Added: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Activator.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Activator.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Activator.java 2009-06-03 02:52:03 UTC (rev 15665)
@@ -0,0 +1,50 @@
+package org.jboss.tools.jbpm;
+
+/*
+ * Copyright 2005 JBoss Inc
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.jboss.tools.jbpm.preferences.PreferencesManager;
+import org.osgi.framework.BundleContext;
+
+public class Activator extends AbstractUIPlugin {
+
+ public static final String PLUGIN_ID = "org.jboss.tools.jbpm.common";
+
+ private static Activator plugin;
+
+ public Activator() {
+ }
+
+ public PreferencesManager getPreferencesManager() {
+ return PreferencesManager.getPreferencesManager(this);
+ }
+
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Activator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Logger.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Logger.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Logger.java 2009-06-03 02:52:03 UTC (rev 15665)
@@ -0,0 +1,37 @@
+package org.jboss.tools.jbpm;
+
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+
+public class Logger {
+
+ public static void logInfo(String message) {
+ log(IStatus.INFO, IStatus.OK, message, null);
+ }
+
+ public static void logError(Throwable exception) {
+ logError("Unexpected Exception", exception);
+ }
+
+ public static void logError(String message, Throwable exception) {
+ log(IStatus.ERROR, IStatus.OK, message, exception);
+ }
+
+ public static void log(int severity, int code, String message, Throwable exception) {
+ log(createStatus(severity, code, message, exception));
+ }
+
+ public static IStatus createStatus(int severity, int code, String message, Throwable exception) {
+ return new Status(
+ severity,
+ Activator.getDefault().getBundle().getSymbolicName(),
+ code,
+ message,
+ exception);
+ }
+
+ public static void log(IStatus status) {
+ Activator.getDefault().getLog().log(status);
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/Logger.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/java/JavaUtil.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/java/JavaUtil.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/java/JavaUtil.java 2009-06-03 02:52:03 UTC (rev 15665)
@@ -0,0 +1,91 @@
+package org.jboss.tools.jbpm.java;
+
+import java.util.ArrayList;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jdt.core.IField;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IMethod;
+import org.eclipse.jdt.core.IType;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IFileEditorInput;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.jbpm.Logger;
+
+public class JavaUtil {
+
+ private static IEditorPart getActiveEditor() {
+ return (IEditorPart)PlatformUI
+ .getWorkbench()
+ .getActiveWorkbenchWindow()
+ .getActivePage()
+ .getActiveEditor();
+ }
+
+ private static IFile getCurrentFile() {
+ return ((IFileEditorInput)getActiveEditor().getEditorInput()).getFile();
+ }
+
+ private static IType getClassFor(String className) throws JavaModelException {
+ if (className == null || getCurrentProject() == null) {
+ return null;
+ } else {
+ return getCurrentProject().findType(className);
+ }
+ }
+
+ private static IMethod getMethodFor(String className, String methodName) throws JavaModelException {
+ IType type = getClassFor(className);
+ if (type != null) {
+ IMethod[] methods = type.getMethods();
+ for (IMethod method : methods) {
+ if (method.getElementName().equals(methodName)) return method;
+ }
+ }
+ return null;
+ }
+
+ public static IJavaProject getCurrentProject() {
+ IJavaProject result = null;
+ IProject project = getCurrentFile().getProject();
+ try {
+ result = project.hasNature("org.eclipse.jdt.core.javanature") ? JavaCore.create(project) : null;
+ } catch (CoreException e) {
+ Logger.logError("Problem while getting current project.", e);
+ }
+ return result;
+ }
+
+ public static String[] getFields(String className) {
+ ArrayList<String> list = new ArrayList<String>();
+ try {
+ IType type = getClassFor(className);
+ if (type != null ) {
+ IField[] fields = type.getFields();
+ for (IField field : fields) {
+ list.add(field.getElementName());
+ }
+ }
+ } catch (JavaModelException e) {
+ Logger.logError("Error while retrieving fields for " + className, e);
+ }
+ return list.toArray(new String[list.size()]);
+ }
+
+ public static String[] getArguments(String methodName, String className) {
+ ArrayList<String> list = new ArrayList<String>();
+ try {
+ IMethod method = getMethodFor(className, methodName);
+ if (method != null) {
+ return method.getParameterNames();
+ }
+ } catch (JavaModelException e) {
+ Logger.logError("Error while retrieving arguments for " + className + "." + methodName, e);
+ }
+ return list.toArray(new String[list.size()]);
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.jbpm.common/src/org/jboss/tools/jbpm/java/JavaUtil.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 4 months
JBoss Tools SVN: r15664 - in trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4: icons/16 and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: koen.aers(a)jboss.com
Date: 2009-06-02 22:51:37 -0400 (Tue, 02 Jun 2009)
New Revision: 15664
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/argument.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/argument_multiple.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/field.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/field_multiple.gif
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/AddKeyValuePairToMapCommand.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/ChangeElementOfListCommand.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentListTreeEditPart.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentTreeEditPart.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldListTreeEditPart.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldTreeEditPart.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JavaTaskTreeRootEditPart.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddArgumentHandler.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddFieldHandler.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Argument.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Field.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/ArgumentValueSection.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldNameSection.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldValueSection.java
Removed:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskArgumentsSection.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskFieldsSection.java
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/plugin.xml
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlDeserializer.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JpdlTreeEditPartFactory.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/DeleteElementHandler.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/JavaTask.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JpdlPropertySection.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/NameSection.java
Log:
support java attributes and elements (GPD-328)
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/argument.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/argument.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/argument_multiple.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/argument_multiple.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/field.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/field.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/field_multiple.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/icons/16/field_multiple.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/plugin.xml
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/plugin.xml 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/plugin.xml 2009-06-03 02:51:37 UTC (rev 15664)
@@ -191,6 +191,7 @@
<node>
<figure class="org.jboss.tools.flow.jpdl4.figure.TaskFigure"></figure>
</node>
+ </element>
<element
class="org.jboss.tools.flow.jpdl4.model.CustomTask"
figure="icons/16/task_empty.png"
@@ -201,7 +202,6 @@
<figure class="org.jboss.tools.flow.jpdl4.figure.TaskFigure"></figure>
</node>
</element>
- </element>
<element
class="org.jboss.tools.flow.jpdl4.model.ExclusiveGateway"
figure="icons/16/gateway_exclusive.png"
@@ -282,6 +282,20 @@
label="output parameter"
language="org.jboss.tools.flow.jpdl4">
</element>
+ <element
+ class="org.jboss.tools.flow.jpdl4.model.Argument"
+ figure="icons/16/argument.gif"
+ id="org.jboss.tools.flow.jpdl4.argument"
+ label="argument"
+ language="org.jboss.tools.flow.jpdl4">
+ </element>
+ <element
+ class="org.jboss.tools.flow.jpdl4.model.Field"
+ figure="icons/16/field.gif"
+ id="org.jboss.tools.flow.jpdl4.field"
+ label="field"
+ language="org.jboss.tools.flow.jpdl4">
+ </element>
</extension>
<extension
point="org.eclipse.ui.newWizards">
@@ -582,17 +596,24 @@
<input type="org.jboss.tools.flow.jpdl4.model.OutputParameter"/>
</propertySection>
<propertySection
- class="org.jboss.tools.flow.jpdl4.properties.JavaTaskFieldsSection"
- id="org.jboss.tools.jpdl4.javaTask.fields"
- tab="org.jboss.tools.jpdl4.javaTask.fields">
- <input type="org.jboss.tools.flow.jpdl4.model.JavaTask"/>
+ class="org.jboss.tools.flow.jpdl4.properties.ArgumentValueSection"
+ id="org.jboss.tools.jpdl4.argument.value"
+ tab="org.jboss.tools.jpdl4.general">
+ <input type="org.jboss.tools.flow.jpdl4.model.Argument"/>
</propertySection>
<propertySection
- class="org.jboss.tools.flow.jpdl4.properties.JavaTaskArgumentsSection"
- id="org.jboss.tools.jpdl4.javaTask.arguments"
- tab="org.jboss.tools.jpdl4.javaTask.arguments">
- <input type="org.jboss.tools.flow.jpdl4.model.JavaTask"/>
+ class="org.jboss.tools.flow.jpdl4.properties.FieldNameSection"
+ id="org.jboss.tools.jpdl4.field.name"
+ tab="org.jboss.tools.jpdl4.general">
+ <input type="org.jboss.tools.flow.jpdl4.model.Field"/>
</propertySection>
+ <propertySection
+ afterSection="org.jboss.tools.jpdl4.field.name"
+ class="org.jboss.tools.flow.jpdl4.properties.FieldValueSection"
+ id="org.jboss.tools.jpdl4.field.value"
+ tab="org.jboss.tools.jpdl4.general">
+ <input type="org.jboss.tools.flow.jpdl4.model.Field"/>
+ </propertySection>
</propertySections>
</extension>
<extension
@@ -644,6 +665,18 @@
</command>
<command
categoryId="org.jboss.tools.flow.jpdl4"
+ defaultHandler="org.jboss.tools.flow.jpdl4.handler.AddArgumentHandler"
+ id="org.jboss.tools.flow.jpdl4.addArgument"
+ name="Add Argument">
+ </command>
+ <command
+ categoryId="org.jboss.tools.flow.jpdl4"
+ defaultHandler="org.jboss.tools.flow.jpdl4.handler.AddFieldHandler"
+ id="org.jboss.tools.flow.jpdl4.addField"
+ name="Add Field">
+ </command>
+ <command
+ categoryId="org.jboss.tools.flow.jpdl4"
defaultHandler="org.jboss.tools.flow.jpdl4.handler.DeleteElementHandler"
id="org.jboss.tools.flow.jpdl4.delete"
name="Delete">
@@ -754,6 +787,44 @@
</iterate>
</visibleWhen>
</command>
+ <command
+ commandId="org.jboss.tools.flow.jpdl4.addArgument"
+ icon="icons/16/argument.gif"
+ id="org.jboss.tools.flow.jpdl4.addArgument"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <iterate>
+ <or>
+ <instanceof
+ value="org.jboss.tools.flow.jpdl4.editpart.JavaTaskTreeRootEditPart">
+ </instanceof>
+ <instanceof
+ value="org.jboss.tools.flow.jpdl4.editpart.ArgumentListTreeEditPart">
+ </instanceof>
+ </or>
+ </iterate>
+ </visibleWhen>
+ </command>
+ <command
+ commandId="org.jboss.tools.flow.jpdl4.addField"
+ icon="icons/16/field.gif"
+ id="org.jboss.tools.flow.jpdl4.addField"
+ style="push">
+ <visibleWhen
+ checkEnabled="true">
+ <iterate>
+ <or>
+ <instanceof
+ value="org.jboss.tools.flow.jpdl4.editpart.JavaTaskTreeRootEditPart">
+ </instanceof>
+ <instanceof
+ value="org.jboss.tools.flow.jpdl4.editpart.FieldListTreeEditPart">
+ </instanceof>
+ </or>
+ </iterate>
+ </visibleWhen>
+ </command>
<separator
name="org.jboss.tools.flow.jpdl4.details.separator1"
visible="true">
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/AddKeyValuePairToMapCommand.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/AddKeyValuePairToMapCommand.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/AddKeyValuePairToMapCommand.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,61 @@
+package org.jboss.tools.flow.jpdl4.command;
+
+import java.util.Map;
+
+import org.eclipse.gef.commands.Command;
+import org.eclipse.ui.views.properties.IPropertySource;
+
+public class AddKeyValuePairToMapCommand extends Command {
+
+ private IPropertySource target;
+
+ private Object mapId;
+ private Object key;
+ private Object newValue;
+ private Object oldValue;
+
+ @SuppressWarnings("unchecked")
+ public void execute() {
+ Object object = target.getPropertyValue(mapId);
+ if (! (object instanceof Map)) return;
+ if (oldValue == null) {
+ oldValue = ((Map)object).get(key);
+ }
+ if (newValue == null) {
+ ((Map)object).remove(key);
+ } else {
+ ((Map)object).put(key, newValue);
+ }
+ }
+
+ public boolean canExecute() {
+ return target != null;
+ }
+
+ public void setMapId(Object mapId) {
+ this.mapId = mapId;
+ }
+
+ public void setKey(Object key) {
+ this.key = key;
+ }
+
+ public void setNewValue(Object newValue) {
+ this.newValue = newValue;
+ }
+
+ public void setTarget(IPropertySource target) {
+ this.target = target;
+ }
+
+ @SuppressWarnings("unchecked")
+ public void undo() {
+ Object object = target.getPropertyValue(mapId);
+ if (! (object instanceof Map)) return;
+ if (oldValue == null) {
+ ((Map)object).remove(key);
+ } else {
+ ((Map)object).put(key, oldValue);
+ }
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/AddKeyValuePairToMapCommand.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/ChangeElementOfListCommand.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/ChangeElementOfListCommand.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/ChangeElementOfListCommand.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,53 @@
+package org.jboss.tools.flow.jpdl4.command;
+
+import java.util.List;
+
+import org.eclipse.gef.commands.Command;
+import org.eclipse.ui.views.properties.IPropertySource;
+
+public class ChangeElementOfListCommand extends Command {
+
+ private IPropertySource target;
+
+ private Object listId;
+ private int index;
+ private Object newValue;
+ private Object oldValue;
+
+ @SuppressWarnings("unchecked")
+ public void execute() {
+ Object object = target.getPropertyValue(listId);
+ if (! (object instanceof List)) return;
+ if (oldValue == null) {
+ oldValue = ((List)object).get(index);
+ }
+ ((List)object).set(index, newValue);
+ }
+
+ public boolean canExecute() {
+ return target != null;
+ }
+
+ public void setListId(Object listId) {
+ this.listId = listId;
+ }
+
+ public void setIndex(int index) {
+ this.index = index;
+ }
+
+ public void setNewValue(Object newValue) {
+ this.newValue = newValue;
+ }
+
+ public void setTarget(IPropertySource target) {
+ this.target = target;
+ }
+
+ @SuppressWarnings("unchecked")
+ public void undo() {
+ Object object = target.getPropertyValue(listId);
+ if (! (object instanceof List)) return;
+ ((List)object).set(index, oldValue);
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/command/ChangeElementOfListCommand.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlDeserializer.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlDeserializer.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlDeserializer.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -17,11 +17,13 @@
import org.jboss.tools.flow.common.wrapper.NodeWrapper;
import org.jboss.tools.flow.common.wrapper.Wrapper;
import org.jboss.tools.flow.jpdl4.Logger;
+import org.jboss.tools.flow.jpdl4.model.Argument;
import org.jboss.tools.flow.jpdl4.model.Assignment;
import org.jboss.tools.flow.jpdl4.model.AssignmentPropertySource;
import org.jboss.tools.flow.jpdl4.model.EventListener;
import org.jboss.tools.flow.jpdl4.model.EventListenerContainer;
import org.jboss.tools.flow.jpdl4.model.ExclusiveGateway;
+import org.jboss.tools.flow.jpdl4.model.Field;
import org.jboss.tools.flow.jpdl4.model.HumanTask;
import org.jboss.tools.flow.jpdl4.model.InputParameter;
import org.jboss.tools.flow.jpdl4.model.JavaTask;
@@ -200,6 +202,28 @@
}
}
+ class ArgumentAttributeHandler extends DefaultAttributeDeserializer {
+ protected List<String> getAttributesToRead() {
+ List<String> result = super.getAttributesToRead();
+ return result;
+ }
+ }
+
+ class FieldAttributeHandler extends DefaultAttributeDeserializer {
+ protected List<String> getAttributesToRead() {
+ List<String> result = super.getAttributesToRead();
+ result.add(Field.NAME);
+ return result;
+ }
+ protected String getXmlName(String attributeName) {
+ if (Field.NAME.equals(attributeName)) {
+ return "name";
+ } else {
+ return super.getXmlName(attributeName);
+ }
+ }
+ }
+
class SubprocessTaskAttributeHandler extends NodeAttributeHandler {
protected List<String> getAttributesToRead() {
List<String> result = super.getAttributesToRead();
@@ -339,6 +363,49 @@
}
}
+ class ArgumentChildNodeHandler extends NodeChildNodeHandler {
+ public Wrapper deserializeChildNode(Wrapper parent, Node node) {
+ Wrapper result = null;
+ if (node instanceof Element && "string".equals(node.getNodeName())) {
+ String value = ((Element)node).getAttribute("value");
+ if (value != null && !("".equals(value))) {
+ parent.setPropertyValue(Argument.VALUE, value);
+ }
+ } else {
+ result = super.deserializeChildNode(parent, node);
+ }
+ return result;
+ }
+ }
+
+ class FieldChildNodeHandler extends NodeChildNodeHandler {
+ public Wrapper deserializeChildNode(Wrapper parent, Node node) {
+ Wrapper result = null;
+ if (node instanceof Element && "string".equals(node.getNodeName())) {
+ String value = ((Element)node).getAttribute("value");
+ if (value != null && !("".equals(value))) {
+ parent.setPropertyValue(Field.VALUE, value);
+ }
+ } else {
+ result = super.deserializeChildNode(parent, node);
+ }
+ return result;
+ }
+ }
+
+ class JavaTaskChildNodeHandler extends NodeChildNodeHandler {
+ public Wrapper deserializeChildNode(Wrapper parent, Node node) {
+ Wrapper result = super.deserializeChildNode(parent, node);
+ if (result == null) return result;
+ if (result.getElement() instanceof Argument) {
+ parent.addChild(JavaTask.ARGS, result);
+ } else if (result.getElement() instanceof Field) {
+ parent.addChild(JavaTask.FIELDS, result);
+ }
+ return result;
+ }
+ }
+
class ProcessChildNodeHandler implements ChildNodeDeserializer {
public Wrapper deserializeChildNode(Wrapper parent, Node node) {
Wrapper result = null;
@@ -537,6 +604,10 @@
return new EventListenerAttributeHandler();
} else if (element instanceof Parameter) {
return new ParameterAttributeHandler();
+ } else if (element instanceof Argument) {
+ return new ArgumentAttributeHandler();
+ } else if (element instanceof Field) {
+ return new FieldAttributeHandler();
}
return null;
}
@@ -581,15 +652,23 @@
return new ScriptTaskChildNodeHandler();
} else if (element instanceof SubprocessTask) {
return new SubprocessTaskChildNodeHandler();
+ } else if (element instanceof JavaTask) {
+ return new JavaTaskChildNodeHandler();
} else {
return new NodeChildNodeHandler();
}
}
private ChildNodeDeserializer getDefaultChildNodeHandler(Wrapper wrapper) {
- if (wrapper.getElement() != null && wrapper.getElement() instanceof EventListenerContainer) {
+ Object element = wrapper.getElement();
+ if (element == null) return null;
+ if (element instanceof EventListenerContainer) {
return new EventListenerContainerChildNodeHandler();
- }
+ } else if (element instanceof Argument) {
+ return new ArgumentChildNodeHandler();
+ } else if (element instanceof Field) {
+ return new FieldChildNodeHandler();
+ }
return null;
}
@@ -618,6 +697,8 @@
else if ("event-listener".equals(nodeName)) return "org.jboss.tools.flow.jpdl4.eventListener";
else if ("parameter-in".equals(nodeName)) return "org.jboss.tools.flow.jpdl4.inputParameter";
else if ("parameter-out".equals(nodeName)) return "org.jboss.tools.flow.jpdl4.outputParameter";
+ else if ("field".equals(nodeName)) return "org.jboss.tools.flow.jpdl4.field";
+ else if ("arg".equals(nodeName)) return "org.jboss.tools.flow.jpdl4.argument";
else return null;
}
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -29,6 +29,7 @@
import org.jboss.tools.flow.common.wrapper.NodeWrapper;
import org.jboss.tools.flow.common.wrapper.Wrapper;
import org.jboss.tools.flow.jpdl4.Logger;
+import org.jboss.tools.flow.jpdl4.model.Argument;
import org.jboss.tools.flow.jpdl4.model.Assignment;
import org.jboss.tools.flow.jpdl4.model.CancelEndEvent;
import org.jboss.tools.flow.jpdl4.model.CustomTask;
@@ -36,6 +37,7 @@
import org.jboss.tools.flow.jpdl4.model.EventListener;
import org.jboss.tools.flow.jpdl4.model.EventListenerContainer;
import org.jboss.tools.flow.jpdl4.model.ExclusiveGateway;
+import org.jboss.tools.flow.jpdl4.model.Field;
import org.jboss.tools.flow.jpdl4.model.ForkParallelGateway;
import org.jboss.tools.flow.jpdl4.model.HqlTask;
import org.jboss.tools.flow.jpdl4.model.HumanTask;
@@ -209,6 +211,8 @@
else if ("org.jboss.tools.flow.jpdl4.eventListener".equals(elementId)) return "event-listener";
else if ("org.jboss.tools.flow.jpdl4.inputParameter".equals(elementId)) return "parameter-in";
else if ("org.jboss.tools.flow.jpdl4.outputParameter".equals(elementId)) return "parameter-out";
+ else if ("org.jboss.tools.flow.jpdl4.argument".equals(elementId)) return "arg";
+ else if ("org.jboss.tools.flow.jpdl4.field".equals(elementId)) return "field";
else return null;
}
@@ -393,6 +397,23 @@
}
return super.getPropertyName(attributeName);
}
+ public void appendBody(StringBuffer buffer, Wrapper wrapper, int level) {
+ List<Element> fields = wrapper.getChildren(JavaTask.FIELDS);
+ if (fields != null) {
+ for (Element field : fields) {
+ if (!(field instanceof Wrapper)) continue;
+ appendToBuffer(buffer, (Wrapper)field, level+1);
+ }
+ }
+ List<Element> arguments = wrapper.getChildren(JavaTask.ARGS);
+ if (arguments != null) {
+ for (Element argument : arguments) {
+ if (!(argument instanceof Wrapper)) continue;
+ appendToBuffer(buffer, (Wrapper)argument, level+1);
+ }
+ }
+ super.appendBody(buffer, wrapper, level);
+ }
}
class ScriptTaskWrapperSerializer extends ProcessNodeWrapperSerializer {
@@ -542,6 +563,45 @@
}
}
+ class ArgumentWrapperSerializer extends AbstractWrapperSerializer {
+ protected List<String> getAttributesToSave() {
+ ArrayList<String> result = new ArrayList<String>();
+ return result;
+ }
+ public void appendBody(StringBuffer buffer, Wrapper wrapper, int level) {
+ String value = (String)wrapper.getPropertyValue(Argument.VALUE);
+ if (value != null && !("".equals(value))) {
+ buffer.append("\n");
+ appendPadding(buffer, level + 1);
+ buffer.append("<string value=\"" + value + "\"/>");
+ }
+ super.appendBody(buffer, wrapper, level);
+ }
+ }
+
+ class FieldWrapperSerializer extends AbstractWrapperSerializer {
+ protected List<String> getAttributesToSave() {
+ ArrayList<String> result = new ArrayList<String>();
+ result.add("name");
+ return result;
+ }
+ protected String getPropertyName(String attributeName) {
+ if ("name".equals(attributeName)) {
+ return Field.NAME;
+ }
+ return super.getPropertyName(attributeName);
+ }
+ public void appendBody(StringBuffer buffer, Wrapper wrapper, int level) {
+ String value = (String)wrapper.getPropertyValue(Field.VALUE);
+ if (value != null && !("".equals(value))) {
+ buffer.append("\n");
+ appendPadding(buffer, level + 1);
+ buffer.append("<string value=\"" + value + "\"/>");
+ }
+ super.appendBody(buffer, wrapper, level);
+ }
+ }
+
class SubprocessTaskWrapperSerializer extends ProcessNodeWrapperSerializer {
protected List<String> getAttributesToSave() {
List<String> result = super.getAttributesToSave();
@@ -769,6 +829,10 @@
new EventListenerWrapperSerializer().appendOpening(buffer, wrapper, level);
} else if (element instanceof Parameter) {
new ParameterWrapperSerializer().appendOpening(buffer, wrapper, level);
+ } else if (element instanceof Argument) {
+ new ArgumentWrapperSerializer().appendOpening(buffer, wrapper, level);
+ } else if (element instanceof Field) {
+ new FieldWrapperSerializer().appendOpening(buffer, wrapper, level);
}
}
@@ -795,7 +859,7 @@
} else if (element instanceof SqlTask) {
new ProcessNodeWrapperSerializer().appendBody(buffer, wrapper, level);
} else if (element instanceof JavaTask) {
- new ProcessNodeWrapperSerializer().appendBody(buffer, wrapper, level);
+ new JavaTaskWrapperSerializer().appendBody(buffer, wrapper, level);
} else if (element instanceof ScriptTask) {
new ScriptTaskWrapperSerializer().appendBody(buffer, wrapper, level);
} else if (element instanceof MailTask) {
@@ -824,6 +888,10 @@
new EventListenerContainerWrapperSerializer().appendBody(buffer, wrapper, level);
} else if (element instanceof EventListener) {
new EventListenerWrapperSerializer().appendBody(buffer, wrapper, level);
+ } else if (element instanceof Argument) {
+ new ArgumentWrapperSerializer().appendBody(buffer, wrapper, level);
+ } else if (element instanceof Field) {
+ new FieldWrapperSerializer().appendBody(buffer, wrapper, level);
}
ArrayList<Node> trailingNodeList = (ArrayList<Node>)element.getMetaData("trailingNodes");
boolean appendTrailingNodes = trailingNodeList != null && !trailingNodeList.isEmpty();
@@ -895,6 +963,10 @@
buffer.append("</parameter-in>");
} else if (element instanceof OutputParameter) {
buffer.append("</parameter-out>");
+ } else if (element instanceof Argument) {
+ buffer.append("</arg>");
+ } else if (element instanceof Field) {
+ buffer.append("</field>");
}
}
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentListTreeEditPart.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentListTreeEditPart.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentListTreeEditPart.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,34 @@
+package org.jboss.tools.flow.jpdl4.editpart;
+
+import java.util.List;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.flow.common.model.Element;
+import org.jboss.tools.flow.jpdl4.util.SharedImages;
+
+public class ArgumentListTreeEditPart extends JpdlTreeEditPart {
+
+ public ArgumentListTreeEditPart(List<Element> arguments) {
+ super(arguments);
+ }
+
+ protected Image getImage() {
+ String iconPath = "icons/16/argument_multiple.gif";
+ ImageDescriptor descriptor = ImageDescriptor.createFromURL(
+ Platform.getBundle("org.jboss.tools.flow.jpdl4").getEntry(iconPath));
+ return SharedImages.INSTANCE.getImage(descriptor);
+ }
+
+ protected String getText() {
+ return "Arguments";
+ }
+
+ @SuppressWarnings("unchecked")
+ protected List<Object> getModelChildren() {
+ return (List<Object>)getModel();
+ }
+
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentListTreeEditPart.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentTreeEditPart.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentTreeEditPart.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentTreeEditPart.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,44 @@
+package org.jboss.tools.flow.jpdl4.editpart;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.flow.common.wrapper.ModelEvent;
+import org.jboss.tools.flow.common.wrapper.Wrapper;
+import org.jboss.tools.flow.jpdl4.model.Argument;
+import org.jboss.tools.flow.jpdl4.util.SharedImages;
+
+public class ArgumentTreeEditPart extends JpdlTreeEditPart implements ElementTreeEditPart {
+
+ public ArgumentTreeEditPart(Wrapper wrapper) {
+ super(wrapper);
+ }
+
+ protected Image getImage() {
+ String iconPath = "icons/16/argument.gif";
+ ImageDescriptor descriptor = ImageDescriptor.createFromURL(
+ Platform.getBundle("org.jboss.tools.flow.jpdl4").getEntry(iconPath));
+ return SharedImages.INSTANCE.getImage(descriptor);
+ }
+
+ protected String getText() {
+ String value = (String)((Wrapper)getModel()).getPropertyValue(Argument.VALUE);
+ return (value != null && !("".equals(value))) ? value : "field";
+ }
+
+ public void modelChanged(ModelEvent event) {
+ if (event.getChangeType() == Wrapper.CHANGE_PROPERTY) {
+ refreshVisuals();
+ }
+ }
+
+ public void activate() {
+ super.activate();
+ ((Wrapper)getModel()).addListener(this);
+ }
+
+ public void deactivate() {
+ ((Wrapper)getModel()).removeListener(this);
+ super.deactivate();
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/ArgumentTreeEditPart.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldListTreeEditPart.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldListTreeEditPart.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldListTreeEditPart.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,34 @@
+package org.jboss.tools.flow.jpdl4.editpart;
+
+import java.util.List;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.flow.common.model.Element;
+import org.jboss.tools.flow.jpdl4.util.SharedImages;
+
+public class FieldListTreeEditPart extends JpdlTreeEditPart {
+
+ public FieldListTreeEditPart(List<Element> fields) {
+ super(fields);
+ }
+
+ protected Image getImage() {
+ String iconPath = "icons/16/field_multiple.gif";
+ ImageDescriptor descriptor = ImageDescriptor.createFromURL(
+ Platform.getBundle("org.jboss.tools.flow.jpdl4").getEntry(iconPath));
+ return SharedImages.INSTANCE.getImage(descriptor);
+ }
+
+ protected String getText() {
+ return "Fields";
+ }
+
+ @SuppressWarnings("unchecked")
+ protected List<Object> getModelChildren() {
+ return (List<Object>)getModel();
+ }
+
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldListTreeEditPart.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldTreeEditPart.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldTreeEditPart.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldTreeEditPart.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,44 @@
+package org.jboss.tools.flow.jpdl4.editpart;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.swt.graphics.Image;
+import org.jboss.tools.flow.common.wrapper.ModelEvent;
+import org.jboss.tools.flow.common.wrapper.Wrapper;
+import org.jboss.tools.flow.jpdl4.model.Field;
+import org.jboss.tools.flow.jpdl4.util.SharedImages;
+
+public class FieldTreeEditPart extends JpdlTreeEditPart implements ElementTreeEditPart {
+
+ public FieldTreeEditPart(Wrapper wrapper) {
+ super(wrapper);
+ }
+
+ protected Image getImage() {
+ String iconPath = "icons/16/field.gif";
+ ImageDescriptor descriptor = ImageDescriptor.createFromURL(
+ Platform.getBundle("org.jboss.tools.flow.jpdl4").getEntry(iconPath));
+ return SharedImages.INSTANCE.getImage(descriptor);
+ }
+
+ protected String getText() {
+ String name = (String)((Wrapper)getModel()).getPropertyValue(Field.NAME);
+ return (name != null && !("".equals(name))) ? name : "field";
+ }
+
+ public void modelChanged(ModelEvent event) {
+ if (event.getChangeType() == Wrapper.CHANGE_PROPERTY) {
+ refreshVisuals();
+ }
+ }
+
+ public void activate() {
+ super.activate();
+ ((Wrapper)getModel()).addListener(this);
+ }
+
+ public void deactivate() {
+ ((Wrapper)getModel()).removeListener(this);
+ super.deactivate();
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/FieldTreeEditPart.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JavaTaskTreeRootEditPart.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JavaTaskTreeRootEditPart.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JavaTaskTreeRootEditPart.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,39 @@
+package org.jboss.tools.flow.jpdl4.editpart;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.jboss.tools.flow.common.model.Element;
+import org.jboss.tools.flow.common.wrapper.Wrapper;
+import org.jboss.tools.flow.jpdl4.model.JavaTask;
+
+public class JavaTaskTreeRootEditPart extends TaskTreeRootEditPart {
+
+ public JavaTaskTreeRootEditPart(Wrapper wrapper) {
+ super(wrapper);
+ }
+
+ protected List<Object> getModelChildren() {
+ List<Object> result = new ArrayList<Object>();
+ addFields(result, (Wrapper)getModel());
+ addArguments(result, (Wrapper)getModel());
+ result.addAll(super.getModelChildren());
+ return result;
+ }
+
+ private void addFields(List<Object> list, Wrapper wrapper) {
+ List<Element> fields = wrapper.getChildren(JavaTask.FIELDS);
+ if (fields != null && !fields.isEmpty()) {
+ list.add(new FieldListTreeEditPart(fields));
+ }
+ }
+
+ private void addArguments(List<Object> list, Wrapper wrapper) {
+ List<Element> arguments = wrapper.getChildren(JavaTask.ARGS);
+ if (arguments != null && !arguments.isEmpty()) {
+ list.add(new ArgumentListTreeEditPart(arguments));
+ }
+ }
+
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JavaTaskTreeRootEditPart.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JpdlTreeEditPartFactory.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JpdlTreeEditPartFactory.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editpart/JpdlTreeEditPartFactory.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -7,8 +7,11 @@
import org.jboss.tools.flow.common.wrapper.FlowWrapper;
import org.jboss.tools.flow.common.wrapper.NodeWrapper;
import org.jboss.tools.flow.common.wrapper.Wrapper;
+import org.jboss.tools.flow.jpdl4.model.Argument;
import org.jboss.tools.flow.jpdl4.model.EventListener;
import org.jboss.tools.flow.jpdl4.model.EventListenerContainer;
+import org.jboss.tools.flow.jpdl4.model.Field;
+import org.jboss.tools.flow.jpdl4.model.JavaTask;
import org.jboss.tools.flow.jpdl4.model.Parameter;
import org.jboss.tools.flow.jpdl4.model.SubprocessTask;
import org.jboss.tools.flow.jpdl4.model.Swimlane;
@@ -21,6 +24,7 @@
if (model instanceof NodeWrapper && context == null) {
Element element = ((NodeWrapper)model).getElement();
if (element instanceof SubprocessTask) return new SubprocessTaskTreeRootEditPart((Wrapper)model);
+ if (element instanceof JavaTask) return new JavaTaskTreeRootEditPart((Wrapper)model);
return new TaskTreeRootEditPart((NodeWrapper)model);
}
if (model instanceof ConnectionWrapper && context == null) return new SequenceFlowTreeRootEditPart((ConnectionWrapper)model);
@@ -28,6 +32,8 @@
Element element = ((Wrapper)model).getElement();
if (element instanceof Swimlane) return new SwimlaneTreeEditPart((Wrapper)model);
if (element instanceof Parameter) return new ParameterTreeEditPart((Wrapper)model);
+ if (element instanceof Argument) return new ArgumentTreeEditPart((Wrapper)model);
+ if (element instanceof Field) return new FieldTreeEditPart((Wrapper)model);
if (element instanceof EventListenerContainer) return new EventListenerListTreeEditPart((Wrapper)model);
if (element instanceof EventListener) return new EventListenerTreeEditPart((Wrapper)model);
if (element instanceof Timer) return new TimerTreeEditPart((Wrapper)model);
@@ -36,6 +42,8 @@
if (model instanceof SwimlaneListTreeEditPart) return (EditPart)model;
if (model instanceof InputParameterListTreeEditPart) return (EditPart)model;
if (model instanceof OutputParameterListTreeEditPart) return (EditPart)model;
+ if (model instanceof ArgumentListTreeEditPart) return (EditPart)model;
+ if (model instanceof FieldListTreeEditPart) return (EditPart)model;
if (model instanceof TimerListTreeEditPart) return (EditPart)model;
if (model instanceof ListenerListTreeEditPart) return (EditPart)model;
return new NoDetailsTreeRootEditPart();
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddArgumentHandler.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddArgumentHandler.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddArgumentHandler.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,17 @@
+package org.jboss.tools.flow.jpdl4.handler;
+
+import org.jboss.tools.flow.jpdl4.model.JavaTask;
+
+public class AddArgumentHandler extends AddChildHandler {
+
+ @Override
+ protected String getChildId() {
+ return "org.jboss.tools.flow.jpdl4.argument";
+ }
+
+ @Override
+ protected String getChildType() {
+ return JavaTask.ARGS;
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddArgumentHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddFieldHandler.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddFieldHandler.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddFieldHandler.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,17 @@
+package org.jboss.tools.flow.jpdl4.handler;
+
+import org.jboss.tools.flow.jpdl4.model.JavaTask;
+
+public class AddFieldHandler extends AddChildHandler {
+
+ @Override
+ protected String getChildId() {
+ return "org.jboss.tools.flow.jpdl4.field";
+ }
+
+ @Override
+ protected String getChildType() {
+ return JavaTask.FIELDS;
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/AddFieldHandler.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/DeleteElementHandler.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/DeleteElementHandler.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/handler/DeleteElementHandler.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -17,9 +17,12 @@
import org.jboss.tools.flow.common.wrapper.Wrapper;
import org.jboss.tools.flow.jpdl4.Logger;
import org.jboss.tools.flow.jpdl4.editpart.EventListenerListTreeEditPart;
+import org.jboss.tools.flow.jpdl4.model.Argument;
import org.jboss.tools.flow.jpdl4.model.EventListener;
import org.jboss.tools.flow.jpdl4.model.EventListenerContainer;
+import org.jboss.tools.flow.jpdl4.model.Field;
import org.jboss.tools.flow.jpdl4.model.InputParameter;
+import org.jboss.tools.flow.jpdl4.model.JavaTask;
import org.jboss.tools.flow.jpdl4.model.OutputParameter;
import org.jboss.tools.flow.jpdl4.model.SequenceFlow;
import org.jboss.tools.flow.jpdl4.model.SubprocessTask;
@@ -68,6 +71,10 @@
deleteChildCommand.setType(SubprocessTask.INPUT_PARAMETERS);
} else if (child.getElement() instanceof OutputParameter) {
deleteChildCommand.setType(SubprocessTask.OUTPUT_PARAMETERS);
+ } else if (child.getElement() instanceof Field) {
+ deleteChildCommand.setType(JavaTask.FIELDS);
+ } else if (child.getElement() instanceof Argument) {
+ deleteChildCommand.setType(JavaTask.ARGS);
}
deleteChildCommand.setParent(parent);
if (deleteChildCommand.canExecute()) {
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Argument.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Argument.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Argument.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,59 @@
+package org.jboss.tools.flow.jpdl4.model;
+
+import org.eclipse.ui.views.properties.IPropertyDescriptor;
+import org.eclipse.ui.views.properties.IPropertySource;
+import org.jboss.tools.flow.common.model.DefaultElement;
+
+public class Argument extends DefaultElement {
+
+ public static final String VALUE = "org.jboss.tools.flow.jpdl4.model.argument.value";
+
+ private String value;
+
+ public Argument() {
+ setMetaData("propertySource", new PropertySource());
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ private class PropertySource implements IPropertySource {
+
+ public Object getEditableValue() {
+ return null;
+ }
+
+ public IPropertyDescriptor[] getPropertyDescriptors() {
+ return new IPropertyDescriptor[0];
+ }
+
+ public Object getPropertyValue(Object id) {
+ if (VALUE.equals(id)) {
+ return getValue();
+ }
+ return null;
+ }
+
+ public boolean isPropertySet(Object id) {
+ if (VALUE.equals(id)) {
+ return getValue() != null;
+ }
+ return false;
+ }
+
+ public void resetPropertyValue(Object id) {
+ }
+
+ public void setPropertyValue(Object id, Object value) {
+ if (VALUE.equals(id)) {
+ setValue((String)value);
+ }
+ }
+
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Argument.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Field.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Field.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Field.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,75 @@
+package org.jboss.tools.flow.jpdl4.model;
+
+import org.eclipse.ui.views.properties.IPropertyDescriptor;
+import org.eclipse.ui.views.properties.IPropertySource;
+import org.jboss.tools.flow.common.model.DefaultElement;
+
+public class Field extends DefaultElement {
+
+ public static final String NAME = "org.jboss.tools.flow.jpdl4.model.field.name";
+ public static final String VALUE = "org.jboss.tools.flow.jpdl4.model.field.value";
+
+ private String value;
+ private String name;
+
+ public Field() {
+ setMetaData("propertySource", new PropertySource());
+ }
+
+ public String getValue() {
+ return value;
+ }
+
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ private class PropertySource implements IPropertySource {
+
+ public Object getEditableValue() {
+ return null;
+ }
+
+ public IPropertyDescriptor[] getPropertyDescriptors() {
+ return new IPropertyDescriptor[0];
+ }
+
+ public Object getPropertyValue(Object id) {
+ if (VALUE.equals(id)) {
+ return getValue();
+ } else if (NAME.equals(id)) {
+ return getName();
+ }
+ return null;
+ }
+
+ public boolean isPropertySet(Object id) {
+ if (VALUE.equals(id)) {
+ return getValue() != null;
+ } else if (NAME.equals(id)) {
+ return getName() != null;
+ }
+ return false;
+ }
+
+ public void resetPropertyValue(Object id) {
+ }
+
+ public void setPropertyValue(Object id, Object value) {
+ if (VALUE.equals(id)) {
+ setValue((String)value);
+ } else if (NAME.equals(id)) {
+ setName((String)value);
+ }
+ }
+
+ }
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/Field.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/JavaTask.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/JavaTask.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/model/JavaTask.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -1,5 +1,8 @@
package org.jboss.tools.flow.jpdl4.model;
+import java.util.ArrayList;
+import java.util.List;
+
import org.eclipse.ui.views.properties.IPropertyDescriptor;
import org.eclipse.ui.views.properties.IPropertySource;
@@ -9,10 +12,14 @@
public static final String CLASS = "org.jboss.tools.flow.jpdl4.model.javaTask.class";
public static final String METHOD = "org.jboss.tools.flow.jpdl4.model.javaTask.method";
public static final String VAR = "org.jboss.tools.flow.jpdl4.model.javaTask.var";
+ public static final String FIELDS = "org.jboss.tools.flow.jpdl4.model.javaTask.fields";
+ public static final String ARGS = "org.jboss.tools.flow.jpdl4.model.javaTask.args";
private String className;
private String methodName;
private String variableName;
+ private List<Argument> arguments = new ArrayList<Argument>();
+ private List<Field> fields = new ArrayList<Field>();
public JavaTask() {
setMetaData("propertySource", new PropertySource());
@@ -41,7 +48,7 @@
public void setVariableName(String variableName) {
this.variableName = variableName;
}
-
+
protected boolean isPropagationExclusive() {
return true;
}
@@ -63,6 +70,10 @@
return getMethodName();
} else if (VAR.equals(id)) {
return getVariableName();
+ } else if (FIELDS.equals(id)) {
+ return fields;
+ } else if (ARGS.equals(id)) {
+ return arguments;
}
return null;
}
@@ -74,6 +85,10 @@
return getMethodName() != null;
} else if (VAR.equals(id)) {
return getVariableName() != null;
+ } else if (FIELDS.equals(id)) {
+ return true;
+ } else if (ARGS.equals(id)) {
+ return true;
}
return false;
}
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/ArgumentValueSection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/ArgumentValueSection.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/ArgumentValueSection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,11 @@
+package org.jboss.tools.flow.jpdl4.properties;
+
+import org.jboss.tools.flow.jpdl4.model.Argument;
+
+public class ArgumentValueSection extends TextFieldPropertySection {
+
+ public ArgumentValueSection() {
+ super(Argument.VALUE, "Value");
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/ArgumentValueSection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldNameSection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldNameSection.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldNameSection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,11 @@
+package org.jboss.tools.flow.jpdl4.properties;
+
+import org.jboss.tools.flow.jpdl4.model.Field;
+
+public class FieldNameSection extends TextFieldPropertySection {
+
+ public FieldNameSection() {
+ super(Field.NAME, "Name");
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldNameSection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldValueSection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldValueSection.java (rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldValueSection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -0,0 +1,11 @@
+package org.jboss.tools.flow.jpdl4.properties;
+
+import org.jboss.tools.flow.jpdl4.model.Field;
+
+public class FieldValueSection extends TextFieldPropertySection {
+
+ public FieldValueSection() {
+ super(Field.VALUE, "Value");
+ }
+
+}
Property changes on: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/FieldValueSection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Deleted: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskArgumentsSection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskArgumentsSection.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskArgumentsSection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -1,87 +0,0 @@
-package org.jboss.tools.flow.jpdl4.properties;
-
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
-import org.jboss.tools.flow.common.properties.IPropertyId;
-
-public class JavaTaskArgumentsSection extends JpdlPropertySection implements IPropertyId {
-
- private final static String NO_ARGUMENTS = "The configured method has no arguments that can be configured.";
- private final static String CONFIGURE_ARGUMENTS = "Configure the value of the supported arguments as needed.";
-
- private CLabel infoLabel;
-
-// private ModifyListener nameTextModifyListener = new ModifyListener() {
-// public void modifyText(ModifyEvent arg0) {
-// IPropertySource input = getInput();
-// if (input != null) {
-// RenameElementCommand rec = new RenameElementCommand();
-// rec.setSource(input);
-// rec.setOldName((String)input.getPropertyValue(NAME));
-// rec.setName(nameText.getText());
-// getCommandStack().execute(rec);
-// }
-// }
-// };
-//
-// private CommandStackListener commandStackListener = new CommandStackListener() {
-// public void commandStackChanged(EventObject event) {
-// refresh();
-// }
-// };
-//
-// public void dispose() {
-// if (getCommandStack() != null) {
-// getCommandStack().removeCommandStackListener(commandStackListener);
-// }
-// super.dispose();
-// }
-
- public void createControls(Composite parent,
- TabbedPropertySheetPage aTabbedPropertySheetPage) {
- super.createControls(parent, aTabbedPropertySheetPage);
- Composite composite = getFlatFormComposite();
- createInfoLabel(composite);
- createFieldsComposite(composite);
- }
-
-
- private void createInfoLabel(Composite parent) {
- infoLabel = getWidgetFactory().createCLabel(parent, NO_ARGUMENTS);
- FormData data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.top = new FormAttachment(0, 5);
- data.right = new FormAttachment(100, 0);
- infoLabel.setLayoutData(data);
- }
-
- private void createFieldsComposite(Composite parent) {
- Composite fieldsComposite = getWidgetFactory().createComposite(parent);
- FormData data = new FormData();
- data.top = new FormAttachment(0, 0);
- data.left = new FormAttachment(JpdlPropertySection.SECOND_COLUMN_LEFT_LIMIT, 0);
- data.right = new FormAttachment(100, 0);
- fieldsComposite.setLayoutData(data);
- }
-
- protected void hookListeners() {
-// nameText.addModifyListener(nameTextModifyListener);
- }
-
- protected void unhookListeners() {
-// nameText.removeModifyListener(nameTextModifyListener);
- }
-
- protected void updateValues() {
-// IPropertySource input = getInput();
-// if (input != null) {
-// nameText.setText(getValueNotNull((String)input.getPropertyValue(NAME)));
-// } else {
-// nameText.setText("");
-// }
- }
-
-}
Deleted: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskFieldsSection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskFieldsSection.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JavaTaskFieldsSection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -1,124 +0,0 @@
-package org.jboss.tools.flow.jpdl4.properties;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.gef.EditPart;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.views.properties.IPropertySource;
-import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
-import org.jboss.tools.flow.common.properties.IPropertyId;
-import org.jboss.tools.flow.common.wrapper.ModelEvent;
-import org.jboss.tools.flow.common.wrapper.ModelListener;
-import org.jboss.tools.flow.common.wrapper.Wrapper;
-import org.jboss.tools.flow.jpdl4.model.JavaTask;
-
-public class JavaTaskFieldsSection extends JpdlPropertySection implements IPropertyId {
-
- private final static String NO_FIELDS = "The configured class has no fields that can be configured.";
- private final static String CONFIGURE_FIELDS = "Configure the value of the supported fields as needed.";
-
- private Wrapper input;
-
- private CLabel infoLabel;
-
- private ModelListener modelListener = new ModelListener() {
- public void modelChanged(ModelEvent event) {
- System.out.println("changeDiscriminator; " + event.getChangeDiscriminator());
- System.out.println("changeType " + event.getChangeType());
- }
-
- };
-
-// private ModifyListener nameTextModifyListener = new ModifyListener() {
-// public void modifyText(ModifyEvent arg0) {
-// IPropertySource input = getInput();
-// if (input != null) {
-// RenameElementCommand rec = new RenameElementCommand();
-// rec.setSource(input);
-// rec.setOldName((String)input.getPropertyValue(NAME));
-// rec.setName(nameText.getText());
-// getCommandStack().execute(rec);
-// }
-// }
-// };
-//
-// private CommandStackListener commandStackListener = new CommandStackListener() {
-// public void commandStackChanged(EventObject event) {
-// refresh();
-// }
-// };
-//
- public void dispose() {
- if (input != null) {
- input.removeListener(modelListener);
- }
- super.dispose();
- }
-
- public void createControls(Composite parent,
- TabbedPropertySheetPage aTabbedPropertySheetPage) {
- super.createControls(parent, aTabbedPropertySheetPage);
- Composite composite = getFlatFormComposite();
- createInfoLabel(composite);
- createFieldsComposite(composite);
- }
-
-
- private void createInfoLabel(Composite parent) {
- infoLabel = getWidgetFactory().createCLabel(parent, NO_FIELDS);
- FormData data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.top = new FormAttachment(0, 5);
- data.right = new FormAttachment(100, 0);
- infoLabel.setLayoutData(data);
- }
-
- private void createFieldsComposite(Composite parent) {
- Composite fieldsComposite = getWidgetFactory().createComposite(parent);
- FormData data = new FormData();
- data.top = new FormAttachment(0, 0);
- data.left = new FormAttachment(JpdlPropertySection.SECOND_COLUMN_LEFT_LIMIT, 0);
- data.right = new FormAttachment(100, 0);
- fieldsComposite.setLayoutData(data);
- }
-
- public void setInput(IWorkbenchPart part, ISelection selection) {
- if (input != null) {
- input.removeListener(modelListener);
- }
- super.setInput(part, selection);
- if (selection instanceof IStructuredSelection) {
- Object object = ((IStructuredSelection)selection).getFirstElement();
- if (object instanceof EditPart && ((EditPart)object).getModel() instanceof Wrapper) {
- input = (Wrapper)((EditPart)object).getModel();
- input.addListener(modelListener);
- return;
- }
- }
- input = null;
- }
-
- protected void hookListeners() {
-// nameText.addModifyListener(nameTextModifyListener);
- }
-
- protected void unhookListeners() {
-// nameText.removeModifyListener(nameTextModifyListener);
- }
-
- protected void updateValues() {
-// IPropertySource input = getInput();
-// if (input != null) {
-// nameText.setText(getValueNotNull((String)input.getPropertyValue(NAME)));
-// } else {
-// nameText.setText("");
-// }
- }
-
-}
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JpdlPropertySection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JpdlPropertySection.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/JpdlPropertySection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -45,6 +45,9 @@
if (aTabbedPropertySheetPage instanceof JpdlPropertySheetPage) {
commandStack = ((JpdlPropertySheetPage)aTabbedPropertySheetPage).getCommandStack();
}
+ if (commandStack != null) {
+
+ }
flatFormComposite = getWidgetFactory().createFlatFormComposite(parent);
}
Modified: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/NameSection.java
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/NameSection.java 2009-06-03 01:30:14 UTC (rev 15663)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/properties/NameSection.java 2009-06-03 02:51:37 UTC (rev 15664)
@@ -23,7 +23,7 @@
private ModifyListener nameTextModifyListener = new ModifyListener() {
public void modifyText(ModifyEvent arg0) {
IPropertySource input = getInput();
- if (input != null) {
+ if (input != null && getCommandStack() != null) {
RenameElementCommand rec = new RenameElementCommand();
rec.setSource(input);
rec.setOldName((String)input.getPropertyValue(NAME));
@@ -49,6 +49,9 @@
public void createControls(Composite parent,
TabbedPropertySheetPage aTabbedPropertySheetPage) {
super.createControls(parent, aTabbedPropertySheetPage);
+ if (getCommandStack() != null) {
+ getCommandStack().addCommandStackListener(commandStackListener);
+ }
Composite composite = getFlatFormComposite();
createNameLabel(composite);
createNameText(composite);
16 years, 4 months
JBoss Tools SVN: r15663 - trunk/ws/tests/org.jboss.tools.ws.core.test/src/org/jboss/tools/ws/core/test/command.
by jbosstools-commits@lists.jboss.org
Author: Grid.Qian
Date: 2009-06-02 21:30:14 -0400 (Tue, 02 Jun 2009)
New Revision: 15663
Modified:
trunk/ws/tests/org.jboss.tools.ws.core.test/src/org/jboss/tools/ws/core/test/command/JBossWSJavaFirstCommandTest.java
Log:
JBIDE-4350: JBossWSCoreAllTests testWSProviderInvokeCommand and other WS tests fails on hudson
Modified: trunk/ws/tests/org.jboss.tools.ws.core.test/src/org/jboss/tools/ws/core/test/command/JBossWSJavaFirstCommandTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.core.test/src/org/jboss/tools/ws/core/test/command/JBossWSJavaFirstCommandTest.java 2009-06-02 22:46:48 UTC (rev 15662)
+++ trunk/ws/tests/org.jboss.tools.ws.core.test/src/org/jboss/tools/ws/core/test/command/JBossWSJavaFirstCommandTest.java 2009-06-03 01:30:14 UTC (rev 15663)
@@ -224,14 +224,14 @@
for (IConsole console : consoles) {
if (console.getName().contains("ClientSample")) {
int i = 0;
- while (i < 10
+ while (i < 30
&& !isContainString(
console,
JBossWSCreationCoreMessages.Client_Sample_Run_Over)) {
delay(1000);
i++;
}
- assertTrue("Sample run over!", isContainString(console,
+ assertTrue("Sample can not run over!", isContainString(console,
JBossWSCreationCoreMessages.Client_Sample_Run_Over));
}
}
16 years, 4 months
JBoss Tools SVN: r15662 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb: taglibs and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-06-02 18:46:48 -0400 (Tue, 02 Jun 2009)
New Revision: 15662
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd
Log:
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd 2009-06-02 22:25:30 UTC (rev 15661)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd 2009-06-02 22:46:48 UTC (rev 15662)
@@ -12,7 +12,7 @@
uri - URI of this tag lib.
dafault-prefix - Default prefix.
-->
-<!ELEMENT tag-lib (component*, componentExtension?) >
+<!ELEMENT tag-lib (component*, componentExtension?)>
<!ATTLIST schema dafault-prefix CDATA #IMPLIED>
@@ -24,12 +24,14 @@
closeTag - "true" - Component can have a body.
"false" - Component cannot have a body. Used by default.
extended - "true" - Component is relevant only if this component exists in other tag-libs (tld, faclets, ...). Set to "true" by default.
+ description
-->
-<!ELEMENT component (attribute*) >
+<!ELEMENT component (attribute*)>
<!ATTLIST component name CDATA #REQUIRED>
<!ATTLIST component closeTag %Boolean; #IMPLIED>
<!ATTLIST component extended %Boolean; #IMPLIED>
+<!ATTLIST component description CDATA #IMPLIED>
<!--
Describes attribute of component.
@@ -38,20 +40,22 @@
required - "true" - attribute of element is required. "false" by default.
defaultValue - default value of attribute.
extended - "true" - Attribute is relevant only if this attribute exists in other tag-libs (tld, faclets, ...). Set to "true" by default.
+ description
-->
-<!ELEMENT attribute (proposal*) >
+<!ELEMENT attribute (proposal*)>
<!ATTLIST attribute name CDATA #REQUIRED>
<!ATTLIST attribute required %Boolean; #REQUIRED>
<!ATTLIST attribute defaultValue CDATA #IMPLIED>
<!ATTLIST attribute extended %Boolean; #IMPLIED>
+<!ATTLIST attribute description CDATA #IMPLIED>
<!--
Describe content assist proposal for value of attribute.
Attributes:
type - Type of proposal.
-->
-<!ELEMENT proposal (param*) >
+<!ELEMENT proposal (param*)>
<!ATTLIST proposal type CDATA #REQUIRED>
@@ -61,7 +65,7 @@
value - Value of param.
name - Name of param.
-->
-<!ELEMENT param >
+<!ELEMENT param ()>
<!ATTLIST param value CDATA #REQUIRED>
<!ATTLIST param name CDATA #IMPLIED>
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml 2009-06-02 22:46:48 UTC (rev 15662)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
+<tag-lib defaultPrefix="ui">
+ <component name="component" extended="true">
+ <description>The component tag and the composition tag behave exactly
+ the same, except the component tag will insert a new UIComponent
+ instance into the tree as the root of all the child
+ components/fragments it has.</description>
+ <attribute extended="true" name="id">
+ <description>A unique id may be provided, otherwise Facelets will
+ automatically assign one under the same logic it uses for all
+ UIComponents.</description>
+ </attribute>
+ <attribute extended="true" name="binding">
+ <description>This binding attribute is used the same as with any
+ other UIComponent such that it allows you to reference them as a
+ property of a JavaBean. If that target property did not have a
+ UIComponent instance assigned already, JavaServer Faces will lazily
+ create an instance for you and set it on your JavaBean before
+ continuing with building the tree.</description>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component name="composition" extended="true">
+ <attribute extended="true" name="template">
+ <description>The resolvable URI of the template to use. The content
+ within the composition tag will be used in populating the template
+ specified.</description>
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component closeTag="true" name="debug" extended="true">
+ <description>The debug tag will capture the component tree and
+ variables when it is encoded, storing the data for retrieval later.
+ You may launch the debug window at any time from your browser by
+ pressing 'CTRL' + 'SHIFT' + 'D' (by default). The debug tag doesn't
+ need to be used with the facelet.DEVELOPMENT parameter. The best
+ place to put this tag is in your site's main template where it can be
+ enabled/disabled across your whole application. If your application
+ uses multiple windows, you might want to assign different hot keys to
+ each one.</description>
+ <attribute extended="true" name="hotkey">
+ <description>The hot key to use in combination with 'CTRL' + 'SHIFT'
+ to launch the debug window. By default, when the debug tag is used,
+ you may launch the debug window with 'CTRL' + 'SHIFT' + 'D'. This
+ value cannot be an EL expression.</description>
+ </attribute>
+ <attribute extended="true" name="rendered">
+ <description>Creating debug output on every request adds some
+ overhead, so you can use the UIComponent rendered property to turn
+ debugging on or off based on some expression.</description>
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="decorate" extended="true">
+ <description>The decorate tag acts the same as a composition tag, but
+ it will not trim everything outside of it. This is useful in cases
+ where you have a list of items in a document, which you would like to
+ be decorated or framed. The sum of it all is that you can take any
+ element in the document and decorate it with some external logic as
+ provided by the template.</description>
+ <attribute extended="true" name="template" required="true">
+ <description>The resolvable URI of the template to use. The content
+ within the decorate tag will be used in populating the template
+ specified.</description>
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component name="define" extended="true">
+ <description>The define tag can be used within tags that allow
+ templating. This includes composition and decorate tags.</description>
+ <attribute extended="true" name="name" required="true">
+ <description>The literal name for this definition. This name will
+ match up with a <ui:insert/> tag in a target template.</description>
+ </attribute>
+ </component>
+ <component name="fragment" extended="true">
+ <description>Just like composition has decorate as a non-trimming
+ version of the same behavior, component has fragment. This allows you
+ to logically insert a UIComponent into the tree and possibly bind
+ this fragment to a JavaBean property or Map for management. The
+ fragment tag was also added to Facelets to get around some of the
+ optimizations used in handling text within your document. If you are
+ using components such as <f:panelGrid/>, which renders its
+ children, you may want more control over the building process that
+ Facelets does and using a fragment tag will help guarantee
+ parent/child relationships for you.</description>
+ <attribute extended="true" name="id">
+ <description>A unique id may be provided, otherwise Facelets will
+ automatically assign one under the same logic it uses for all
+ UIComponents.</description>
+ </attribute>
+ <attribute extended="true" name="binding">
+ <description>This binding attribute is used the same as with any
+ other UIComponent such that it allows you to reference them as a
+ property of a JavaBean. If that target property did not have a
+ UIComponent instance assigned already, JavaServer Faces will lazily
+ create an instance for you and set it on your JavaBean before
+ continuing with building the tree.</description>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component closeTag="true" name="include" extended="true">
+ <description>The include tag can point at any Facelet which might use
+ the composition tag, component tag, or simply be straight XHTML/XML.
+ It should be noted that the src path does allow relative path names,
+ but they will always be resolved against the original Facelet
+ requested. The include tag can be used in conjunction with multiple
+ <ui:param/> tags to pass EL expressions/values to the target
+ page.</description>
+ <attribute extended="true" name="src" required="true">
+ <description>A literal or EL expression that specifies the target
+ Facelet that you would like to include into your document.</description>
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="insert" extended="true">
+ <description>The insert tag is used within your templates to declare
+ spots of replacable data.</description>
+ <attribute extended="true" name="name">
+ <description>The optional name attribute matches the associated
+ <ui:define/> tag in this template's client. If no name is
+ specified, it's expected that the whole template client will be
+ inserted.</description>
+ </attribute>
+ </component>
+ <component closeTag="true" name="param" extended="true">
+ <description />
+ <attribute extended="true" name="name" required="true">
+ <description>The name of the variable to pass to the included
+ Facelet.</description>
+ </attribute>
+ <attribute extended="true" name="value" required="true">
+ <description>The literal or EL expression value to assign to the
+ named variable.</description>
+ </attribute>
+ </component>
+ <component name="remove" extended="true">
+ <description>The remove tag does not have any attributes and is used
+ to remove chunks of XML content from a Facelet at compilation time.
+ The remove tag is often used in conjunction with the jsfc feature.</description>
+ </component>
+ <component name="repeat" extended="true">
+ <attribute extended="true" name="value" required="true">
+ <description>Expression for the list of items</description>
+ </attribute>
+ <attribute extended="true" name="var" required="true">
+ <description>The name of the variable to put the current item.</description>
+ </attribute>
+ <attribute extended="true" name="offset">
+ <description>The offset index.</description>
+ </attribute>
+ <attribute extended="true" name="size">
+ <description>Number of items to produce.</description>
+ </attribute>
+ <attribute extended="true" name="varStatus">
+ <description>Index object.</description>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 4 months
JBoss Tools SVN: r15661 - trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-06-02 18:25:30 -0400 (Tue, 02 Jun 2009)
New Revision: 15661
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JBossSeam.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JBossSeam.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JBossSeam.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JBossSeam.xml 2009-06-02 22:25:30 UTC (rev 15661)
@@ -0,0 +1,308 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
+<tag-lib defaultPrefix="s">
+ <customExtension>
+ <attribute name="propagation">
+ <proposal type="enumeration">
+ <param value="begin" />
+ <param value="join" />
+ <param value="nest" />
+ <param value="none" />
+ <param value="end" />
+ </proposal>
+ </attribute>
+ </customExtension>
+ <component name="button">
+ <attribute name="view">
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="cache">
+ <attribute name="enabled">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="conversationPropagation">
+ <attribute name="type">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="begin" />
+ <param value="end" />
+ <param value="nested" />
+ <param value="join" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="decorate">
+ <attribute name="template">
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="enumItem">
+ <attribute name="itemDisabled">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="fileUpload">
+ <attribute name="contentType">
+ <proposal type="enumeration">
+ <param value="text/html" />
+ <param value="text/plain" />
+ <param value="text/richtext" />
+ <param value="text/x-setext" />
+ <param value="text/enriched" />
+ <param value="text/tab-separated-values" />
+ <param value="text/sgml" />
+ <param value="text/x-speech" />
+ <param value="text/css" />
+ <param value="application/dsssl" />
+ <param value="image/gif" />
+ <param value="image/x-xbitmap" />
+ <param value="image/x-xpixmap" />
+ <param value="image/x-png" />
+ <param value="image/ief" />
+ <param value="image/jpeg" />
+ <param value="image/tiff" />
+ <param value="image/rgb" />
+ <param value="image/x-rgb" />
+ <param value="image/g3fax" />
+ <param value="image/x-xwindowdump" />
+ <param value="image/x-pict" />
+ <param value="image/x-portable-pixmap" />
+ <param value="image/x-portable-graymap" />
+ <param value="image/x-portable-bitmap" />
+ <param value="image/x-portable-anymap" />
+ <param value="image/x-ms-bmp" />
+ <param value="image/x-cmu-raster" />
+ <param value="image/x-photo-cd" />
+ <param value="image/cgm" />
+ <param value="image/naplps" />
+ <param value="image/x-cals" />
+ <param value="image/fif" />
+ <param value="image/x-mgx-dsf" />
+ <param value="image/x-cmx" />
+ <param value="image/wavelet" />
+ <param value="image/vnd.dwg" />
+ <param value="image/x-dwg" />
+ <param value="image/vnd.dxf" />
+ <param value="image/x-dxf" />
+ <param value="image/vnd.svf" />
+ <param value="vector/x-svf" />
+ <param value="audio/basic" />
+ <param value="audio/x-aiff" />
+ <param value="audio/x-wav" />
+ <param value="audio/x-mpeg" />
+ <param value="audio/x-mpeg-2" />
+ <param value="audio/echospeech" />
+ <param value="audio/voxware" />
+ <param value="application/fastman" />
+ <param value="application/x-pn-realaudio" />
+ <param value="application/vnd.music-niff" />
+ <param value="x-music/x-midi" />
+ <param value="application/vnd.koan" />
+ <param value="application/x-koan" />
+ <param value="text/x-speech" />
+ <param value="video/mpeg" />
+ <param value="video/mpeg-2" />
+ <param value="video/quicktime" />
+ <param value="video/x-msvideo" />
+ <param value="video/x-sgi-movie" />
+ <param value="video/vdo" />
+ <param value="video/vnd.vivo" />
+ <param value="video/vivo" />
+ <param value="application/x-ns-proxy-autoconfig" />
+ <param value="application/x-www-form-urlencoded" />
+ <param value="application/x-www-local-exec" />
+ <param value="x-conference/x-cooltalk" />
+ <param value="application/x-chat" />
+ <param value="application/postscript" />
+ <param value="application/rtf" />
+ <param value="application/pdf" />
+ <param value="application/x-pdf" />
+ <param value="application/vnd.mif" />
+ <param value="application/x-mif" />
+ <param value="application/x-troff" />
+ <param value="application/x-troff-man" />
+ <param value="application/x-troff-me" />
+ <param value="application/x-troff-ms" />
+ <param value="application/x-latex" />
+ <param value="application/x-tex" />
+ <param value="application/x-texinfo" />
+ <param value="application/x-dvi" />
+ <param value="application/macwriteii" />
+ <param value="application/msword" />
+ <param value="application/wordperfect5.1" />
+ <param value="application/sgml" />
+ <param value="application/oda" />
+ <param value="application/envoy" />
+ <param value="application/wita" />
+ <param value="application/dec-dx" />
+ <param value="application/dca-rft" />
+ <param value="application/commonground" />
+ <param value="application/vnd.framemaker" />
+ <param value="application/x-framemaker" />
+ <param value="application/remote-printing" />
+ <param value="application/x-gtar" />
+ <param value="application/x-tar" />
+ <param value="application/x-ustar" />
+ <param value="application/x-bcpio" />
+ <param value="application/x-cpio" />
+ <param value="application/x-shar" />
+ <param value="application/zip" />
+ <param value="application/mac-binhex40" />
+ <param value="application/x-stuffit" />
+ <param value="application/fractals" />
+ <param value="application/octet-stream" />
+ <param value="application/octet-stream" />
+ <param value="application/x-wais-source" />
+ <param value="application/hdf" />
+ <param value="text/javascript" />
+ <param value="application/x-javascript" />
+ <param value="text/vbscript" />
+ <param value="application/x-sh" />
+ <param value="application/x-csh" />
+ <param value="application/x-perl" />
+ <param value="application/x-tcl" />
+ <param value="application/atomicmail" />
+ <param value="application/slate" />
+ <param value="application/octet-stream" />
+ <param value="application/riscos" />
+ <param value="application/andrew-inset" />
+ <param value="application/futuresplash" />
+ <param value="application/mbedlet" />
+ <param value="application/x-director" />
+ <param value="application/x-sprite" />
+ <param value="application/x-rad-powermedia" />
+ <param value="application/mspowerpoint" />
+ <param value="application/x-pointplus" />
+ <param value="application/x-asap" />
+ <param value="application/astound" />
+ <param value="application/x-olescript" />
+ <param value="application/x-oleobject" />
+ <param value="x-form/x-openscape" />
+ <param value="application/x-webbasic" />
+ <param value="application/x-alpha-form" />
+ <param value="x-script/x-wfxclient" />
+ <param value="application/octet-stream" />
+ <param value="application/cals-1840" />
+ <param value="application/x-pcn" />
+ <param value="application/vnd.ms-excel" />
+ <param value="application/x-msexcel" />
+ <param value="application/ms-excel" />
+ <param value="application/vnd.ms-powerpoint" />
+ <param value="application/ms-powerpoint" />
+ <param value="application/vnd.ms-project" />
+ <param value="application/vnd.ms-works" />
+ <param value="application/vnd.ms-tnef" />
+ <param value="application/vnd.artgalry" />
+ <param value="application/vnd.svd" />
+ <param value="application/vnd.truedoc" />
+ <param value="application/x-net-install" />
+ <param value="application/ccv" />
+ <param value="application/cybercash" />
+ <param value="application/applefile" />
+ <param value="application/activemessage" />
+ <param value="application/x400-bp" />
+ <param value="application/news-message-id" />
+ <param value="application/news-transmission" />
+ <param value="multipart/mixed" />
+ <param value="multipart/alternative" />
+ <param value="multipart/related" />
+ <param value="multipart/digest" />
+ <param value="multipart/report" />
+ <param value="multipart/parallel" />
+ <param value="multipart/appledouble" />
+ <param value="multipart/header-set" />
+ <param value="multipart/voice-message" />
+ <param value="multipart/form-data" />
+ <param value="multipart/x-mixed-replace" />
+ <param value="x-world/x-vrml" />
+ <param value="x-world/x-vream" />
+ <param value="application/x-p3d" />
+ <param value="x-world/x-svr" />
+ <param value="x-world/x-wvr" />
+ <param value="x-world/x-3dmf" />
+ <param value="Scientific/Math/CAD" />
+ <param value="chemical/*" />
+ <param value="application/mathematica" />
+ <param value="x-model/x-mesh" />
+ <param value="application/vis5d" />
+ <param value="application/iges" />
+ <param value="drawing/x-dwf" />
+ <param value="application/x-showcase" />
+ <param value="application/x-insight" />
+ <param value="application/x-annotator" />
+ <param value="application/x-dirview" />
+ <param value="application/x-enterlicense" />
+ <param value="application/x-fax-manager" />
+ <param value="application/x-fax-manager-job" />
+ <param value="application/x-iconbook" />
+ <param value="application/x-inpview" />
+ <param value="application/x-install" />
+ <param value="application/x-mailfolder" />
+ <param value="application/x-ppages" />
+ <param value="application/x-sgi-lpr" />
+ <param value="application/x-tardist" />
+ <param value="application/x-ztardist" />
+ <param value="application/x-wingz" />
+ <param value="graphics/x-inventor" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="graphicImage">
+ <attribute name="value">
+ <proposal type="file">
+ <param name="extensions" value="%image%" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="link">
+ <attribute name="view">
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="message">
+ <attribute name="showSummary">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="selectItems">
+ <attribute name="hideNoSelectionLabel">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="transformImageSize">
+ <attribute name="maintainRatio">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="transformImageType">
+ <attribute name="contentType">
+ <proposal type="enumeration">
+ <param value="image/jpeg" />
+ <param value="image/png" />
+ </proposal>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JBossSeam.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
16 years, 4 months
JBoss Tools SVN: r15660 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb: taglibs and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-06-02 18:18:23 -0400 (Tue, 02 Jun 2009)
New Revision: 15660
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfHtmlBasic.xml
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Richfaces.xml
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/componentExtension.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd 2009-06-02 18:48:18 UTC (rev 15659)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd 2009-06-02 22:18:23 UTC (rev 15660)
@@ -14,7 +14,6 @@
-->
<!ELEMENT tag-lib (component*, componentExtension?) >
-<!ATTLIST tag-lib uri CDATA #REQUIRED>
<!ATTLIST schema dafault-prefix CDATA #IMPLIED>
<!--
@@ -24,11 +23,13 @@
name - name of component
closeTag - "true" - Component can have a body.
"false" - Component cannot have a body. Used by default.
+ extended - "true" - Component is relevant only if this component exists in other tag-libs (tld, faclets, ...). Set to "true" by default.
-->
<!ELEMENT component (attribute*) >
<!ATTLIST component name CDATA #REQUIRED>
-<!ATTLIST component closeTag %Boolean #IMPLIED>
+<!ATTLIST component closeTag %Boolean; #IMPLIED>
+<!ATTLIST component extended %Boolean; #IMPLIED>
<!--
Describes attribute of component.
@@ -36,12 +37,14 @@
name - Name of attribute type.
required - "true" - attribute of element is required. "false" by default.
defaultValue - default value of attribute.
+ extended - "true" - Attribute is relevant only if this attribute exists in other tag-libs (tld, faclets, ...). Set to "true" by default.
-->
<!ELEMENT attribute (proposal*) >
<!ATTLIST attribute name CDATA #REQUIRED>
-<!ATTLIST attribute required %Boolean #REQUIRED>
+<!ATTLIST attribute required %Boolean; #REQUIRED>
<!ATTLIST attribute defaultValue CDATA #IMPLIED>
+<!ATTLIST attribute extended %Boolean; #IMPLIED>
<!--
Describe content assist proposal for value of attribute.
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml 2009-06-02 22:18:23 UTC (rev 15660)
@@ -0,0 +1,214 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
+<tag-lib defaultPrefix="a4j">
+ <customExtension>
+ <attribute name="ajaxSingle">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="bypassUpdates">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="ignoreDupResponses">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="limitToList">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="selfRendered">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="ajaxRendered">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </customExtension>
+
+ <component name="actionparam">
+ <attribute name="noEscape">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="commandButton">
+ <attribute name="image">
+ <proposal type="file">
+ <param name="extensions" value="%image%" />
+ <param name="pathType" value="absolute" />
+ <param name="pathAddition"
+ value="#{facesContext.externalContext.requestContextPath}" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="commandLink">
+ <attribute name="shape">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="rect" />
+ <param value="circle" />
+ <param value="poly" />
+ </proposal>
+ </attribute>
+ <attribute name="value" required="true" />
+ </component>
+ <component body-content="allowed" name="form">
+ <attribute name="ajaxSubmit">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component body-content="allowed" name="htmlCommandLink">
+ <attribute name="shape">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="rect" />
+ <param value="circle" />
+ <param value="poly" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="include">
+ <attribute name="keepTransient">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="block" />
+ <param value="inline" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="keepAlive">
+ <attribute name="ajaxOnly">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="loadStyle">
+ <attribute name="media">
+ <proposal type="enumeration">
+ <param value="all" />
+ <param value="screen" />
+ <param value="print" />
+ <param value="projection" />
+ <param value="braille" />
+ <param value="speech" />
+ </proposal>
+ </attribute>
+ <attribute name="src" required="true" />
+ </component>
+ <component name="log">
+ <attribute name="level">
+ <proposal type="enumeration">
+ <param value="FATAL" />
+ <param value="ERROR" />
+ <param value="WARN" />
+ <param value="INFO" />
+ <param value="DEBUG" />
+ <param value="ALL" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="mediaOutput">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="bottom" />
+ <param value="middle" />
+ <param value="top" />
+ </proposal>
+ </attribute>
+ <attribute name="cacheable">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="session">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="shape">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="rect" />
+ <param value="circle" />
+ <param value="poly" />
+ </proposal>
+ </attribute>
+ </component>
+ <component body-content="allowed" name="outputPanel">
+ <attribute name="keepTransient">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="block" />
+ <param value="inline" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="queue">
+ <attribute name="sizeExceededBehavior">
+ <proposal type="enumeration">
+ <param value="dropNext" />
+ <param value="dropNew" />
+ <param value="fireNext" />
+ <param value="fireNew" />
+ </proposal>
+ </attribute>
+ </component>
+ <component body-content="allowed" name="region">
+ <attribute name="renderRegionOnly">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component body-content="allowed" name="status">
+ <attribute name="forceId">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="block" />
+ <param value="inline" />
+ </proposal>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Ajax4jsf.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml 2009-06-02 22:18:23 UTC (rev 15660)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
+<tag-lib defaultPrefix="f">
+ <component closeTag="true" name="convertDateTime">
+ <attribute name="dateStyle" required="false">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="short" />
+ <param value="medium" />
+ <param value="long" />
+ <param value="full" />
+ </proposal>
+ </attribute>
+ <attribute name="timeStyle" required="false">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="short" />
+ <param value="medium" />
+ <param value="long" />
+ <param value="full" />
+ </proposal>
+ </attribute>
+ <attribute name="type" required="false">
+ <proposal type="enumeration">
+ <param value="date" />
+ <param value="time" />
+ <param value="both" />
+ </proposal>
+ </attribute>
+ </component>
+ <component closeTag="true" name="convertNumber">
+ <attribute name="groupingUsed" required="false">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="integerOnly" required="false">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="type" required="false">
+ <proposal type="enumeration">
+ <param value="number" />
+ <param value="currency" />
+ <param value="percentage" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="selectItem">
+ <attribute name="itemDisabled" required="false">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfCore.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfHtmlBasic.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfHtmlBasic.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfHtmlBasic.xml 2009-06-02 22:18:23 UTC (rev 15660)
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
+<tag-lib defaultPrefix="h">
+ <component closeTag="true" name="commandButton">
+ <attribute name="action" required="true" />
+ <attribute name="value" required="true" />
+ <attribute name="image">
+ <proposal type="file">
+ <param name="extensions" value="%image%" />
+ <param name="pathType" value="absolute" />
+ <param name="pathAddition"
+ value="#{facesContext.externalContext.requestContextPath}" />
+ </proposal>
+ </attribute>
+ <attribute name="type" required="false">
+ <proposal type="enumeration">
+ <param value="submit" />
+ <param value="reset" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="commandLink">
+ <attribute name="action" required="true" />
+ <attribute name="value" required="true" />
+ <attribute name="shape">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="rect" />
+ <param value="circle" />
+ <param value="poly" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component name="dataTable">
+ <attribute name="frame">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="above" />
+ <param value="below" />
+ <param value="hsides" />
+ <param value="vsides" />
+ <param value="lhs" />
+ <param value="rhs" />
+ <param value="box" />
+ <param value="border" />
+ </proposal>
+ </attribute>
+ <attribute name="rules">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="groups" />
+ <param value="rows" />
+ <param value="cols" />
+ <param value="all" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="graphicImage">
+ <attribute name="url">
+ <proposal type="file">
+ <param name="extensions" value="%image%" />
+ </proposal>
+ </attribute>
+ <attribute name="value" required="true">
+ <proposal type="file">
+ <param name="extensions" value="%image%" />
+ </proposal>
+ </attribute>
+ <attribute name="ismap">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="inputHidden">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component closeTag="true" name="inputSecret">
+ <attribute name="value" required="true" />
+ <attribute name="redisplay">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="inputText">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component closeTag="true" name="inputTextarea">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component closeTag="true" name="message">
+ <attribute name="showDetail">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showSummary">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="tooltip">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="messages">
+ <attribute name="globalOnly">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showDetail">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showSummary">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="tooltip">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="horizontal" />
+ <param value="vertical" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="outputFormat">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component closeTag="true" name="outputLabel">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="outputLink">
+ <attribute name="shape">
+ <proposal type="enumeration">
+ <param value="default" />
+ <param value="rect" />
+ <param value="circle" />
+ <param value="poly" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="outputText">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="panelGrid">
+ <attribute name="frame">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="above" />
+ <param value="below" />
+ <param value="hsides" />
+ <param value="vsides" />
+ <param value="lhs" />
+ <param value="rhs" />
+ <param value="box" />
+ <param value="border" />
+ </proposal>
+ </attribute>
+ <attribute name="rules">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="groups" />
+ <param value="rows" />
+ <param value="cols" />
+ <param value="all" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component name="panelGroup">
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="horizontal" />
+ <param value="vertical" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component closeTag="true" name="selectBooleanCheckbox">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="selectManyCheckbox">
+ <attribute name="value" required="true" />
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="pageDirection" />
+ <param value="lineDirection" />
+ </proposal>
+ </attribute>
+ </component>
+
+ <component name="selectManyListbox">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="selectManyMenu">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="selectOneListbox">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="selectOneMenu">
+ <attribute name="value" required="true" />
+ </component>
+
+ <component name="selectOneRadio">
+ <attribute name="value" required="true" />
+ <attribute name="layout">
+ <proposal type="enumeration">
+ <param value="pageDirection" />
+ <param value="lineDirection" />
+ </proposal>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/JsfHtmlBasic.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Richfaces.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Richfaces.xml (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Richfaces.xml 2009-06-02 22:18:23 UTC (rev 15660)
@@ -0,0 +1,923 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
+<tag-lib defaultPrefix="rich">
+ <customExtension>
+ <attribute name="disableDefault">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="ignoreDupResponses">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="limitToList">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="bypassUpdates">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="ajaxSingle">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="limitToList">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </customExtension>
+ <component name="extendedDataTable">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ <attribute name="frame">
+ <proposal type="enumeration">
+ <param value="void" />
+ <param value="above" />
+ <param value="below" />
+ <param value="hsides" />
+ <param value="lhs" />
+ <param value="rhs" />
+ <param value="vsides" />
+ <param value="box" />
+ <param value="lhs" />
+ <param value="border" />
+ </proposal>
+ </attribute>
+ <attribute name="sortMode">
+ <proposal type="enumeration">
+ <param value="single" />
+ <param value="multi" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="hotKey">
+ <attribute name="checkParent">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="disableInInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="disableInInputTypes">
+ <proposal type="enumeration">
+ <param value="buttons" />
+ <param value="texts" />
+ <param value="all" />
+ </proposal>
+ </attribute>
+ <attribute name="timing">
+ <proposal type="enumeration">
+ <param value="immediate" />
+ <param value="onload" />
+ <param value="onregistercall" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="calendar">
+ <attribute name="direction">
+ <proposal type="enumeration">
+ <param value="top-right" />
+ <param value="top-left" />
+ <param value="bottom-right" />
+ <param value="bottom-left" />
+ <param value="auto" />
+ </proposal>
+ </attribute>
+ <attribute name="enableManualInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="mode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="client" />
+ </proposal>
+ </attribute>
+ <attribute name="showApplyButton">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showFooter">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showHeader">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showWeekDaysBar">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showWeeksBar">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="column">
+ <attribute name="selfSorted">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="sortOrder">
+ <proposal type="enumeration">
+ <param value="ASCENDING" />
+ <param value="DESCENDING" />
+ <param value="UNSORTED" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="columnGroup">
+ <attribute name="selfSorted">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="sortOrder">
+ <proposal type="enumeration">
+ <param value="ASCENDING" />
+ <param value="DESCENDING" />
+ <param value="UNSORTED" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="columns">
+ <attribute name="end">
+ <proposal type="enumeration">
+ <param value="LTR" />
+ <param value="RTL" />
+ </proposal>
+ </attribute>
+ <attribute name="selfSorted">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="sortOrder">
+ <proposal type="enumeration">
+ <param value="ASCENDING" />
+ <param value="DESCENDING" />
+ <param value="UNSORTED" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="comboBox">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ <param value="justify" />
+ </proposal>
+ </attribute>
+ <attribute name="enableManualInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="contextMenu">
+ <attribute name="attached">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="submitMode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="dataGrid">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ <attribute name="frame">
+ <proposal type="enumeration">
+ <param value="void" />
+ <param value="above" />
+ <param value="below" />
+ <param value="hsides" />
+ <param value="lhs" />
+ <param value="rhs" />
+ <param value="vsides" />
+ <param value="box" />
+ <param value="lhs" />
+ <param value="border" />
+ </proposal>
+ </attribute>
+ <attribute name="rules">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="groups" />
+ <param value="rows" />
+ <param value="cols" />
+ <param value="all" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="dataTable">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ <param value="justify" />
+ </proposal>
+ </attribute>
+ <attribute name="frame">
+ <proposal type="enumeration">
+ <param value="void" />
+ <param value="above" />
+ <param value="below" />
+ <param value="hsides" />
+ <param value="lhs" />
+ <param value="rhs" />
+ <param value="vsides" />
+ <param value="box" />
+ <param value="lhs" />
+ <param value="border" />
+ </proposal>
+ </attribute>
+ <attribute name="rules">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="groups" />
+ <param value="rows" />
+ <param value="cols" />
+ <param value="all" />
+ </proposal>
+ </attribute>
+ <attribute name="sortMode">
+ <proposal type="enumeration">
+ <param value="single" />
+ <param value="multi" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="datascroller">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ <attribute name="boundaryControls">
+ <proposal type="enumeration">
+ <param value="show" />
+ <param value="hide" />
+ <param value="auto" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="dropDownMenu">
+ <attribute name="direction">
+ <proposal type="enumeration">
+ <param value="top-right" />
+ <param value="top-left" />
+ <param value="bottom-right" />
+ <param value="bottom-left" />
+ <param value="auto" />
+ </proposal>
+ </attribute>
+ <attribute name="submitMode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="editor">
+ <attribute name="autoResize">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="useSeamText">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="effect">
+ <attribute name="type">
+ <proposal type="enumeration">
+ <param value="Fade" />
+ <param value="Blind" />
+ <param value="BlindUp" />
+ <param value="Opacity" />
+ <param value="SwitchOff" />
+ <param value="DropOut" />
+ <param value="Highlight" />
+ <param value="Fold" />
+ <param value="Squish" />
+ <param value="Appear" />
+ <param value="BlindDown" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="gmap">
+ <attribute name="showGLargeMapControl">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showGMapTypeControl">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showGScaleControl">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="inplaceInput">
+ <attribute name="showControls">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="validator">
+ <proposal type="beanMethodBySignature">
+ <param name="returnType" value="void" />
+ <param name="paramType" value="javax.faces.context.FacesContext" />
+ <param name="paramType" value="javax.faces.component.UIComponent" />
+ <param name="paramType" value="java.lang.Object" />
+ </proposal>
+ </attribute>
+ <attribute name="valueChangeListener">
+ <proposal type="beanMethodBySignature">
+ <param name="returnType" value="void" />
+ <param name="paramType" value="javax.faces.event.ValueChangeEvent" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="inplaceSelect">
+ <attribute name="showControls">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="validator">
+ <proposal type="beanMethodBySignature">
+ <param name="returnType" value="void" />
+ <param name="paramType" value="javax.faces.context.FacesContext" />
+ <param name="paramType" value="javax.faces.component.UIComponent" />
+ <param name="paramType" value="java.lang.Object" />
+ </proposal>
+ </attribute>
+ <attribute name="valueChangeListener">
+ <proposal type="beanMethodBySignature">
+ <param name="returnType" value="void" />
+ <param name="paramType" value="javax.faces.event.ValueChangeEvent" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="inputNumberSlider">
+ <attribute name="orientation">
+ <proposal type="enumeration">
+ <param value="vertical" />
+ <param value="horizontal" />
+ </proposal>
+ </attribute>
+ <attribute name="enableManualInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showBoundaryValues">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showToolTip">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="inputNumberSpinner">
+ <attribute name="enableManualInput">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="jQuery">
+ <attribute name="query" required="true" />
+ <attribute name="timing">
+ <proposal type="enumeration">
+ <param value="immediate" />
+ <param value="onload" />
+ <param value="onJScall" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="listShuttle">
+ <attribute name="showButtonLabels">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="sourceRequired">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="switchByClick">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="menuGroup">
+ <attribute name="direction">
+ <proposal type="enumeration">
+ <param value="right" />
+ <param value="left" />
+ <param value="auto" />
+ <param value="left-down" />
+ <param value="left-up" />
+ <param value="right-down" />
+ <param value="right-up" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="menuItem">
+ <attribute name="submitMode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="message">
+ <attribute name="showSummary">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="messages">
+ <attribute name="showDetail">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="showSummary">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="modalPanel">
+ <attribute name="showWhenRendered">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="orderingList">
+ <attribute name="showButtonLabels">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="paint2D">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="bottom" />
+ <param value="middle" />
+ <param value="top" />
+ <param value="left" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="panelMenu">
+ <attribute name="expandMode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ <attribute name="expandSingle">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="mode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="node" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="panelMenuGroup">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ <param value="justify" />
+ </proposal>
+ </attribute>
+ <attribute name="expandMode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ <attribute name="expanded">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="panelMenuItem">
+ <attribute name="mode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="server" />
+ <param value="node" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="pickList">
+ <attribute name="showButtonsLabel">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="switchByClick">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="progressBar">
+ <attribute name="mode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="client" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="recursiveTreeNodesAdaptor">
+ <attribute name="included">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="includedNode">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="includedRoot">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="scrollableDataTable">
+ <attribute name="bypassUpdates">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="hideWhenScrolling">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="sortMode">
+ <proposal type="enumeration">
+ <param value="single" />
+ <param value="multi" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="separator">
+ <attribute name="align">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="center" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ <attribute name="lineType">
+ <proposal type="enumeration">
+ <param value="beveled" />
+ <param value="dotted" />
+ <param value="dashed" />
+ <param value="double" />
+ <param value="solid" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="simpleTogglePanel">
+ <attribute name="opened">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="switchType">
+ <proposal type="enumeration">
+ <param value="client" />
+ <param value="server" />
+ <param value="ajax" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="subTable">
+ <attribute name="selfSorted">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="sortMode">
+ <proposal type="enumeration">
+ <param value="single" />
+ <param value="multi" />
+ </proposal>
+ </attribute>
+ <attribute name="sortOrder">
+ <proposal type="enumeration">
+ <param value="ASCENDING" />
+ <param value="DESCENDING" />
+ <param value="UNSORTED" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="suggestionbox">
+ <attribute name="frame">
+ <proposal type="enumeration">
+ <param value="void" />
+ <param value="above" />
+ <param value="below" />
+ <param value="hsides" />
+ <param value="lhs" />
+ <param value="rhs" />
+ <param value="vsides" />
+ <param value="box" />
+ <param value="lhs" />
+ <param value="border" />
+ </proposal>
+ </attribute>
+ <attribute name="rules">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="groups" />
+ <param value="rows" />
+ <param value="cols" />
+ <param value="all" />
+ </proposal>
+ </attribute>
+ <attribute name="usingSuggestObjects">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="width" required="true" />
+ </component>
+ <component name="tab">
+ <attribute name="switchType">
+ <proposal type="enumeration">
+ <param value="client" />
+ <param value="server" />
+ <param value="ajax" />
+ <param value="page" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="tabPanel">
+ <attribute name="headerAlignment">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ <attribute name="switchType">
+ <proposal type="enumeration">
+ <param value="client" />
+ <param value="server" />
+ <param value="ajax" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="togglePanel">
+ <attribute name="switchType">
+ <proposal type="enumeration">
+ <param value="client" />
+ <param value="server" />
+ <param value="ajax" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="toolBar">
+ <attribute name="itemSeparator">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="line" />
+ <param value="square" />
+ <param value="disc" />
+ <param value="grid" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="toolBarGroup">
+ <attribute name="itemSeparator">
+ <proposal type="enumeration">
+ <param value="none" />
+ <param value="line" />
+ <param value="square" />
+ <param value="disc" />
+ <param value="grid" />
+ </proposal>
+ </attribute>
+ <attribute name="location">
+ <proposal type="enumeration">
+ <param value="left" />
+ <param value="right" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="toolTip">
+ <attribute name="attached">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="direction">
+ <proposal type="enumeration">
+ <param value="top-right" />
+ <param value="top-left" />
+ <param value="bottom-right" />
+ <param value="bottom-left" />
+ <param value="auto" />
+ </proposal>
+ </attribute>
+ <attribute name="followMouse">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="mode">
+ <proposal type="enumeration">
+ <param value="ajax" />
+ <param value="client" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="tree">
+ <attribute name="ajaxSubmitSelection">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="preserveDataInRequest">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="preserveModel">
+ <proposal type="enumeration">
+ <param value="state" />
+ <param value="request" />
+ <param value="none" />
+ </proposal>
+ </attribute>
+ <attribute name="showConnectingLines">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="switchType">
+ <proposal type="enumeration">
+ <param value="client" />
+ <param value="server" />
+ <param value="ajax" />
+ </proposal>
+ </attribute>
+ <attribute name="toggleOnClick">
+ <proposal type="enumeration">
+ <param value="false" />
+ <param value="true" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="treeNode">
+ <attribute name="ajaxSubmitSelection">
+ <proposal type="enumeration">
+ <param value="inherit" />
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Richfaces.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/componentExtension.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/componentExtension.xml 2009-06-02 18:48:18 UTC (rev 15659)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/componentExtension.xml 2009-06-02 22:18:23 UTC (rev 15660)
@@ -1,55 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE customExtension PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN" "http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.too...">
<customExtension>
- <attribute name="action">
- <proposal type="viewActions"/>
- </attribute>
- <attribute name="immediate">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
- <attribute name="rendered">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
- <attribute name="dir">
- <proposal type="enumeration">
- <param value="LTR"/>
- <param value="RTL"/>
- </proposal>
- </attribute>
- <attribute name="disabled">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
- <attribute name="readonly">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
- <attribute name="required">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
- <attribute name="readonly">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
- <attribute name="escape">
- <proposal type="enumeration">
- <param value="true"/>
- <param value="false"/>
- </proposal>
- </attribute>
+ <attribute name="action">
+ <proposal type="viewActions" />
+ </attribute>
+ <attribute name="immediate">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="rendered">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="dir">
+ <proposal type="enumeration">
+ <param value="LTR" />
+ <param value="RTL" />
+ </proposal>
+ </attribute>
+ <attribute name="disabled">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="enabled">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="readonly">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="required">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ <attribute name="escape">
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
</customExtension>
\ No newline at end of file
16 years, 4 months