JBoss Tools SVN: r17560 - in trunk/cdi/plugins/org.jboss.tools.cdi.ui: .settings and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:28:54 -0400 (Mon, 14 Sep 2009)
New Revision: 17560
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.ui/.classpath
trunk/cdi/plugins/org.jboss.tools.cdi.ui/.project
trunk/cdi/plugins/org.jboss.tools.cdi.ui/.settings/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF
trunk/cdi/plugins/org.jboss.tools.cdi.ui/build.properties
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/
trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java
Log:
Share project "org.jboss.tools.cdi.ui" into "https://svn.jboss.org/repos/jbosstools"
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/.classpath
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/.classpath (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/.classpath 2009-09-14 19:28:54 UTC (rev 17560)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/.project
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/.project (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/.project 2009-09-14 19:28:54 UTC (rev 17560)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.ui</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/.settings/org.eclipse.jdt.core.prefs 2009-09-14 19:28:54 UTC (rev 17560)
@@ -0,0 +1,8 @@
+#Mon Sep 14 23:26:36 MSD 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF 2009-09-14 19:28:54 UTC (rev 17560)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Context and Dependency Injection UI
+Bundle-SymbolicName: org.jboss.tools.cdi.ui
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.cdi.ui.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.cdi.core;bundle-version="1.0.0"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/build.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/build.properties (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/build.properties 2009-09-14 19:28:54 UTC (rev 17560)
@@ -0,0 +1,8 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
+src.includes = src/,\
+ build.properties,\
+ META-INF/,\
+ .settings/
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java 2009-09-14 19:28:54 UTC (rev 17560)
@@ -0,0 +1,50 @@
+package org.jboss.tools.cdi.ui;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.cdi.ui";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.ui/src/org/jboss/tools/cdi/ui/Activator.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months
JBoss Tools SVN: r17558 - trunk/cdi/plugins/org.jboss.tools.cdi.core.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:25:29 -0400 (Mon, 14 Sep 2009)
New Revision: 17558
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
Log:
Share project "org.jboss.tools.cdi.core" into "https://svn.jboss.org/repos/jbosstools"
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties 2009-09-14 19:24:15 UTC (rev 17557)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties 2009-09-14 19:25:29 UTC (rev 17558)
@@ -2,6 +2,5 @@
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
- .,\
- OSGI-INF/l10n/bundle.properties
+ .
src.includes = src/
14 years, 9 months
JBoss Tools SVN: r17557 - in trunk/cdi/plugins/org.jboss.tools.cdi.core: .settings and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-09-14 15:24:15 -0400 (Mon, 14 Sep 2009)
New Revision: 17557
Added:
trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath
trunk/cdi/plugins/org.jboss.tools.cdi.core/.project
trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/
trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/
trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
Log:
Share project "org.jboss.tools.cdi.core" into "https://svn.jboss.org/repos/jbosstools"
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath 2009-09-14 19:24:15 UTC (rev 17557)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/.project
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/.project (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/.project 2009-09-14 19:24:15 UTC (rev 17557)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs 2009-09-14 19:24:15 UTC (rev 17557)
@@ -0,0 +1,8 @@
+#Mon Sep 14 23:19:30 MSD 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF 2009-09-14 19:24:15 UTC (rev 17557)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.jboss.tools.cdi.core
+Bundle-Version: 1.0.0
+Bundle-Activator: org.jboss.tools.cdi.core.CDICorePlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties 2009-09-14 19:24:15 UTC (rev 17557)
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ OSGI-INF/l10n/bundle.properties
+src.includes = src/
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java (rev 0)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java 2009-09-14 19:24:15 UTC (rev 17557)
@@ -0,0 +1,61 @@
+package org.jboss.tools.cdi.core;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class CDICorePlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.cdi.core";
+
+ // The shared instance
+ private static CDICorePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public CDICorePlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static CDICorePlugin getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given
+ * plug-in relative path
+ *
+ * @param path the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
Property changes on: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/core/CDICorePlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months
JBoss Tools SVN: r17555 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-09-14 13:21:34 -0400 (Mon, 14 Sep 2009)
New Revision: 17555
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Hibernate3FormLayoutData.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2607
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Hibernate3FormLayoutData.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Hibernate3FormLayoutData.java 2009-09-14 17:21:07 UTC (rev 17554)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/Hibernate3FormLayoutData.java 2009-09-14 17:21:34 UTC (rev 17555)
@@ -10,14 +10,19 @@
******************************************************************************/
package org.jboss.tools.hibernate.ui.xml.form;
+import java.util.ArrayList;
import java.util.Collections;
+import java.util.List;
import java.util.Map;
+import org.jboss.tools.common.meta.XModelEntity;
+import org.jboss.tools.common.meta.impl.XModelMetaDataImpl;
import org.jboss.tools.common.model.ui.forms.ArrayToMap;
import org.jboss.tools.common.model.ui.forms.FormAttributeData;
import org.jboss.tools.common.model.ui.forms.FormData;
import org.jboss.tools.common.model.ui.forms.IFormData;
import org.jboss.tools.common.model.ui.forms.IFormLayoutData;
+import org.jboss.tools.common.model.ui.forms.ModelFormLayoutData;
import org.jboss.tools.common.model.util.ClassLoaderUtil;
public class Hibernate3FormLayoutData implements IFormLayoutData {
@@ -146,7 +151,7 @@
};
- private static Map FORM_LAYOUT_DEFINITION_MAP = Collections.unmodifiableMap(new ArrayToMap(FORM_LAYOUT_DEFINITIONS));
+ private static Map FORM_LAYOUT_DEFINITION_MAP = Collections.synchronizedMap(new ArrayToMap(FORM_LAYOUT_DEFINITIONS));
static Hibernate3FormLayoutData INSTANCE = new Hibernate3FormLayoutData();
@@ -157,7 +162,36 @@
public Hibernate3FormLayoutData() {}
public IFormData getFormData(String entityName) {
- return (IFormData)FORM_LAYOUT_DEFINITION_MAP.get(entityName);
+ IFormData data = (IFormData)FORM_LAYOUT_DEFINITION_MAP.get(entityName);
+ if(data == null) {
+ data = generateDefaultFormData(entityName);
+ }
+ return data;
}
+
+ private IFormData generateDefaultFormData(String entityName) {
+ IFormData data = null;
+ XModelEntity entity = XModelMetaDataImpl.getInstance().getEntity(entityName);
+ if(entity != null) {
+ data = generateDefaultFormData(entity);
+ }
+ if(data != null) {
+ FORM_LAYOUT_DEFINITION_MAP.put(entityName, data);
+ }
+ return data;
+ }
+
+ private IFormData generateDefaultFormData(XModelEntity entity) {
+ String entityName = entity.getName();
+ List<IFormData> list = new ArrayList<IFormData>();
+ IFormData g = ModelFormLayoutData.createGeneralFormData(entity);
+ if(g != null) list.add(g);
+ IFormData a = ModelFormLayoutData.createAdvancedFormData(entityName);
+ if(a != null) list.add(a);
+ IFormData[] ds = list.toArray(new IFormData[0]);
+ IFormData data = new FormData(entityName, new String[]{null}, ds);
+ return data;
+ }
+
}
14 years, 9 months
JBoss Tools SVN: r17554 - trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-09-14 13:21:07 -0400 (Mon, 14 Sep 2009)
New Revision: 17554
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-2607
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta 2009-09-14 16:39:05 UTC (rev 17553)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta 2009-09-14 17:21:07 UTC (rev 17554)
@@ -1072,7 +1072,8 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%ComplexProperty%" name="HibConfig3ObjectConnection">
+ <XModelEntity ImplementingClass="%ComplexProperty%"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.hibernate.ui.xml.form.Hibernate3FormLayoutData" name="HibConfig3ObjectConnection">
<XChildrenEntities/>
<XEntityRenderer>
<ICONS>
@@ -1088,25 +1089,14 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection" name="connection"/>
- <XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.autocommit" name="autocommit">
- <Constraint loader="List">
- <value/>
- <value name="true"/>
- <value name="false"/>
- </Constraint>
- <Editor name="List"/>
- </XModelAttribute>
- <XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.datasource" name="datasource"/>
- <XModelAttribute
PROPERTIES="category=general;h_property=hibernate.connection.driver_class" name="driver class">
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.isolation" name="isolation"/>
+ PROPERTIES="category=general;h_property=hibernate.connection.url" name="url"/>
<XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.connection.username" name="username"/>
+ <XModelAttribute
PROPERTIES="category=general;h_property=hibernate.connection.password" name="password"/>
<XModelAttribute
PROPERTIES="category=general;h_property=hibernate.connection.pool_size" name="pool size">
@@ -1116,11 +1106,26 @@
<Editor name="Int"/>
</XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.provider_class" name="provider class">
+ PROPERTIES="category=advanced;h_property=hibernate.connection" name="connection"/>
+ <XModelAttribute
+ PROPERTIES="category=advanced;h_property=hibernate.connection.autocommit" name="autocommit">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=advanced;h_property=hibernate.connection.datasource" name="datasource"/>
+ <XModelAttribute
+ PROPERTIES="category=advanced;h_property=hibernate.connection.isolation" name="isolation"/>
+ <XModelAttribute
+ PROPERTIES="category=advanced;h_property=hibernate.connection.provider_class" name="provider class">
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.release_mode" name="release mode">
+ PROPERTIES="category=advanced;h_property=hibernate.connection.release_mode" name="release mode">
<Constraint loader="List">
<value/>
<value name="on_close"/>
@@ -1130,10 +1135,92 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ComplexProperty%" name="HibConfig3ObjectHibernate">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.hibernate.folder" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="Hibernate" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;category=general"
+ default="Hibernate" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.url" name="url"/>
+ PROPERTIES="category=general;h_property=hibernate.dialect" name="dialect">
+ <Constraint loader="ListString">
+ <value name="org.hibernate.dialect.DB2Dialect"/>
+ <value name="org.hibernate.dialect.DB2400Dialect"/>
+ <value name="org.hibernate.dialect.DB2390Dialect"/>
+ <value name="org.hibernate.dialect.PostgreSQLDialect"/>
+ <value name="org.hibernate.dialect.MySQLDialect"/>
+ <value name="org.hibernate.dialect.MySQLInnoDBDialect"/>
+ <value name="org.hibernate.dialect.MySQLMyISAMDialect"/>
+ <value name="org.hibernate.dialect.OracleDialect"/>
+ <value name="org.hibernate.dialect.Oracle9iDialect"/>
+ <value name="org.hibernate.dialect.Oracle10gDialect"/>
+ <value name="org.hibernate.dialect.SybaseDialect"/>
+ <value name="org.hibernate.dialect.SybaseAnywhereDialect"/>
+ <value name="org.hibernate.dialect.SQLServerDialect"/>
+ <value name="org.hibernate.dialect.SAPDBDialect"/>
+ <value name="org.hibernate.dialect.InformixDialect"/>
+ <value name="org.hibernate.dialect.HSQLDialect"/>
+ <value name="org.hibernate.dialect.IngresDialect"/>
+ <value name="org.hibernate.dialect.ProgressDialect"/>
+ <value name="org.hibernate.dialect.MckoiDialect"/>
+ <value name="org.hibernate.dialect.InterbaseDialect"/>
+ <value name="org.hibernate.dialect.PointbaseDialect"/>
+ <value name="org.hibernate.dialect.FrontbaseDialect"/>
+ <value name="org.hibernate.dialect.FirebirdDialect"/>
+ </Constraint>
+ <Editor name="ListString"/>
+ </XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.username" name="username"/>
+ PROPERTIES="category=general;h_property=hibernate.show_sql" name="show sql">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.use_sql_comments" name="use sql comments">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.format_sql" name="format sql">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions"/>
@@ -1273,15 +1360,169 @@
</XActionItem>
<XDependencies/>
</XModelEntity>
+ <XModelEntity ImplementingClass="%ComplexProperty%" name="HibConfig3ObjectProxool">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.hibernate.folder" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="Proxool" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;category=general"
+ default="Proxool" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.proxool" name="proxool"/>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.proxool.existing_pool" name="existing pool"/>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.proxool.pool_alias" name="pool alias"/>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.proxool.properties" name="properties"/>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.proxool.xml" name="xml"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ComplexProperty%" name="HibConfig3ObjectQuery">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.hibernate.folder" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="Query" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;category=general"
+ default="Query" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.query.factory_class" name="factory class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.query.jpaql_strict_compliance" name="jpaql strict compliance">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.query.startup_check" name="startup check">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.query.substitutions" name="substitutions"/>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
+ <XModelEntity ImplementingClass="%ComplexProperty%" name="HibConfig3ObjectTransaction">
+ <XChildrenEntities/>
+ <XEntityRenderer>
+ <ICONS>
+ <ICON info="main.hibernate.folder" type="main"/>
+ </ICONS>
+ </XEntityRenderer>
+ <XModelAttributes>
+ <XModelAttribute default="Transaction" loader="ElementType" name="element type">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute PROPERTIES="id=true;category=general"
+ default="Transaction" name="name" visibility="false" xmlname="name">
+ <Editor name="Uneditable"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.transaction.auto_close_session" name="auto close session">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.transaction.factory_class" name="factory class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.transaction.flush_before_completion" name="flush before completion">
+ <Constraint loader="List">
+ <value/>
+ <value name="true"/>
+ <value name="false"/>
+ </Constraint>
+ <Editor name="List"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="category=general;h_property=hibernate.transaction.manager_lookup_class" name="manager lookup class">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ </XModelAttributes>
+ <XActionItem kind="list">
+ <XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions"/>
+ <XActionItem ICON="action.empty" kind="list" name="Properties">
+ <XActionItem HandlerClassName="%Properties%" ICON="action.empty"
+ displayName="Properties..." kind="action" name="Properties"/>
+ </XActionItem>
+ <XActionItem ICON="action.delete" displayName="Delete" kind="list" name="DeleteActions">
+ <XActionItem BaseActionName="Delete" HandlerClassName="%Delete%"
+ ICON="action.delete" displayName="Delete" kind="action" name="Delete"/>
+ </XActionItem>
+ <XActionItem displayName="move" kind="list" name="MoveActions"/>
+ </XActionItem>
+ <XDependencies/>
+ </XModelEntity>
<XModelEntity ImplementingClass="%Hibernate3OrderedFolder%"
PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.hibernate.ui.xml.form.Hibernate3FormLayoutData" name="HibConfig3PropertiesFolder">
<XChildrenEntities>
+ <XChildEntity maxCount="1" name="HibConfig3ObjectConnection" required="yes"/>
+ <XChildEntity maxCount="1" name="HibConfig3ObjectHibernate" required="yes"/>
<XChildEntity maxCount="1" name="HibConfig3ObjectBytecode" required="yes"/>
<XChildEntity maxCount="1" name="HibConfig3ObjectC3P0" required="yes"/>
<XChildEntity maxCount="1" name="HibConfig3ObjectCache" required="yes"/>
- <XChildEntity maxCount="1" name="HibConfig3ObjectConnection" required="yes"/>
<XChildEntity maxCount="1" name="HibConfig3ObjectJDBC" required="yes"/>
<XChildEntity maxCount="1" name="HibConfig3ObjectJNDI" required="yes"/>
+ <XChildEntity maxCount="1" name="HibConfig3ObjectProxool" required="yes"/>
+ <XChildEntity maxCount="1" name="HibConfig3ObjectQuery" required="yes"/>
+ <XChildEntity maxCount="1" name="HibConfig3ObjectTransaction" required="yes"/>
<XChildEntity name="HibConfig3Property"/>
</XChildrenEntities>
<XEntityRenderer>
14 years, 9 months
JBoss Tools SVN: r17553 - in trunk/documentation/whatsnew: as and 6 other directories.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2009-09-14 12:39:05 -0400 (Mon, 14 Sep 2009)
New Revision: 17553
Added:
trunk/documentation/whatsnew/as/as-news-3.1.0.M3.html
trunk/documentation/whatsnew/core/core-news-3.1.0.M3.html
trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M3.html
trunk/documentation/whatsnew/images/build_project_archives_action.png
trunk/documentation/whatsnew/images/config_variable_in_filefilter.png
trunk/documentation/whatsnew/images/css_properties_perspective.png
trunk/documentation/whatsnew/images/default_fileset_for_servers.png
trunk/documentation/whatsnew/images/forid_like_codeassist.png
trunk/documentation/whatsnew/images/hc_pending_icon.png
trunk/documentation/whatsnew/images/hibernate_rulers_grid_snap2geometry.jpg
trunk/documentation/whatsnew/images/hibernatenamedquerydaliui.png
trunk/documentation/whatsnew/images/jbosslogo_server.png
trunk/documentation/whatsnew/images/maven_library_provider.png
trunk/documentation/whatsnew/images/new_hbm_xml_selection.png
trunk/documentation/whatsnew/images/properties_regular_expression.png
trunk/documentation/whatsnew/images/scrollable_toolbars.png
trunk/documentation/whatsnew/images/selectionbar_optimized.png
trunk/documentation/whatsnew/images/tagdocs.png
trunk/documentation/whatsnew/jst/jst-news-3.1.0.M3.html
trunk/documentation/whatsnew/maven/maven-news-1.0.0.M3.html
trunk/documentation/whatsnew/vpe/vpe-news-3.1.0.M3.html
Modified:
trunk/documentation/whatsnew/index.html
Log:
new and noteworthy for M3
Added: trunk/documentation/whatsnew/as/as-news-3.1.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/as/as-news-3.1.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/as/as-news-3.1.0.M3.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -0,0 +1,95 @@
+<html>
+
+<head>
+<link rel="stylesheet" href="../whatsnew.css">
+<title>JBoss AS Tools 2.1.0.M3 News</title>
+</head>
+
+<body>
+
+<h1>JBoss AS Tools 3.1.0.M3 - New and Noteworthy</h1>
+
+ <p align="right"><a href="../index.html">< Main Index</a> <a href="../hibernate/hibernate-news-3.3.0.M3.html">Hibernate Tools ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Server</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p align="right">
+ <b>Configure filesets for Servers</b></td>
+ <td valign="top">
+ <p>There is now a preference page for configuring default filesets for server types.</p>
+
+ <p><img src="../images/default_fileset_for_servers.png"/></p>
+
+ <p>This can be used to setup which files inside the server configuration you wish to have easy access from the Server view, i.e. define **/*-log4j.xml for JBoss servers if you want to easily access the logging configuration files.</p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-2534">Related jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p align="right">
+ <b>JBoss configuration Variable</b></td>
+ <td valign="top">
+ <p>You can now use <code>${jboss_config}</code> to refer to the selected JBoss Configuration to allow for portable filesets.</p>
+ <p><img src="../images/config_variable_in_filefilter.png"/></p>
+
+ <p>Since this variable is an Eclipse Variable it can even be
+ used in launch configurations and similar places. Here a
+ specific server/runtime needs to be named,
+ i.e. <code>${jboss_config:JMyBoss4}</code>.
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4680">Related jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p align="right">
+ <b>Updated icons/images to new JBoss logo</b></td>
+ <td valign="top">
+ <p>The new wizards for Server types now uses the new JBoss logo</p>
+
+ <p><img src="../images/jbosslogo_server.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-4709">Related jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/core/core-news-3.1.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/core/core-news-3.1.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/core/core-news-3.1.0.M3.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>What's New</title>
+</head>
+<body>
+<h1>What's New Core/General</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../jst/jst-news-3.1.0.M3.html">JST Tools ></a></p>
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Project Archives</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Nested archives now supports incremental updates</b></td>
+ <td valign="top">
+ <p>Previously nested project archives were possible to define, but updates in a nested archive were not always happening.</p>
+
+ <p>This is now fixed allowing you to have structures like the following:</p>
+
+ <p>
+ <verbatim>
+ x.jar
+ ear/x.ear
+ ear/x.ear/x.jar
+ </verbatim>
+ <p>And when updating x.jar in the top-level the ear project's version of x.jar will now also be updated.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4249">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Build Project Archive Action</b></td>
+ <td valign="top">
+ <p>There is now a "Build Project Archive" action which users can configure a hotkey for if they wish.</p>
+ <p>When invoked the project for the currently selected resource will be built.</p>
+ <p><img src="../images/build_project_archives_action.png"/></p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-2452">Related Jira</a></small></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Properties editor</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Filter/Search Regular Expression</b></td>
+ <td valign="top">
+ <p>The JBoss Tools properties editor's filter field now supports regular expressions.</p>
+
+ <p><img src="../images/properties_regular_expression.png"/></p>
+
+ <p>By default the Name and Value fields are just substring seach, but if you enable "Expressions" you can use regular expressions.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4576">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/hibernate/hibernate-news-3.3.0.M3.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>Hibernate tools 3.3.0.M3 What's New</title>
+</head>
+<body>
+<h1>Hibernate tools 3.3.0.M3 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../maven/maven-news-1.0.0.M3.html">Maven Tools ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Dali Integration</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Validation via NamingStrategy</b></td>
+ <td valign="top">
+ <p>When using Hibernate Platform with Dali (JPA Tooling) we now validate through the chosen NamingStrategy (if none chosen the default NamingStrategy is used).</p>
+
+ <p>This allows those users who have custom naming strategies in place to utilize the nice Dali JPA validation of wether the reference table and column names are enabled.</p>
+
+ <p>Note: Remember for Dali validation to work you have to enable the JPA facet on your project and have the chosen DTP connection be connected to the database. If not, Dali will not perform any validation!</p>
+
+ <p>In case you do not want the NamingStrategy to be used, i.e. your NamingStrategy requires custom setup or have dependencies not available during design time you can disable the use of it on the Hibernate project preference page.</p>
+<p></p>
+
+
+ <p><small>Releated jiras: <a href="http://jira.jboss.org/jira/browse/JBIDE-4761">1</a>, <a href="http://jira.jboss.org/jira/browse/JBIDE-4803">2</a></p>
+
+ </td>
+ </tr>
+
+
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Hibernate specific annotations</b></td>
+ <td valign="top">
+ <p>The JPA UI and validation has been extended to cover a few more Hibernate specific annotations.</p>
+
+ <ul>
+ <li><code>@GenericGenerators</code> (before only supported the singular <code>@GenericGenerator</code></li>
+ <li><code>@DiscriminatorFormula</code></li>
+ <li><code>@NamedQuery</code></li>
+ <li><code>@NamedNativeQuery</code></li>
+ <li><code>@Embeddable</code> with associations (not allowed in JPA spec, but ok in Hibernate)</li>
+</ul>
+
+ <p>This means that these annotations now have UI support and if possible also validated in Dali.</p>
+
+ <p>This screenshot shows a @NamedQuery being edited/shown in the UI.</p>
+
+ <p><img src="../images/hibernatenamedquerydaliui.png"/></p>
+
+<p></p>
+
+
+ <p><small>Releated jiras: <a href="http://jira.jboss.org/jira/browse/JBIDE-4521">1</a>, <a href="http://jira.jboss.org/jira/browse/JBIDE-4649">2</a>,<a href="http://jira.jboss.org/jira/browse/JBIDE-4613">3</a>, <a href="http://jira.jboss.org/jira/browse/JBIDE-4527">4</a>, <a href="http://jira.jboss.org/jira/browse/JBIDE-4716">5</a></p>
+
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Wizards</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>hbm.xml Wizard now generates mapping for object graph</b></td>
+ <td valign="top">
+ <p>When using New Hibernate Mapping wizard the generated hbm.xml now contains basic mappings for properties and associations.</p>
+
+<p><img src="../images/new_hbm_xml_selection.png"/></p>
+
+<p>You can select a package or multiple individual classes and then from there the wizard will traverse the object graph and generate mappings for the full object graph.</p>
+ <p><small><a href="http://jira.jboss.org/jira/browse/JBIDE-3457">Related jira</a></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Views</h3>
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Pending... node</b></td>
+ <td valign="top">
+ <p>Creation/opening of a Console Configuration is now visualized with a Pending... node until it completes.</p>
+
+<p><img src="../images/hc_pending_icon.png"/></p>
+
+ <p><small><a href="http://jira.jboss.org/jira/browse/JBIDE-4622">Related jira</a></p>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="right"><a name="itemname3" id="itemname3"></a><b>Mapping Diagram</b></td>
+ <td valign="top">
+ <p>The mapping diagram now has support for showing Grid, Rules and Snap-to-Geometry.</p>
+
+ <p><img src="../images/hibernate_rulers_grid_snap2geometry.jpg"/></p>
+
+ <p><small><a href="http://jira.jboss.org/jira/browse/JBIDE-4643">Related jira</a></p>
+
+ </td>
+ </tr>
+
+
+
+
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ </td>
+ </tr>
+
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/images/build_project_archives_action.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/build_project_archives_action.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/config_variable_in_filefilter.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/config_variable_in_filefilter.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/css_properties_perspective.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/css_properties_perspective.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/default_fileset_for_servers.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/default_fileset_for_servers.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/forid_like_codeassist.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/forid_like_codeassist.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/hc_pending_icon.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/hc_pending_icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/hibernate_rulers_grid_snap2geometry.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/hibernate_rulers_grid_snap2geometry.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/hibernatenamedquerydaliui.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/hibernatenamedquerydaliui.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/jbosslogo_server.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/jbosslogo_server.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/maven_library_provider.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/maven_library_provider.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/new_hbm_xml_selection.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/new_hbm_xml_selection.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/properties_regular_expression.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/properties_regular_expression.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/scrollable_toolbars.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/scrollable_toolbars.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/selectionbar_optimized.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/selectionbar_optimized.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/images/tagdocs.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/images/tagdocs.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/index.html
===================================================================
--- trunk/documentation/whatsnew/index.html 2009-09-14 16:38:53 UTC (rev 17552)
+++ trunk/documentation/whatsnew/index.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -24,6 +24,19 @@
<tr>
<td valign="top" align="left">
+ <p align="right"><b>3.1.0.M3</b>
+ <td valign="top">
+ <p><a href="core/core-news-3.1.0.M3.html">Core/General</a></p>
+ <p><a href="jst/jst-news-3.1.0.M1.html">JST/JSF Tools</a></p>
+ <p><a href="as/as-news-3.1.0.M3.html">JBoss AS Tools</a></p>
+ <p><a href="hibernate/hibernate-news-3.3.0.M3.html">Hibernate Tools</a></p>
+ <p><a href="maven/maven-news-1.0.0.M3.html">Maven Tools</a></p>
+ <p><a href="vpe/vpe-news-3.1.0.M3.html">Visual Page Editor</a></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
<p align="right"><b>3.1.0.M2</b>
<td valign="top">
<p><a href="core/core-news-3.1.0.M2.html">Core/General</a></p>
Added: trunk/documentation/whatsnew/jst/jst-news-3.1.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/jst/jst-news-3.1.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/jst/jst-news-3.1.0.M3.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css"/>
+<title>JST/JSF 3.1.0.M3 What's New</title>
+</head>
+<body>
+<h1>JST/JSF 3.1.0.M3 What's New</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a href="../as/as-news-3.1.0.M3.html">Server Tools ></a></p>
+
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>OpenOn</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>EL Variables</b></p></td>
+ <td valign="top"><p>OpenOn's are now available for source elements.</p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-2806">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr/>
+ <h3>Code assist</h3>
+ <hr/>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Unified EL completion for Seam and JSF projects</b></p></td>
+ <td valign="top"><p>EL completion for Seam and JSF projects are now unified (uses same codebase).</p>
+
+<p>In previous releases there were small differences between how code completion were done for projects with or without Seam configured, i.e. code completion for Seam variables were not available in Wizards and property sheets and some of the features of JBoss EL were not honored in JSF projects.</p>
+
+ <p><small>Related jiras: <a href="https://jira.jboss.org/jira/browse/JBIDE-2920">1</a>, <a href="https://jira.jboss.org/jira/browse/JBIDE-1826">2</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>EL completion in style attributes</b></p></td>
+ <td valign="top"><p>Code assist for EL variables are now available in style attributes of XHTML files.</p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3750">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Information hover for JSF tags</b></p></td>
+ <td valign="top"><p>When code completing JSF/Facelets tags we now show a information box with the related tag documentation. Descriptions are fetched from TLD and facelet information.</p>
+
+ <p><img src="../images/tagdocs.png"/></p>
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-534">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <p><b>Code assist for attributes expecting an ID in richfaces</b></p></td>
+ <td valign="top"><p>Code assist now provides id completion for attributes that is known to work with ID's (for, focus, reRender, etc.). Both single and multi-valued (comma separated) completion are supported.</p>
+
+ <p><img src="../images/forid_like_codeassist.png"/></p>
+
+
+ <p><small><a href="https://jira.jboss.org/jira/browse/JBIDE-3571">Related Jira</a></small></p>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2"><hr />
+ </td>
+ </tr>
+
+
+</table>
+
+</body>
+
+</html>
Added: trunk/documentation/whatsnew/maven/maven-news-1.0.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/maven/maven-news-1.0.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/maven/maven-news-1.0.0.M3.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>What's New in Maven Tools</title>
+</head>
+<body>
+<h1>Maven Tools</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../vpe/vpe-news-3.1.0.M3.html">VPE Tools ></a></p>
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Maven Integration</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Maven WTP 3.1 Library Providers</b></td>
+ <td valign="top">
+ <p>When creating or editing WTP projects with JBoss Tools Maven Integration enabled it is now possible to use Maven as the library provider.</p>
+
+<p><img src="../images/maven_library_provider.png"/></p>
+
+<p>For this release only the JSF facet have this enabled, but in future releases we will add more facet specific defaults (i.e. portal, seam, etc.).</p>
+
+ <p>Note: be sure to use the latest m2eclipse development release with JBoss Tools for this to work.</p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4565">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Seam now looks at root.xml for dependencies</b></td>
+ <td valign="top">
+ <p>The Maven integration for Seam now get all its dependencies based on the POM file named build/root.xml.</p>
+ <p>This ensures your project will be created with the same dependencies as the version of Seam you use in the tooling. </p>
+
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4813">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
Added: trunk/documentation/whatsnew/vpe/vpe-news-3.1.0.M3.html
===================================================================
--- trunk/documentation/whatsnew/vpe/vpe-news-3.1.0.M3.html (rev 0)
+++ trunk/documentation/whatsnew/vpe/vpe-news-3.1.0.M3.html 2009-09-14 16:39:05 UTC (rev 17553)
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Language" content="en-us" />
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<link rel="stylesheet" href="../whatsnew.css" />
+<title>What's New Visual Page Editor</title>
+</head>
+<body>
+<h1>What's New Visual Page Editor</h1>
+
+<p align="right"><a href="../index.html">< Main Index</a> <a
+ href="../core/core-news-3.1.0.M3.html">Core Tools ></a></p>
+<table border="0" cellpadding="10" cellspacing="0" width="80%">
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>CSS Editing</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>CSS Perspective</b></td>
+ <td valign="top">
+ <p>There is now a CSS Editing perspective that provides a default layout showing the CSS Properties and CSS Preview views.</p>
+ <p>Good when editing .css files where these views has their use.</p>
+
+ <p><img src="../images/css_properties_perspective.png"/></p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-3504">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>Facelets</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Custom components in .jar</b></td>
+ <td valign="top">
+ <p>Support for custom components previously only
+ worked for exploded directory structure, it now also
+ work when you are using custom components from a
+ jar.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-3247">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Toolbar for smaller screens</b></td>
+ <td valign="top">
+ <p>The toolbar and selection bar in Visual Page Editor now "collapses" seamlessly when there is less space available for it. A small arrow is shown when needed and can be used to access the non-visible parts.</p>
+
+ <p><img src="../images/scrollable_toolbars.png"/></p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4029">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>Selection bar optimized</b></td>
+ <td valign="top">
+ <p>The selection bar is now not updating on *every* change, but only when it needs to - making it faster and not flickering when scrolling or typing.</p>
+
+ <p><img src="../images/selectionbar_optimized.png"/></p>
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4430">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>More components</b></td>
+ <td valign="top">
+ <p>New Richfaces 3.3.1 and standard jsp/JSTL core and functions are now rendered visually in the page editor.</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-3548">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+
+ <tr>
+ <td valign="top" align="left"><a name="itemname3" id="itemname3"></a><b>OpenOn for tag libs</b></td>
+ <td valign="top">
+ <p>Files referenced in the <code>source</code> tag's of a facelet library definition can now be open with OpenOn (F3 or Ctrl+Mouse).</p>
+
+ <p><small><a
+ href="https://jira.jboss.org/jira/browse/JBIDE-4509">Related Jira</a></small></p>
+ </td>
+ </tr>
+
+ <tr>
+ <td colspan="2">
+ <hr />
+ </td>
+ </tr>
+
+</table>
+
+</body>
+
+</html>
+
+
14 years, 9 months
JBoss Tools SVN: r17552 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui: src/org/jboss/tools/hibernate/ui/xml/editor and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-09-14 12:38:53 -0400 (Mon, 14 Sep 2009)
New Revision: 17552
Added:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/PropertyListAdapter.java
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/plugin.xml
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/HibConfig3PropertyFormLayoutData.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2607
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/plugin.xml 2009-09-14 16:37:00 UTC (rev 17551)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/plugin.xml 2009-09-14 16:38:53 UTC (rev 17552)
@@ -54,4 +54,13 @@
<xclass id="org.jboss.tools.hibernate.ui.xml.form.Hibernate3FormLayoutData"
class="org.jboss.tools.hibernate.ui.xml.form.Hibernate3FormLayoutData"/>
</extension>
+
+ <extension point="org.jboss.tools.common.model.ui.attributeAdapter">
+ <attributeAdapter class="org.jboss.tools.hibernate.ui.xml.editor.PropertyListAdapter" id="HibernatePropertyList"/>
+ </extension>
+
+ <extension point="org.jboss.tools.common.model.ui.attributeEditor">
+ <attributeEditor class="org.jboss.tools.common.model.ui.attribute.editor.ComboBoxEditor" id="HibernatePropertyList"/>
+ </extension>
+
</plugin>
Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/PropertyListAdapter.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/PropertyListAdapter.java (rev 0)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/PropertyListAdapter.java 2009-09-14 16:38:53 UTC (rev 17552)
@@ -0,0 +1,55 @@
+package org.jboss.tools.hibernate.ui.xml.editor;
+
+import java.util.TreeSet;
+
+import org.jboss.tools.common.meta.XAttribute;
+import org.jboss.tools.common.meta.XChild;
+import org.jboss.tools.common.meta.XModelEntity;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.ui.attribute.IListContentProvider;
+import org.jboss.tools.common.model.ui.attribute.adapter.DefaultComboBoxValueAdapter;
+import org.jboss.tools.common.model.ui.attribute.adapter.DefaultXAttributeListContentProvider;
+import org.jboss.tools.hibernate.ui.xml.form.HibConfig3PropertyFormLayoutData;
+import org.jboss.tools.hibernate.xml.model.impl.HibConfigComplexPropertyImpl;
+
+public class PropertyListAdapter extends DefaultComboBoxValueAdapter {
+
+ protected IListContentProvider createListContentProvider(XAttribute attribute) {
+ PropertyListContentProvider p = new PropertyListContentProvider();
+ p.setContext(modelObject);
+ p.setAttribute(attribute);
+ return p;
+ }
+
+}
+
+class PropertyListContentProvider extends DefaultXAttributeListContentProvider {
+ private XModelObject context;
+
+ public void setContext(XModelObject context) {
+ this.context = context;
+ }
+
+ protected void loadTags() {
+ XModelObject f = context;
+ XModelEntity ent = f.getModelEntity().getMetaModel().getEntity(HibConfig3PropertyFormLayoutData.PROPERTY_FOLDER_ENTITY);
+ if(ent == null) return;
+ XChild[] cs = ent.getChildren();
+ TreeSet<String> set = new TreeSet<String>();
+
+ for (int i = 0; i < cs.length; i++) {
+ XModelEntity e = f.getModelEntity().getMetaModel().getEntity(cs[i].getName());
+ XAttribute[] as = e.getAttributes();
+ for (int j = 0; j < as.length; j++) {
+ String prop = as[j].getProperty(HibConfigComplexPropertyImpl.H_PROPERTY);
+ if(prop != null && prop.length() > 0) {
+ set.add(prop);
+ }
+ }
+ }
+
+ tags = set.toArray(new String[0]);
+ }
+
+}
+
Property changes on: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/PropertyListAdapter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/HibConfig3PropertyFormLayoutData.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/HibConfig3PropertyFormLayoutData.java 2009-09-14 16:37:00 UTC (rev 17551)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/form/HibConfig3PropertyFormLayoutData.java 2009-09-14 16:38:53 UTC (rev 17552)
@@ -19,6 +19,7 @@
*/
public class HibConfig3PropertyFormLayoutData {
static String PROPERTY_ENTITY = "HibConfig3Property"; //$NON-NLS-1$
+ public static String PROPERTY_FOLDER_ENTITY = "HibConfig3PropertiesFolder"; //$NON-NLS-1$
final static IFormData PROPERTY_LIST_DEFINITION = new FormData(
Messages.HibConfig3PropertyFormLayoutData_List,
@@ -32,7 +33,7 @@
final static IFormData PROPERTY_FOLDER_DEFINITION = new FormData(
Messages.HibConfig3PropertyFormLayoutData_Folder,
"", //"Description //$NON-NLS-1$
- "HibConfig3PropertiesFolder", //$NON-NLS-1$
+ PROPERTY_FOLDER_ENTITY,
new FormAttributeData[]{new FormAttributeData("name", 100, Messages.HibConfig3PropertyFormLayoutData_Name)}, //$NON-NLS-1$
new String[]{PROPERTY_ENTITY},
Hibernate3FormLayoutDataUtil.createDefaultFormActionData("CreateActions.AddProperty") //$NON-NLS-1$
14 years, 9 months
JBoss Tools SVN: r17551 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml: resources/meta and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-09-14 12:37:00 -0400 (Mon, 14 Sep 2009)
New Revision: 17551
Added:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/GrantActionsConstraint.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/handlers/AddPropertySupport.java
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/plugin.xml
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta
Log:
https://jira.jboss.org/jira/browse/JBIDE-2607
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/plugin.xml 2009-09-14 16:36:00 UTC (rev 17550)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/plugin.xml 2009-09-14 16:37:00 UTC (rev 17551)
@@ -101,6 +101,11 @@
<xclass id="org.jboss.tools.hibernate.xml.model.handlers.DeletePropertyHandler"
class="org.jboss.tools.hibernate.xml.model.handlers.DeletePropertyHandler"/>
+ <xclass id="org.jboss.tools.hibernate.xml.model.handlers.AddPropertySupport"
+ class="org.jboss.tools.hibernate.xml.model.handlers.AddPropertySupport"/>
+
+ <xclass id="org.jboss.tools.hibernate.xml.model.GrantActionsConstraint"
+ class="org.jboss.tools.hibernate.xml.model.GrantActionsConstraint"/>
</extension>
</plugin>
\ No newline at end of file
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta 2009-09-14 16:36:00 UTC (rev 17550)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/resources/meta/hibconfig3.meta 2009-09-14 16:37:00 UTC (rev 17551)
@@ -633,9 +633,21 @@
<XModelAttribute PROPERTIES="save=always;id=true;category=general"
name="role" xmlname="role"/>
<XModelAttribute PROPERTIES="save=always;category=general"
- name="entity-name" xmlname="entity-name"/>
- <XModelAttribute PROPERTIES="save=always;category=general"
- name="actions" xmlname="actions"/>
+ name="entity-name" xmlname="entity-name">
+ <Editor name="AccessibleJava"/>
+ </XModelAttribute>
+ <XModelAttribute
+ PROPERTIES="save=always;category=general;separator=comma;greedy=always"
+ name="actions" xmlname="actions">
+ <Constraint loader="org.jboss.tools.hibernate.xml.model.GrantActionsConstraint">
+ <value name="*"/>
+ <value name="read"/>
+ <value name="insert"/>
+ <value name="update"/>
+ <value name="delete"/>
+ </Constraint>
+ <Editor name="ListAdd"/>
+ </XModelAttribute>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
</XModelAttribute>
@@ -1097,7 +1109,12 @@
<XModelAttribute
PROPERTIES="category=general;h_property=hibernate.connection.password" name="password"/>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.connection.pool_size" name="pool size"/>
+ PROPERTIES="category=general;h_property=hibernate.connection.pool_size" name="pool size">
+ <Constraint loader="Int">
+ <value name="mandatory=false"/>
+ </Constraint>
+ <Editor name="Int"/>
+ </XModelAttribute>
<XModelAttribute
PROPERTIES="category=general;h_property=hibernate.connection.provider_class" name="provider class">
<Editor name="AccessibleJava"/>
@@ -1148,13 +1165,23 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.jdbc.batch_size" name="batch size"/>
+ PROPERTIES="category=general;h_property=hibernate.jdbc.batch_size" name="batch size">
+ <Constraint loader="Int">
+ <value name="mandatory=false"/>
+ </Constraint>
+ <Editor name="Int"/>
+ </XModelAttribute>
<XModelAttribute
PROPERTIES="category=general;h_property=hibernate.jdbc.batch_versioned_data" name="batch versioned data"/>
<XModelAttribute
PROPERTIES="category=general;h_property=hibernate.jdbc.factory_class" name="factory class"/>
<XModelAttribute
- PROPERTIES="category=general;h_property=hibernate.jdbc.fetch_size" name="fetch size"/>
+ PROPERTIES="category=general;h_property=hibernate.jdbc.fetch_size" name="fetch size">
+ <Constraint loader="Int">
+ <value name="mandatory=false"/>
+ </Constraint>
+ <Editor name="Int"/>
+ </XModelAttribute>
<XModelAttribute
PROPERTIES="category=general;h_property=hibernate.jdbc.sql_exception_converter" name="sql exception converter"/>
<XModelAttribute
@@ -1273,8 +1300,8 @@
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="New" group="1"
kind="list" name="CreateActions">
- <XActionItem HandlerClassName="%Create%"
- PROPERTIES="validator.add=true" WizardClassName="%Default%"
+ <XActionItem HandlerClassName="%SpecialWizard%"
+ PROPERTIES="validator.add=true;support=org.jboss.tools.hibernate.xml.model.handlers.AddPropertySupport"
displayName="Property..." kind="action" name="AddProperty">
<EntityData EntityName="HibConfig3Property">
<AttributeData AttributeName="name"/>
@@ -1307,7 +1334,10 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="save=always;id=true;category=general"
- name="name" xmlname="name"/>
+ name="name" xmlname="name">
+ <Constraint loader="ListString"/>
+ <Editor name="HibernatePropertyList"/>
+ </XModelAttribute>
<XModelAttribute name="value" xmlname="#text"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
<Editor name="Note"/>
Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/GrantActionsConstraint.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/GrantActionsConstraint.java (rev 0)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/GrantActionsConstraint.java 2009-09-14 16:37:00 UTC (rev 17551)
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.hibernate.xml.model;
+
+import java.util.StringTokenizer;
+
+import org.jboss.tools.common.meta.constraint.impl.XAttributeConstraintAList;
+
+public class GrantActionsConstraint extends XAttributeConstraintAList {
+ static String WILD_CARD = "*"; //$NON-NLS-1$
+ static String MESSAGE = "value must be * or combination of read,insert,update,delete"; //$NON-NLS-1$
+
+ public boolean accepts(String value) {
+ if(value.indexOf(WILD_CARD) >= 0 && !value.equals(WILD_CARD)) {
+ return false;
+ }
+ StringTokenizer st = new StringTokenizer(value, ","); //$NON-NLS-1$
+ while(st.hasMoreTokens()) {
+ String t = st.nextToken().trim();
+ if(!values.contains(t)) return false;
+ }
+ return true;
+ }
+
+ public String getError(String value) {
+ return accepts(value) ? null : MESSAGE;
+ }
+
+}
Property changes on: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/GrantActionsConstraint.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/handlers/AddPropertySupport.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/handlers/AddPropertySupport.java (rev 0)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/handlers/AddPropertySupport.java 2009-09-14 16:37:00 UTC (rev 17551)
@@ -0,0 +1,61 @@
+package org.jboss.tools.hibernate.xml.model.handlers;
+
+import java.util.Properties;
+
+import org.jboss.tools.common.meta.XAttribute;
+import org.jboss.tools.common.meta.action.impl.DefaultWizardDataValidator;
+import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
+import org.jboss.tools.common.meta.action.impl.WizardDataValidator;
+import org.jboss.tools.common.meta.action.impl.handlers.DefaultCreateHandler;
+import org.jboss.tools.common.model.XModelException;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.project.ext.store.XMLStoreConstants;
+import org.jboss.tools.hibernate.xml.model.impl.ComplexAttrUtil;
+
+public class AddPropertySupport extends SpecialWizardSupport {
+
+ public AddPropertySupport() {}
+
+ public void action(String name) throws XModelException {
+ if(FINISH.equals(name)) {
+ execute();
+ setFinished(true);
+ } else if(CANCEL.equals(name)) {
+ setFinished(true);
+ }
+ }
+
+ public String[] getActionNames(int stepId) {
+ return new String[]{FINISH, CANCEL};
+ }
+
+ void execute() throws XModelException {
+ Properties p = extractStepData(0);
+ String entity = getEntityData()[0].getModelEntity().getName();
+ XModelObject o = getTarget().getModel().createModelObject(entity, p);
+ DefaultCreateHandler.addCreatedObject(getTarget(), o, getProperties());
+ }
+
+ public WizardDataValidator getValidator(int step) {
+ validator.setSupport(this, step);
+ return validator;
+ }
+
+ Validator validator = new Validator();
+
+ class Validator extends DefaultWizardDataValidator {
+ public void validate(Properties data) {
+ super.validate(data);
+ String name = data.getProperty(XMLStoreConstants.ATTR_NAME);
+ String value = data.getProperty(XMLStoreConstants.ATTR_VALUE);
+ XAttribute attr = ComplexAttrUtil.findComplexAttr(getTarget(), name);
+ if(attr != null) {
+ String error = DefaultCreateHandler.getConstraintMessage(name, value, attr.getConstraint());
+ if(error != null) {
+ message = error;
+ }
+ }
+ }
+ }
+
+}
Property changes on: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml/src/org/jboss/tools/hibernate/xml/model/handlers/AddPropertySupport.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
14 years, 9 months