JBoss Tools SVN: r3325 - in trunk/common/plugins/org.jboss.tools.common.meta.ui: src/org/jboss/tools/common/meta/ui/editor and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 10:30:03 -0400 (Fri, 24 Aug 2007)
New Revision: 3325
Modified:
trunk/common/plugins/org.jboss.tools.common.meta.ui/resources/meta/meta.meta
trunk/common/plugins/org.jboss.tools.common.meta.ui/src/org/jboss/tools/common/meta/ui/editor/MetaLoaderUtil.java
Log:
Last commits were by mistake done to j1-3.3
Modified: trunk/common/plugins/org.jboss.tools.common.meta.ui/resources/meta/meta.meta
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.meta.ui/resources/meta/meta.meta 2007-08-24 14:15:39 UTC (rev 3324)
+++ trunk/common/plugins/org.jboss.tools.common.meta.ui/resources/meta/meta.meta 2007-08-24 14:30:03 UTC (rev 3325)
@@ -77,7 +77,7 @@
ImplementationLoadingClass="org.jboss.tools.common.meta.ui.editor.FileMetaLoader"
ImplementingClass="org.jboss.tools.common.meta.ui.editor.FileMetaImpl"
ObjectEditorClass="%XML%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XModelEntityGroup" name="FileMETA">
<XChildrenEntities>
<XChildEntity maxCount="1" name="MetaVersion" required="yes"/>
@@ -99,10 +99,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="NAME"/>
<XModelAttribute default="meta" name="extension" xmlname="EXTENSION">
<Constraint loader="List">
<value name="meta"/>
@@ -110,18 +107,11 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute loader="ElementType" name="_lateload" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="-//Red Hat, Inc.//DTD Meta 1.0//EN"
- name="publicId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute default="meta.dtd" name="systemId" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="publicId" visibility="false"/>
+ <XModelAttribute default="meta.dtd" name="systemId" visibility="false"/>
<XModelAttribute default="no" name="isIncorrect" visibility="false">
<Constraint loader="List">
<value name="yes"/>
@@ -129,12 +119,8 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="incorrectBody" visibility="false">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="incorrectBody" visibility="false"/>
<XModelAttribute TRIM="no" name="comment" visibility="false" xmlname="#comment">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
<XModelAttribute name="encoding">
@@ -201,7 +187,7 @@
</XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.common.meta.ui.editor.MetaElementOrderedImpl"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XActionItem" name="MetaAction">
<XChildrenEntities>
<XChildEntity name="MetaEntityData"/>
@@ -218,28 +204,16 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="display name" xmlname="displayName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="display name" xmlname="displayName"/>
<XModelAttribute default="action" name="kind" visibility="false" xmlname="kind">
<Constraint loader="List">
<value name="action"/>
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="icon" xmlname="ICON">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="base action" xmlname="BaseActionName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="icon" xmlname="ICON"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="base action" xmlname="BaseActionName"/>
<XModelAttribute PROPERTIES="category=general" name="handler" xmlname="HandlerClassName">
<Constraint loader="ListString"/>
<Editor name="MetaHandlerList"/>
@@ -250,10 +224,7 @@
</Constraint>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute name="call back" xmlname="CallBackClassName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="call back" xmlname="CallBackClassName"/>
<XModelAttribute default="no" name="save to model required" xmlname="SAVE_REQUIRED">
<Constraint loader="List">
<value name="no"/>
@@ -271,7 +242,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" name="properties" xmlname="PROPERTIES">
- <Constraint/>
<Editor name="PropertiesString"/>
</XModelAttribute>
</XModelAttributes>
@@ -310,7 +280,7 @@
</XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.common.meta.ui.editor.MetaElementOrderedImpl"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XActionItem" name="MetaActionList">
<XChildrenEntities>
<XChildEntity name="MetaActionList"/>
@@ -329,14 +299,8 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" default="ActionList"
- name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="display name" xmlname="displayName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=general" name="display name" xmlname="displayName"/>
<XModelAttribute PROPERTIES="category=general" default="0"
name="group" xmlname="group">
<Constraint loader="List">
@@ -351,10 +315,7 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="icon" xmlname="ICON">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="icon" xmlname="ICON"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="Create" kind="list" name="CreateActions">
@@ -420,11 +381,9 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="GlobalActions" name="name" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Global Actions" name="display name" xmlname="displayName">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="1" name="group" xmlname="group">
@@ -439,10 +398,7 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="icon" xmlname="ICON">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="icon" xmlname="ICON"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="Create" kind="list" name="CreateActions">
@@ -473,7 +429,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XModelAttribute" name="MetaAttribute">
<XChildrenEntities>
<XChildEntity maxCount="1" name="MetaAttributeConstraint" required="yes"/>
@@ -491,22 +447,10 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="loader" xmlname="loader">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="xml name" xmlname="xmlname">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="default value" xmlname="default">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="loader" xmlname="loader"/>
+ <XModelAttribute PROPERTIES="category=general" name="xml name" xmlname="xmlname"/>
+ <XModelAttribute PROPERTIES="category=general" name="default value" xmlname="default"/>
<XModelAttribute PROPERTIES="category=advanced" default="true"
name="visibility" xmlname="visibility">
<Constraint loader="List">
@@ -515,10 +459,7 @@
</Constraint>
<Editor name="List"/>
</XModelAttribute>
- <XModelAttribute name="value listeners" xmlname="VALUE_LISTENERS">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="value listeners" xmlname="VALUE_LISTENERS"/>
<XModelAttribute PROPERTIES="category=advanced" default="yes"
name="trimmable" xmlname="TRIM">
<Constraint loader="List">
@@ -536,7 +477,6 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" name="properties" xmlname="PROPERTIES">
- <Constraint/>
<Editor name="PropertiesString"/>
</XModelAttribute>
</XModelAttributes>
@@ -564,7 +504,7 @@
</XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.common.meta.ui.editor.MetaElementOrderedImpl"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="Constraint" name="MetaAttributeConstraint">
<XChildrenEntities>
<XChildEntity name="MetaConstraintItem"/>
@@ -600,7 +540,6 @@
<Editor name="ListString"/>
</XModelAttribute>
<XModelAttribute default="Constraint" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -645,10 +584,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="attribute name" xmlname="AttributeName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="attribute name" xmlname="AttributeName"/>
<XModelAttribute default="yes" name="mandatory" xmlname="Mandatory">
<Constraint loader="List">
<value name="no"/>
@@ -707,10 +643,7 @@
<Constraint loader="ListString"/>
<Editor name="MetaEditorList"/>
</XModelAttribute>
- <XModelAttribute name="viewer" xmlname="viewer">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="viewer" xmlname="viewer"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" kind="list" name="Properties">
@@ -721,7 +654,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XModelAttributeReference" name="MetaAttributeReference">
<XChildrenEntities/>
<XEntityRenderer>
@@ -736,18 +669,12 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="category=general" name="entity" xmlname="entity">
<Constraint loader="ListString"/>
<Editor name="ListString"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="attributes" xmlname="attributes">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="attributes" xmlname="attributes"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -773,7 +700,7 @@
</XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.common.meta.ui.editor.MetaElementOrderedImpl"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XModelAttributes" name="MetaAttributes">
<XChildrenEntities>
<XChildEntity name="MetaAttribute"/>
@@ -792,7 +719,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Attributes" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -836,14 +762,8 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute default="10000" name="max" xmlname="maxCount">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
+ <XModelAttribute default="10000" name="max" xmlname="maxCount"/>
<XModelAttribute default="no" name="required" xmlname="required">
<Constraint loader="List">
<value name="no"/>
@@ -876,7 +796,7 @@
</XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.common.meta.ui.editor.MetaElementOrderedImpl"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XChildrenEntities" name="MetaChildren">
<XChildrenEntities>
<XChildEntity name="MetaChild"/>
@@ -894,7 +814,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Children" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -929,10 +848,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -964,19 +880,15 @@
</XModelAttribute>
<XModelAttribute default="Dependencies" name="name"
visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="loader" xmlname="loader">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="loader" xmlname="loader"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XModelEntity" name="MetaEntity">
<XChildrenEntities>
<XChildEntity maxCount="1" name="MetaChildren" required="yes"/>
@@ -997,36 +909,17 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name"/>
<XModelAttribute PROPERTIES="category=general" name="implementation" xmlname="ImplementingClass">
<Constraint loader="ListString"/>
<Editor name="MetaImplementationList"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="loader" xmlname="ImplementationLoadingClass">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="generator" xmlname="ImplementationGenerator">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="editor" xmlname="ObjectEditorClass">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=advanced" name="adopt manager" xmlname="AdoptManagerClass">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="xml path" xmlname="XMLSUBPATH">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=advanced" name="loader" xmlname="ImplementationLoadingClass"/>
+ <XModelAttribute name="generator" xmlname="ImplementationGenerator"/>
+ <XModelAttribute name="editor" xmlname="ObjectEditorClass"/>
+ <XModelAttribute PROPERTIES="category=advanced" name="adopt manager" xmlname="AdoptManagerClass"/>
+ <XModelAttribute PROPERTIES="category=general" name="xml path" xmlname="XMLSUBPATH"/>
<XModelAttribute PROPERTIES="category=general" name="properties" xmlname="PROPERTIES">
- <Constraint/>
<Editor name="PropertiesString"/>
</XModelAttribute>
</XModelAttributes>
@@ -1050,7 +943,7 @@
</XModelEntity>
<XModelEntity
ImplementingClass="org.jboss.tools.common.meta.ui.editor.MetaEntityDataImpl"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="EntityData" name="MetaEntityData">
<XChildrenEntities>
<XChildEntity name="MetaAttributeData"/>
@@ -1067,10 +960,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="entity name" xmlname="EntityName">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="entity name" xmlname="EntityName"/>
<XModelAttribute PROPERTIES="category=general" default="yes"
name="mandatory" xmlname="Mandatory">
<Constraint loader="List">
@@ -1114,7 +1004,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="XEntityExtension" name="MetaEntityExtension">
<XChildrenEntities>
<XChildEntity maxCount="1" name="MetaChildren" required="yes"/>
@@ -1132,10 +1022,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -1165,14 +1052,8 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="path" xmlname="path">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
+ <XModelAttribute name="path" xmlname="path"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -1193,7 +1074,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="GROUP" name="MetaIconGroup">
<XChildrenEntities>
<XChildEntity name="MetaIconGroup"/>
@@ -1212,7 +1093,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
<Editor name="Name"/>
</XModelAttribute>
</XModelAttributes>
@@ -1269,14 +1149,8 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="type" xmlname="type">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="info" xmlname="info">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="type" xmlname="type"/>
+ <XModelAttribute name="info" xmlname="info"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -1297,7 +1171,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="ICONS" name="MetaIcons">
<XChildrenEntities>
<XChildEntity name="MetaIconGroup"/>
@@ -1315,7 +1189,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Icons" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1337,7 +1210,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="MAPPING" name="MetaMapping">
<XChildrenEntities>
<XChildEntity name="MetaMappingItem"/>
@@ -1354,10 +1227,7 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute PROPERTIES="category=general" name="name" xmlname="name"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" displayName="Create" kind="list" name="CreateActions">
@@ -1403,14 +1273,8 @@
</Constraint>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="name" xmlname="name">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="value" xmlname="value">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="name" xmlname="name"/>
+ <XModelAttribute name="value" xmlname="value"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.copy" displayName="Copy" kind="list" name="CopyActions">
@@ -1432,7 +1296,7 @@
<XDependencies/>
</XModelEntity>
<XModelEntity ImplementingClass="%Meta%"
- PROPERTIES="formFactoryClassName=org.jboss.tools.common.model.ui.forms.LayouredFormFactory;formLayoutDataClassName=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
+ PROPERTIES="formFactory=%Default%;formLayout=org.jboss.tools.common.meta.ui.form.MetaFormLayoutData"
XMLSUBPATH="MAPPINGS" name="MetaMappings">
<XChildrenEntities>
<XChildEntity name="MetaMapping"/>
@@ -1450,7 +1314,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Mappings" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1490,7 +1353,6 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Renderer" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1526,21 +1388,11 @@
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Version" name="name" visibility="false" xmlname="name">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="module" xmlname="MODULE">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="version" xmlname="VERSION">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="depends" xmlname="DEPENDS">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="module" xmlname="MODULE"/>
+ <XModelAttribute name="version" xmlname="VERSION"/>
+ <XModelAttribute name="depends" xmlname="DEPENDS"/>
</XModelAttributes>
<XActionItem kind="list">
<XActionItem ICON="action.empty" kind="list" name="Properties">
Modified: trunk/common/plugins/org.jboss.tools.common.meta.ui/src/org/jboss/tools/common/meta/ui/editor/MetaLoaderUtil.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.meta.ui/src/org/jboss/tools/common/meta/ui/editor/MetaLoaderUtil.java 2007-08-24 14:15:39 UTC (rev 3324)
+++ trunk/common/plugins/org.jboss.tools.common.meta.ui/src/org/jboss/tools/common/meta/ui/editor/MetaLoaderUtil.java 2007-08-24 14:30:03 UTC (rev 3325)
@@ -105,4 +105,34 @@
return def;
}
+ public boolean save(Element parent, XModelObject o) {
+ if(!needToSave(o)) return true;
+ return super.save(parent, o);
+ }
+ boolean needToSave(XModelObject o) {
+ if(o == null) return false;
+ String entity = o.getModelEntity().getName();
+ if("MetaAttributeConstraint".equals(entity)
+ || "MetaAttributeEditor".equals(entity)) {
+ return (hasSetAttributes(o)
+ || o.getChildren().length > 0
+ );
+ }
+ return true;
+ }
+
+ private boolean hasSetAttributes(XModelObject o) {
+ XAttribute[] as = o.getModelEntity().getAttributes();
+ for (int i = 0; i < as.length; i++) {
+ String xml = as[i].getXMLName();
+ // it would be more safe to check isSavable
+ if(xml == null || xml.length() == 0 || "NAME".equals(xml)) continue;
+ String v = o.getAttributeValue(as[i].getName());
+ if(v != null && v.length() > 0 && !v.equals(as[i].getDefaultValue())) return true;
+ }
+ String finalComment = o.get("#final-comment");
+ if(finalComment != null && finalComment.length() > 0) return true;
+ return false;
+ }
+
}
17 years, 4 months
JBoss Tools SVN: r3323 - in trunk/documentation/GettingStartedGuide/docs/userguide/en: modules and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sabrashevich
Date: 2007-08-24 09:55:03 -0400 (Fri, 24 Aug 2007)
New Revision: 3323
Added:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj044.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj045.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startedapplication.png
Modified:
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj04.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile2.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile7.png
trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-137?rc=1page=all updated context and images
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj04.png
===================================================================
(Binary files differ)
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj044.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj044.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj045.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/SeamNewProj045.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile2.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/connectionprofile7.png
===================================================================
(Binary files differ)
Added: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startedapplication.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/GettingStartedGuide/docs/userguide/en/images/startedapplication.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml
===================================================================
--- trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml 2007-08-24 13:08:51 UTC (rev 3322)
+++ trunk/documentation/GettingStartedGuide/docs/userguide/en/modules/GetStartSeamGen.xml 2007-08-24 13:55:03 UTC (rev 3323)
@@ -57,10 +57,8 @@
<para>Now you need to define a connection profile and choose a database. If you have no connections yet you should create the one.</para>
<orderedlist>
- <listitem><para>Click "Add connection" link in the panel Connection.</para></listitem>
- <listitem><para>Choose HSQLDB Connection Profile.</para></listitem>
- <listitem><para>Give a name to your connection and some description. Click Next.</para></listitem>
- </orderedlist>
+ <listitem><para>Click Next in the dialog "JPA Facet"</para></listitem>
+ </orderedlist>
<figure>
<title>Select provider for JPA JARs</title>
<mediaobject>
@@ -69,82 +67,59 @@
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Give a name to connection profile</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/connectionprofile.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <para>Now you need to specify driver and connection details.</para>
+ <para>Since you selected JPA and JSF tooling support, the project needs to incorporate the JAR files for those frameworks on its classpath. In the next screen, you will be able to select where those library JARs come from. The easiest is just to select the JARs provided by the JBoss AS runtime associated with this project. That is why it is important to chose the right JBoss AS 4.2 runtime in the project setup window.</para>
<orderedlist continuation="continues">
- <listitem><para>Click the Browse button near driver selection drop down list.</para></listitem>
+ <listitem><para>Check "Server Supplied JSF Implementation". We will use JSF implementation that comes with JBoss server.</para></listitem>
+ <listitem><para>Click Next.</para></listitem>
</orderedlist>
<figure>
- <title>Give a name to connection profile</title>
+ <title>Define JSF Implementation</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/connectionprofile2.png"/>
+ <imagedata fileref="images/SeamNewProj044.png"/>
</imageobject>
</mediaobject>
</figure>
<orderedlist continuation="continues">
- <listitem><para>In the next dialog select Add button.</para></listitem>
- <listitem><para>Select Hypersonic database: <emphasis>Hypersonic > 1.8 > Hypersonic DB</emphasis></para></listitem>
+ <listitem><para>Click New button to create a new connection profile.</para></listitem>
</orderedlist>
<figure>
- <title>Select database</title>
+ <title>Create New Connection Profile</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/connectionprofile3.png"/>
+ <imagedata fileref="images/SeamNewProj045.png"/>
</imageobject>
</mediaobject>
</figure>
- <para>You should make wizard to know where the driver is located.</para>
- <figure>
- <title>Add driver</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/connectionprofile4.png"/>
- </imageobject>
- </mediaobject>
- </figure>
<orderedlist continuation="continues">
- <listitem><para>Select hsqldb.jar in Driver File panel and click the button Remove jar/Zip.</para></listitem>
- <listitem><para>Select Add jar/Zip.</para></listitem>
- <listitem><para>Select hsqldb driver which is located in <emphasis>jboss-eap > jboss-as > server > default > lib</emphasis> folder of RHDS installation.</para></listitem>
+ <listitem><para>Give a name to your connection and some description. Click Next.</para></listitem>
</orderedlist>
<figure>
- <title>Adding driver</title>
+ <title>Give a name to connection profile</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/connectionprofile5.png"/>
+ <imagedata fileref="images/connectionprofile.png"/>
</imageobject>
</mediaobject>
</figure>
+ <para>Now you need to specify driver and connection details.</para>
<orderedlist continuation="continues">
- <listitem><para>Click OK, then click OK again. You will see a database added in wizard window.</para></listitem>
+ <listitem><para>Select Generic JDBC driver from the drop down list Click Next.</para></listitem>
</orderedlist>
-
<figure>
- <title>Database added</title>
+ <title>Select Driver</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/connectionprofile6.png"/>
+ <imagedata fileref="images/connectionprofile2.png"/>
</imageobject>
</mediaobject>
</figure>
+ <para>A summary diallog will be prompted. Click Finish.</para>
- <orderedlist continuation="continues">
- <listitem><para>Select Next to procede further. A summary diallog will be prompted.</para></listitem>
- </orderedlist>
-
<figure>
<title>Summary window</title>
<mediaobject>
@@ -153,21 +128,6 @@
</imageobject>
</mediaobject>
</figure>
-
- <orderedlist continuation="continues">
- <listitem><para>Click Finish button. Connection profile will be added. Click Finish again.</para></listitem>
- </orderedlist>
- <para>Since you selected JPA and JSF tooling support, the project needs to incorporate the JAR files for those frameworks on its classpath. In the next two screens, you will be able to select where those library JARs come from. The easiest is just to select the JARs provided by the JBoss AS runtime associated with this project. That is why it is important to chose the right JBoss AS 4.2 runtime in the project setup window.</para>
-
- <figure>
- <title>Select provider for JSF JARs</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/SeamNewProj08.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
<para>The project setup wizard also asks you to configure how <property>Seam</property> generates code for the project. The <property>Seam</property> Home Folder should point to a valid <property>Seam</property> distribution. By default, it is set to the <property>Seam</property> distribution bundled in your Red Hat Developer Studio tool. For the deployment format, choose WAR deployment if you want to use POJOs for UI event handling and business logic; choose EAR deployment if you want to EJB3 beans for added features. In most web applications, the WAR deployment option would suffice. You should also enter Java packages for the entity beans (for database mapping) and session beans (for action handlers). All generated code will be placed in those packages. </para>
<figure>
@@ -178,30 +138,21 @@
</imageobject>
</mediaobject>
</figure>
+ <para>Click on Finish to generate a project. The generated project contains all the necessary library JARs, XML configuration files, the ANT build script, as well as simple XHTML web pages and Java classes for the skeleton web application.</para>
- <para>Click on Finish to generate the application. The generated project contains all the necessary library JARs, XML configuration files, the ANT build script, as well as simple XHTML web pages and Java classes for the skeleton web application.</para>
- <figure>
- <title>The generated Seam web application</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/SeamNewProj07.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
</section>
<section>
<title>Build and Deploy the Seam Application</title>
- <para>Once the application is generated, you can use the "Run on server" menu to build and deploy it into the JBoss AS runtime associated with the project. All you need is to start JBoss AS in the server manager, and load the browser at URL http://127.0.0.1:8080/MySeamProj/. You should see the following web page.</para>
+ <para>Once the application is generated, you can use the "Run on server" menu to build and deploy it into the JBoss AS runtime associated with the project. All you need is to start JBoss AS in the server manager, and load the browser at URL http://localhost:8080/MySeamProj/. You should see the following web page.</para>
<figure>
<title>The generated application in action</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/xxxx.png"/>
+ <imagedata fileref="images/startedapplication.png"/>
</imageobject>
</mediaobject>
</figure>
17 years, 4 months
JBoss Tools SVN: r3322 - trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 09:08:51 -0400 (Fri, 24 Aug 2007)
New Revision: 3322
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/AddCapabilitiesScreenOne.java
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/CapabilityPerformersProvider.java
Log:
JBIDE-842
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/AddCapabilitiesScreenOne.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/AddCapabilitiesScreenOne.java 2007-08-24 13:07:10 UTC (rev 3321)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/AddCapabilitiesScreenOne.java 2007-08-24 13:08:51 UTC (rev 3322)
@@ -41,7 +41,7 @@
composite.setLayout(layout);
GridData gd = new GridData(GridData.FILL_BOTH);
composite.setLayoutData(gd);
- treeViewer = new TreeViewer(composite, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
+ treeViewer = new TreeViewer(composite, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER | SWT.CHECK);
treeViewer.setContentProvider(provider);
treeViewer.setLabelProvider(provider);
treeViewer.setInput(this);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/CapabilityPerformersProvider.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/CapabilityPerformersProvider.java 2007-08-24 13:07:10 UTC (rev 3321)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/wizard/capabilities/CapabilityPerformersProvider.java 2007-08-24 13:08:51 UTC (rev 3322)
@@ -51,9 +51,10 @@
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {}
public Image getImage(Object element) {
- if(!(element instanceof IPerformerItem)) return null;
- IPerformerItem w = (IPerformerItem)element;
- return (w.isSelected() && w.isEnabled()) ? IMAGE_ENABLED : IMAGE_DISABLED;
+ return null;
+// if(!(element instanceof IPerformerItem)) return null;
+// IPerformerItem w = (IPerformerItem)element;
+// return (w.isSelected() && w.isEnabled()) ? IMAGE_ENABLED : IMAGE_DISABLED;
}
public Color getForeground(Object element) {
17 years, 4 months
JBoss Tools SVN: r3321 - in trunk/common/plugins/org.jboss.tools.common.projecttemplates: lib/RichFaces and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2007-08-24 09:07:10 -0400 (Fri, 24 Aug 2007)
New Revision: 3321
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-api-3.1.0-rc2.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-impl-3.1.0-rc2.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-ui-3.1.0-rc2.jar
Removed:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/ajax4jsf/
Modified:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml
Log:
http://jira.jboss.com/jira/browse/RHDS-73 bundle richfaces 3.1.0 rc2 as custom capability.
Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-api-3.1.0-rc2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-api-3.1.0-rc2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-impl-3.1.0-rc2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-impl-3.1.0-rc2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-ui-3.1.0-rc2.jar
===================================================================
(Binary files differ)
Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces/richfaces-ui-3.1.0-rc2.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml 2007-08-24 12:34:25 UTC (rev 3320)
+++ trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml 2007-08-24 13:07:10 UTC (rev 3321)
@@ -61,18 +61,15 @@
<![CDATA[<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>]]>
</file-addition>
</capability>
- <capability name="RichFaces - Red Hat Visual Component Platform">
- <library name="RichFaces-RedHatVCP" />
+ <capability name="JBoss RichFaces 3.1">
+ <library name="RichFaces" />
<file-addition file-name="/WEB-INF/web.xml"
- label="VCP Skin Parameter" x-path="/web-app">
+ label="Skin Parameter" x-path="/web-app">
<![CDATA[<context-param>
<param-name>org.ajax4jsf.SKIN</param-name>
<param-value>classic</param-value>
</context-param>]]>
</file-addition>
- </capability>
- <capability name="ajax4jsf">
- <library name="ajax4jsf" />
<file-addition file-name="/WEB-INF/web.xml"
label="Ajax4jsf Filter" x-path="/web-app">
<![CDATA[<filter>
17 years, 4 months
JBoss Tools SVN: r3320 - trunk/common/plugins/org.jboss.tools.common.model.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 08:34:25 -0400 (Fri, 24 Aug 2007)
New Revision: 3320
Modified:
trunk/common/plugins/org.jboss.tools.common.model/plugin.xml
Log:
JBIDE-840
Modified: trunk/common/plugins/org.jboss.tools.common.model/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/plugin.xml 2007-08-24 12:34:02 UTC (rev 3319)
+++ trunk/common/plugins/org.jboss.tools.common.model/plugin.xml 2007-08-24 12:34:25 UTC (rev 3320)
@@ -62,13 +62,6 @@
<specialwizard class="org.jboss.tools.common.model.project.ClassPathUpdateWizard" id="org.jboss.tools.common.model.project.ClassPathUpdateWizard">
</specialwizard>
</extension>
-<!--extension
- point="org.eclipse.jdt.core.classpathVariableInitializer">
- <classpathVariableInitializer
- variable=" STRUTSSTUDIO_LIB_HOME"
- class="org.jboss.tools.common.core.jdt.StrutsStudioVariableInitializer">
- </classpathVariableInitializer>
- </extension-->
<extension id="textproblemmarker" name="%textProblemName" point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker">
</super>
17 years, 4 months
JBoss Tools SVN: r3319 - trunk/common/plugins/org.jboss.tools.common.model/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 08:34:02 -0400 (Fri, 24 Aug 2007)
New Revision: 3319
Modified:
trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
trunk/common/plugins/org.jboss.tools.common.model/resources/meta/studio_eclipse_option.meta
Log:
JBIDE-840
Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2007-08-24 12:33:31 UTC (rev 3318)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2007-08-24 12:34:02 UTC (rev 3319)
@@ -4122,9 +4122,6 @@
<Options ENTITY="SharableOptions" NAME="Options" SCOPE="project">
<JSFStudio ENTITY="SharableJSFStudio" NAME="JSF Studio"
SCOPE="project">
- <JSF10Libs ENTITY="SharableJSF10Libs"
- NAME="JSF 1.0 Libraries" SCOPE="project"
- libraries="JSFSTUDIO_LIB_HOME/jsf-1.0/commons-beanutils.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/commons-collections.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/commons-digester.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/commons-logging.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/jsf-api.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/jsf-impl.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/jstl.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/standard.jar" />
<JSFProject ENTITY="SharableJSFProject" NAME="Project"
SCOPE="project">
<ImportJSFProject ENTITY="SharableImportJSFProject"
Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/studio_eclipse_option.meta
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/resources/meta/studio_eclipse_option.meta 2007-08-24 12:33:31 UTC (rev 3318)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/studio_eclipse_option.meta 2007-08-24 12:34:02 UTC (rev 3319)
@@ -11,7 +11,6 @@
<XEntityRenderer/>
<XModelAttributes>
<XModelAttribute PROPERTIES="font=courier" name="exceptions">
- <Constraint/>
<Editor name="Note"/>
</XModelAttribute>
</XModelAttributes>
@@ -41,11 +40,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Automation" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -70,12 +67,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Code Generation" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -92,11 +87,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Action" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -113,11 +106,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Common" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -134,11 +125,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Exception" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -155,11 +144,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Forward" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -176,12 +163,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Global Exception" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -198,12 +183,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Global Forward" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -225,11 +208,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Editors" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="yes" name="useRedHatEditors" xmlname="useRedHatEditors">
@@ -267,12 +248,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Import Project" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="2.4" name="Servlet Version" xmlname="servlet_version">
@@ -304,12 +283,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Import Project" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="2.3" name="Servlet Version" xmlname="servlet_version">
@@ -341,18 +318,15 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Default Error Messages" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="errors.required={0} is required.\nerrors.minlength={0} can not be less than {1} characters.\nerrors.maxlength={0} can not be greater than {1} characters.\nerrors.invalid={0} is invalid.\n \nerrors.byte={0} must be a byte.\nerrors.short={0} must be a short.\nerrors.integer={0} must be an integer.\nerrors.long={0} must be a long.\nerrors.float={0} must be a float.\nerrors.double={0} must be a double.\n \nerrors.date={0} is not a date.\nerrors.range={0} is not in the range {1} through {2}.\nerrors.creditcard={0} is an invalid credit card number.\nerrors.email={0} is an invalid e-mail address.\n"
name="text" xmlname="text">
- <Constraint/>
<Editor name="Note2"/>
</XModelAttribute>
</XModelAttributes>
@@ -369,17 +343,14 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Tiles" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="<plug-in className="org.apache.struts.tiles.TilesPlugin">\n <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml"/>\n <set-property property="moduleAware" value="true"/>\n</plug-in>"
name="text" xmlname="text">
- <Constraint/>
<Editor name="Note2"/>
</XModelAttribute>
</XModelAttributes>
@@ -396,51 +367,20 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Validators" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute
default="<plug-in className="org.apache.struts.validator.ValidatorPlugIn">\n <set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml"/>\n </plug-in>"
name="text" xmlname="text">
- <Constraint/>
<Editor name="Note2"/>
</XModelAttribute>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Options%" name="SharableJSF10Libs">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.xstudio.options.root" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="options" loader="ElementType"
- name="element type" visibility="false">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="JSF 1.0 Libraries" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute
- default="JSFSTUDIO_LIB_HOME/jsf-1.0/commons-beanutils.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/commons-collections.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/commons-digester.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/commons-logging.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/jsf-api.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/jsf-impl.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/jstl.jar;JSFSTUDIO_LIB_HOME/jsf-1.0/standard.jar"
- name="Libraries" xmlname="libraries">
- <Constraint/>
- <Editor name="MutableList"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
<XModelEntity ImplementingClass="%Options%" name="SharableJSFAddView">
<XChildrenEntities/>
<XEntityRenderer>
@@ -451,11 +391,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Add View" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="JSFBasePage" name="Page Template" xmlname="page-template">
@@ -488,12 +426,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="JSF Flow Diagram" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="yes" name="Show Grid" xmlname="show_grid">
@@ -515,12 +451,10 @@
</XModelAttribute>
<XModelAttribute default="default,size=8,style=1"
name="Link Path Font" xmlname="link_path_font">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="default,size=8,style=1"
name="View Path Font" xmlname="view_path_font">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="yes" name="doNotCreateEmptyRule" xmlname="doNotCreateEmptyRule">
@@ -577,11 +511,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Project" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -591,7 +523,6 @@
<XModelEntity ImplementingClass="%Options%" name="SharableJSFStudio">
<XChildrenEntities>
<XChildEntity maxCount="1" name="SharableJSFProject" required="yes"/>
- <XChildEntity maxCount="1" name="SharableJSF10Libs" required="yes"/>
</XChildrenEntities>
<XEntityRenderer>
<ICONS>
@@ -601,11 +532,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="JSF Studio" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -622,18 +551,13 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Link Recognizer" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
- <XModelAttribute name="value" xmlname="CDATA">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="value" xmlname="CDATA"/>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
@@ -648,11 +572,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="New Project" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="JSF 1.0 - Reference Implementation"
@@ -661,7 +583,6 @@
<Editor name="DropDown"/>
</XModelAttribute>
<XModelAttribute default="JSFBlank" name="Project Template" xmlname="template">
- <Constraint/>
<Editor name="DropDown"/>
</XModelAttribute>
<XModelAttribute default="yes" name="Use Default Path" xmlname="use_default">
@@ -695,7 +616,6 @@
<Editor name="CheckBox"/>
</XModelAttribute>
<XModelAttribute default="Blank" name="Page Template" xmlname="page_template">
- <Constraint/>
<Editor name="DropDown"/>
</XModelAttribute>
</XModelAttributes>
@@ -712,11 +632,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="New Project" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Struts 1.1" name="Struts Version" xmlname="version">
@@ -724,7 +642,6 @@
<Editor name="DropDown"/>
</XModelAttribute>
<XModelAttribute default="Blank" name="Project Template" xmlname="template">
- <Constraint/>
<Editor name="DropDown"/>
</XModelAttribute>
<XModelAttribute default="yes" name="Use Default Path" xmlname="use_default">
@@ -758,7 +675,6 @@
<Editor name="CheckBox"/>
</XModelAttribute>
<XModelAttribute default="Blank" name="Page Template" xmlname="page_template">
- <Constraint/>
<Editor name="DropDown"/>
</XModelAttribute>
</XModelAttributes>
@@ -778,12 +694,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Plug-ins Insets" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -804,11 +718,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Project" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -825,12 +737,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Report Problem" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="yes" name="showErrorDialog" xmlname="showErrorDialog">
@@ -847,14 +757,8 @@
</Constraint>
<Editor name="CheckBox"/>
</XModelAttribute>
- <XModelAttribute name="eMail" visibility="false" xmlname="eMail">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
- <XModelAttribute name="other" visibility="false" xmlname="other">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="eMail" visibility="false" xmlname="eMail"/>
+ <XModelAttribute name="other" visibility="false" xmlname="other"/>
<XModelAttribute default="yes" name="attachRedHatLog"
visibility="false" xmlname="attachRedHatLog">
<Constraint loader="List">
@@ -887,12 +791,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Resources Insets" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -909,18 +811,13 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Running" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Tomcat" name="Default Server"
- visibility="false" xmlname="default_server">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ visibility="false" xmlname="default_server"/>
<XModelAttribute name="Browser Path" xmlname="browser_path">
<Constraint loader="FileFilter">
<value name="allFiles=true"/>
@@ -929,10 +826,7 @@
</Constraint>
<Editor name="FileChooser"/>
</XModelAttribute>
- <XModelAttribute name="Default WTP Server" visibility="false" xmlname="default_wtp_server">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute name="Default WTP Server" visibility="false" xmlname="default_wtp_server"/>
<XModelAttribute default="yes" name="Use Default Eclipse JVM" xmlname="jvm_default">
<Constraint loader="List">
<value name="yes"/>
@@ -955,116 +849,6 @@
<XActionItem kind="list"/>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Options%" name="SharableServlet22Libs">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.xstudio.options.root" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="options" loader="ElementType"
- name="element type" visibility="false">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="Servlet 2.2 Libraries" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="REDHAT_LIB_HOME/servlet/2.2/servlet.jar"
- name="Libraries" xmlname="libraries">
- <Constraint/>
- <Editor name="MutableList"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Options%" name="SharableServlet23Libs">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.xstudio.options.root" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="options" loader="ElementType"
- name="element type" visibility="false">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="Servlet 2.3 Libraries" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="REDHAT_LIB_HOME/servlet/2.3/servlet.jar"
- name="Libraries" xmlname="libraries">
- <Constraint/>
- <Editor name="MutableList"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Options%" name="SharableServlet24Libs">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.xstudio.options.root" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="options" loader="ElementType"
- name="element type" visibility="false">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="Servlet 2.4 Libraries" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute
- default="REDHAT_LIB_HOME/servlet/2.4/servlet-api.jar;REDHAT_LIB_HOME/servlet/2.4/jsp-api.jar"
- name="Libraries" xmlname="libraries">
- <Constraint/>
- <Editor name="MutableList"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
- <XModelEntity ImplementingClass="%Options%" name="SharableStruts10Libs">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.xstudio.options.root" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="options" loader="ElementType"
- name="element type" visibility="false">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="Struts 1.0 Libraries" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute
- default="STRUTSSTUDIO_LIB_HOME/struts-1.0/struts.jar"
- name="Libraries" xmlname="libraries">
- <Constraint/>
- <Editor name="MutableList"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
<XModelEntity ImplementingClass="%Options%" name="SharableStruts10Support">
<XChildrenEntities/>
<XEntityRenderer>
@@ -1075,59 +859,24 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Struts Support 1.0" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="org.apache.struts.action.ActionServlet"
name="servlet class" xmlname="servlet_class">
- <Constraint/>
<Editor name="EclipseClassChooser"/>
</XModelAttribute>
- <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern"/>
<XModelAttribute name="tld files" xmlname="tld_files">
- <Constraint/>
<Editor name="ListAdd"/>
</XModelAttribute>
</XModelAttributes>
<XActionItem kind="list"/>
<XDependencies/>
</XModelEntity>
- <XModelEntity ImplementingClass="%Options%" name="SharableStruts11Libs">
- <XChildrenEntities/>
- <XEntityRenderer>
- <ICONS>
- <ICON info="main.xstudio.options.root" type="main"/>
- </ICONS>
- </XEntityRenderer>
- <XModelAttributes>
- <XModelAttribute default="options" loader="ElementType"
- name="element type" visibility="false">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute default="Struts 1.1 Libraries" name="name"
- visibility="false" xmlname="NAME">
- <Constraint/>
- <Editor name="Uneditable"/>
- </XModelAttribute>
- <XModelAttribute
- default="STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-beanutils.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-collections.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-digester.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-fileupload.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-lang.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-logging.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-validator.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/jakarta-oro.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts-legacy.jar"
- name="Libraries" xmlname="libraries">
- <Constraint/>
- <Editor name="MutableList"/>
- </XModelAttribute>
- </XModelAttributes>
- <XActionItem kind="list"/>
- <XDependencies/>
- </XModelEntity>
<XModelEntity ImplementingClass="%Options%" name="SharableStruts11Support">
<XChildrenEntities/>
<XEntityRenderer>
@@ -1138,25 +887,18 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Struts Support 1.1" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="org.apache.struts.action.ActionServlet"
name="servlet class" xmlname="servlet_class">
- <Constraint/>
<Editor name="EclipseClassChooser"/>
</XModelAttribute>
- <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern"/>
<XModelAttribute name="tld files" xmlname="tld_files">
- <Constraint/>
<Editor name="ListAdd"/>
</XModelAttribute>
</XModelAttributes>
@@ -1173,25 +915,18 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Struts Support 1.2" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="org.apache.struts.action.ActionServlet"
name="servlet class" xmlname="servlet_class">
- <Constraint/>
<Editor name="EclipseClassChooser"/>
</XModelAttribute>
- <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern">
- <Constraint/>
- <Editor/>
- </XModelAttribute>
+ <XModelAttribute default="*.do" name="url pattern" xmlname="url_pattern"/>
<XModelAttribute name="tld files" xmlname="tld_files">
- <Constraint/>
<Editor name="ListAdd"/>
</XModelAttribute>
</XModelAttributes>
@@ -1208,11 +943,9 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Add Page" name="name" visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="StrutsForm" name="Page Template" xmlname="page-template">
@@ -1243,12 +976,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Web Flow Diagram" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="no" name="doNotShowDiagram" xmlname="doNotShowDiagram">
@@ -1276,20 +1007,16 @@
<Editor name="List"/>
</XModelAttribute>
<XModelAttribute default="default,size=8,style=1" name="Action Font" xmlname="action_font">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="default,size=7,style=1" name="Forward Font" xmlname="forward_font">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="default,size=8,style=1" name="Path Font" xmlname="path_font">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="default,size=10,style=0"
name="Comment Font" xmlname="comment_font">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="yes"
@@ -1333,11 +1060,6 @@
<XChildEntity maxCount="1" name="SharableEditors" required="yes"/>
<XChildEntity maxCount="1" name="SharableAutomation" required="yes"/>
<XChildEntity maxCount="1" name="SharableCodeGeneration" required="yes"/>
- <XChildEntity maxCount="1" name="SharableStruts10Libs" required="yes"/>
- <XChildEntity maxCount="1" name="SharableStruts11Libs" required="yes"/>
- <XChildEntity maxCount="1" name="SharableServlet22Libs" required="yes"/>
- <XChildEntity maxCount="1" name="SharableServlet23Libs" required="yes"/>
- <XChildEntity maxCount="1" name="SharableServlet24Libs" required="yes"/>
<XChildEntity maxCount="1" name="SharableLinkRecognizer" required="yes"/>
<XChildEntity maxCount="1" name="SharableReportProblem" required="yes"/>
</XChildrenEntities>
@@ -1349,12 +1071,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Struts Studio" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1375,12 +1095,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Struts Support" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
</XModelAttributes>
@@ -1397,12 +1115,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Tiles Diagram" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="default(20)" name="verticalSpacing" xmlname="verticalSpacing">
@@ -1435,7 +1151,6 @@
</XModelAttribute>
<XModelAttribute default="default,size=7,style=1"
name="definitionNameFont" xmlname="definitionNameFont">
- <Constraint/>
<Editor name="FontChooser"/>
</XModelAttribute>
<XModelAttribute default="yes" name="animation" xmlname="animation">
@@ -1459,12 +1174,10 @@
<XModelAttributes>
<XModelAttribute default="options" loader="ElementType"
name="element type" visibility="false">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="Visual Page Editor" name="name"
visibility="false" xmlname="NAME">
- <Constraint/>
<Editor name="Uneditable"/>
</XModelAttribute>
<XModelAttribute default="yes" name="show border for unknown tags" xmlname="show_border_for_unknown_tags">
@@ -1497,7 +1210,8 @@
</Constraint>
<Editor name="CheckBox"/>
</XModelAttribute>
- <XModelAttribute default="no" name="always hide selection bar without prompt" xmlname="always_hide_selection_bar_without_prompt">
+ <XModelAttribute default="no"
+ name="always hide selection bar without prompt" xmlname="always_hide_selection_bar_without_prompt">
<Constraint loader="List">
<value name="yes"/>
<value name="no"/>
@@ -1521,11 +1235,9 @@
<XEntityRenderer/>
<XModelAttributes>
<XModelAttribute name="interface">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
<XModelAttribute name="class">
- <Constraint/>
<Editor name="AccessibleJava"/>
</XModelAttribute>
</XModelAttributes>
17 years, 4 months
JBoss Tools SVN: r3318 - in trunk/jst/plugins/org.jboss.tools.jst.web: src/org/jboss/tools/jst/web and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 08:33:31 -0400 (Fri, 24 Aug 2007)
New Revision: 3318
Removed:
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/RedHatVariableInitializer.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web/Preferences.xml
trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml
Log:
JBIDE-840
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/Preferences.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/Preferences.xml 2007-08-24 12:32:48 UTC (rev 3317)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/Preferences.xml 2007-08-24 12:33:31 UTC (rev 3318)
@@ -2,12 +2,6 @@
<XStudio ENTITY="SharableXStudio" NAME="XStudio" SCOPE="project">
<Options ENTITY="SharableOptions" NAME="Options" SCOPE="project">
<StrutsStudio ENTITY="SharableStrutsStudio" NAME="Struts Studio" SCOPE="project">
- <Servlet24Libs ENTITY="SharableServlet24Libs"
- NAME="Servlet 2.4 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.4/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.4/servlet-api.jar"/>
- <Servlet22Libs ENTITY="SharableServlet22Libs"
- NAME="Servlet 2.2 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.2/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.2/servlet.jar"/>
- <Struts10Libs ENTITY="SharableStruts10Libs"
- NAME="Struts 1.0 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/struts-1.0/struts.jar"/>
<Verification ENTITY="SharableVerification" NAME="Verification"
SCOPE="project" error_number_limit="unlimited"/>
<Running ENTITY="SharableRunning" NAME="Running" SCOPE="project"
@@ -50,8 +44,6 @@
<link ENTITY="JSPLink" attribute="name" refer-to="forward" tag="logic:forward"/>
<link ENTITY="JSPLink" attribute="forward" refer-to="forward" tag="logic:redirect"/>
</link-recognizer>]]></LinkRecognizer>
- <Servlet23Libs ENTITY="SharableServlet23Libs"
- NAME="Servlet 2.3 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.3/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.3/servlet.jar"/>
<Project ENTITY="SharableProject" NAME="Project" SCOPE="project">
<StrutsSupport ENTITY="SharableStrutsSupport" NAME="Struts Support" SCOPE="project">
<Struts11Support ENTITY="SharableStruts11Support"
@@ -83,8 +75,6 @@
NAME="Default Error Messages" SCOPE="project" text="errors.required={0} is required.\n\nerrors.minlength={0} can not be less than {1} characters.\nerrors.maxlength={0} can not be greater than {1} characters.\nerrors.invalid={0} is invalid.\n \nerrors.byte={0} must be a byte.\nerrors.short={0} must be a short.\nerrors.integer={0} must be an integer.\nerrors.long={0} must be a long.\nerrors.float={0} must be a float.\nerrors.double={0} must be a double.\n \nerrors.date={0} is not a date.\nerrors.range={0} is not in the range {1} through {2}.\nerrors.creditcard={0} is an invalid credit card number.\nerrors.email={0} is an invalid e-mail address.\n"/>
</ResourcesInsets>
</Automation>
- <Struts11Libs ENTITY="SharableStruts11Libs"
- NAME="Struts 1.1 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-beanutils.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-collections.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-digester.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-fileupload.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-lang.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-logging.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-validator.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/jakarta-oro.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts-legacy.jar"/>
<Editors ENTITY="SharableEditors" NAME="Editors" SCOPE="project"
selectSourceTab="no" tabWidth="4" useRedHatEditors="yes">
<StrutsEditor ENTITY="SharableStrutsEditor" NAME="Web Flow Diagram"
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml 2007-08-24 12:32:48 UTC (rev 3317)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/plugin.xml 2007-08-24 12:33:31 UTC (rev 3318)
@@ -26,10 +26,6 @@
<specialwizard class="org.jboss.tools.jst.web.project.AddServletSupportWizard" id="org.jboss.tools.jst.web.project.AddServletSupportWizard">
</specialwizard>
</extension>
- <extension point="org.eclipse.jdt.core.classpathVariableInitializer">
- <classpathVariableInitializer class="org.jboss.tools.jst.web.RedHatVariableInitializer" variable="REDHAT_LIB_HOME">
- </classpathVariableInitializer>
- </extension>
<extension point="org.jboss.tools.common.model.jspAdopt">
<jspAdopt class="org.jboss.tools.jst.web.tld.model.handlers.JSPAdopt"/>
Deleted: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/RedHatVariableInitializer.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/RedHatVariableInitializer.java 2007-08-24 12:32:48 UTC (rev 3317)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/RedHatVariableInitializer.java 2007-08-24 12:33:31 UTC (rev 3318)
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * 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.jst.web;
-
-import org.eclipse.core.runtime.*;
-import org.eclipse.jdt.core.ClasspathVariableInitializer;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jface.preference.IPreferenceStore;
-
-import org.jboss.tools.common.model.util.EclipseResourceUtil;
-
-public class RedHatVariableInitializer extends ClasspathVariableInitializer {
- public static final String REDHAT_LIB_HOME = "REDHAT_LIB_HOME";
-
- public void initialize(String variable) {
- if (REDHAT_LIB_HOME.equals(variable)) {
- IPath ssLibPath = null;
- IPreferenceStore store = WebModelPlugin.getDefault().getPreferenceStore();
- if (store.contains(REDHAT_LIB_HOME) && !store.isDefault(REDHAT_LIB_HOME)) {
- String value = store.getString(REDHAT_LIB_HOME);
- ssLibPath = new Path(value);
- if (!ssLibPath.toFile().isDirectory()) ssLibPath = null;
- }
-
- if (ssLibPath == null)
- {
- IPath pluginPath = new Path(EclipseResourceUtil.getInstallPath(WebModelPlugin.getDefault()));
- ssLibPath = pluginPath.removeLastSegments(3).append("lib");
- }
- try {
- JavaCore.setClasspathVariable(variable, ssLibPath, new NullProgressMonitor());
- } catch (JavaModelException ex) {
- WebModelPlugin.getPluginLog().logError(ex);
- }
- }
- }
-
- public static void save(IPreferenceStore store) {
- IPath value = JavaCore.getClasspathVariable(REDHAT_LIB_HOME);
- if (value != null) store.setValue(REDHAT_LIB_HOME, value.toString());
- }
-
-}
17 years, 4 months
JBoss Tools SVN: r3317 - in trunk/struts/plugins/org.jboss.tools.struts: src/org/jboss/tools/struts and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 08:32:48 -0400 (Fri, 24 Aug 2007)
New Revision: 3317
Removed:
trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/StrutsStudioVariableInitializer.java
Modified:
trunk/struts/plugins/org.jboss.tools.struts/Preferences.xml
trunk/struts/plugins/org.jboss.tools.struts/plugin.xml
Log:
JBIDE-840
Modified: trunk/struts/plugins/org.jboss.tools.struts/Preferences.xml
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/Preferences.xml 2007-08-24 12:31:49 UTC (rev 3316)
+++ trunk/struts/plugins/org.jboss.tools.struts/Preferences.xml 2007-08-24 12:32:48 UTC (rev 3317)
@@ -2,12 +2,6 @@
<XStudio ENTITY="SharableXStudio" NAME="XStudio" SCOPE="project">
<Options ENTITY="SharableOptions" NAME="Options" SCOPE="project">
<StrutsStudio ENTITY="SharableStrutsStudio" NAME="Struts Studio" SCOPE="project">
- <Servlet24Libs ENTITY="SharableServlet24Libs"
- NAME="Servlet 2.4 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.4/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.4/servlet-api.jar"/>
- <Servlet22Libs ENTITY="SharableServlet22Libs"
- NAME="Servlet 2.2 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.2/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.2/servlet.jar"/>
- <Struts10Libs ENTITY="SharableStruts10Libs"
- NAME="Struts 1.0 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/struts-1.0/struts.jar"/>
<Verification ENTITY="SharableVerification" NAME="Verification"
SCOPE="project" error_number_limit="unlimited"/>
<Running ENTITY="SharableRunning" NAME="Running" SCOPE="project"
@@ -43,8 +37,6 @@
<link ENTITY="JSPLink" attribute="name" refer-to="forward" tag="logic:forward"/>
<link ENTITY="JSPLink" attribute="forward" refer-to="forward" tag="logic:redirect"/>
</link-recognizer>]]></LinkRecognizer>
- <Servlet23Libs ENTITY="SharableServlet23Libs"
- NAME="Servlet 2.3 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.3/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.3/servlet.jar"/>
<Project ENTITY="SharableProject" NAME="Project" SCOPE="project">
<StrutsSupport ENTITY="SharableStrutsSupport" NAME="Struts Support" SCOPE="project">
<Struts11Support ENTITY="SharableStruts11Support"
@@ -76,8 +68,6 @@
NAME="Default Error Messages" SCOPE="project" text="errors.required={0} is required.\n\nerrors.minlength={0} can not be less than {1} characters.\nerrors.maxlength={0} can not be greater than {1} characters.\nerrors.invalid={0} is invalid.\n \nerrors.byte={0} must be a byte.\nerrors.short={0} must be a short.\nerrors.integer={0} must be an integer.\nerrors.long={0} must be a long.\nerrors.float={0} must be a float.\nerrors.double={0} must be a double.\n \nerrors.date={0} is not a date.\nerrors.range={0} is not in the range {1} through {2}.\nerrors.creditcard={0} is an invalid credit card number.\nerrors.email={0} is an invalid e-mail address.\n"/>
</ResourcesInsets>
</Automation>
- <Struts11Libs ENTITY="SharableStruts11Libs"
- NAME="Struts 1.1 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-beanutils.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-collections.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-digester.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-fileupload.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-lang.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-logging.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-validator.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/jakarta-oro.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts-legacy.jar"/>
<Editors ENTITY="SharableEditors" NAME="Editors" SCOPE="project"
selectSourceTab="no" tabWidth="4" useRedHatEditors="yes">
<StrutsEditor ENTITY="SharableStrutsEditor" NAME="Web Flow Diagram"
Modified: trunk/struts/plugins/org.jboss.tools.struts/plugin.xml
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/plugin.xml 2007-08-24 12:31:49 UTC (rev 3316)
+++ trunk/struts/plugins/org.jboss.tools.struts/plugin.xml 2007-08-24 12:32:48 UTC (rev 3317)
@@ -22,10 +22,6 @@
<specialwizard class="org.jboss.tools.struts.webprj.model.helpers.sync.SortFileSystems" id="org.jboss.tools.struts.webprj.model.helpers.sync.SortFileSystems">
</specialwizard>
</extension>
- <extension point="org.eclipse.jdt.core.classpathVariableInitializer">
- <classpathVariableInitializer class="org.jboss.tools.struts.StrutsStudioVariableInitializer" variable=" STRUTSSTUDIO_LIB_HOME">
- </classpathVariableInitializer>
- </extension>
<extension id="strutsnature" point="org.eclipse.core.resources.natures">
<runtime>
<run class="org.jboss.tools.struts.StrutsProject">
Deleted: trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/StrutsStudioVariableInitializer.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/StrutsStudioVariableInitializer.java 2007-08-24 12:31:49 UTC (rev 3316)
+++ trunk/struts/plugins/org.jboss.tools.struts/src/org/jboss/tools/struts/StrutsStudioVariableInitializer.java 2007-08-24 12:32:48 UTC (rev 3317)
@@ -1,60 +0,0 @@
-/*******************************************************************************
- * 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.struts;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.core.ClasspathVariableInitializer;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jface.preference.IPreferenceStore;
-
-import org.jboss.tools.common.model.util.ClassLoaderUtil;
-import org.jboss.tools.jst.web.WebModelPlugin;
-
-public class StrutsStudioVariableInitializer extends ClasspathVariableInitializer {
- public static final String STRUTSSTUDIO_LIB_HOME = "STRUTSSTUDIO_LIB_HOME";
-
- public void initialize(String variable)
- {
- if (STRUTSSTUDIO_LIB_HOME.equals(variable) /*&& JavaCore.getClasspathVariable(variable) == null*/)
- {
- ClassLoaderUtil.init();
- IPath ssLibPath = null;
- IPreferenceStore store = StrutsModelPlugin.getDefault().getPreferenceStore();
- if (store.contains(STRUTSSTUDIO_LIB_HOME) && !store.isDefault(STRUTSSTUDIO_LIB_HOME)) {
- String value = store.getString(STRUTSSTUDIO_LIB_HOME);
- ssLibPath = new Path(value);
- if (!ssLibPath.toFile().isDirectory()) ssLibPath = null;
- }
-
- if (ssLibPath == null) {
- IPath pluginPath = WebModelPlugin.getTemplateStatePath();
-// new Path(EclipseResourceUtil.getInstallPath(Platform.getBundle("org.jboss.tools.common.projecttemplates")));
- //ssLibPath = pluginPath.removeLastSegments(3).append("lib");
- ssLibPath = pluginPath.append("lib");
- }
-
- try {
- JavaCore.setClasspathVariable(variable, ssLibPath, new NullProgressMonitor());
- } catch (JavaModelException ex) {
- StrutsModelPlugin.getPluginLog().logError(ex);
- }
- }
- }
-
- public static void save(IPreferenceStore store)
- {
- IPath value = JavaCore.getClasspathVariable(STRUTSSTUDIO_LIB_HOME);
- if (value != null) store.setValue(STRUTSSTUDIO_LIB_HOME, value.toString());
- }
-}
17 years, 4 months
JBoss Tools SVN: r3316 - in trunk/jsf/plugins/org.jboss.tools.jsf: src/org/jboss/tools/jsf and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-08-24 08:31:49 -0400 (Fri, 24 Aug 2007)
New Revision: 3316
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFStudioVariableInitializer.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/Preferences.xml
trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFModelPlugin.java
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFPreference.java
Log:
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/Preferences.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/Preferences.xml 2007-08-24 08:09:43 UTC (rev 3315)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/Preferences.xml 2007-08-24 12:31:49 UTC (rev 3316)
@@ -2,12 +2,6 @@
<XStudio ENTITY="SharableXStudio" NAME="XStudio" SCOPE="project">
<Options ENTITY="SharableOptions" NAME="Options" SCOPE="project">
<StrutsStudio ENTITY="SharableStrutsStudio" NAME="Struts Studio" SCOPE="project">
- <Servlet24Libs ENTITY="SharableServlet24Libs"
- NAME="Servlet 2.4 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.4/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.4/servlet-api.jar"/>
- <Servlet22Libs ENTITY="SharableServlet22Libs"
- NAME="Servlet 2.2 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.2/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.2/servlet.jar"/>
- <Struts10Libs ENTITY="SharableStruts10Libs"
- NAME="Struts 1.0 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/struts-1.0/struts.jar"/>
<Verification ENTITY="SharableVerification" NAME="Verification"
SCOPE="project" error_number_limit="unlimited"/>
<Running ENTITY="SharableRunning" NAME="Running" SCOPE="project"
@@ -43,8 +37,6 @@
<link ENTITY="JSPLink" attribute="name" refer-to="forward" tag="logic:forward"/>
<link ENTITY="JSPLink" attribute="forward" refer-to="forward" tag="logic:redirect"/>
</link-recognizer>]]></LinkRecognizer>
- <Servlet23Libs ENTITY="SharableServlet23Libs"
- NAME="Servlet 2.3 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/servlet-2.3/jdbc2_0-stdext.jar;STRUTSSTUDIO_LIB_HOME/servlet-2.3/servlet.jar"/>
<Project ENTITY="SharableProject" NAME="Project" SCOPE="project">
<StrutsSupport ENTITY="SharableStrutsSupport" NAME="Struts Support" SCOPE="project">
<Struts11Support ENTITY="SharableStruts11Support"
@@ -76,8 +68,6 @@
NAME="Default Error Messages" SCOPE="project" text="errors.required={0} is required.\n\nerrors.minlength={0} can not be less than {1} characters.\nerrors.maxlength={0} can not be greater than {1} characters.\nerrors.invalid={0} is invalid.\n \nerrors.byte={0} must be a byte.\nerrors.short={0} must be a short.\nerrors.integer={0} must be an integer.\nerrors.long={0} must be a long.\nerrors.float={0} must be a float.\nerrors.double={0} must be a double.\n \nerrors.date={0} is not a date.\nerrors.range={0} is not in the range {1} through {2}.\nerrors.creditcard={0} is an invalid credit card number.\nerrors.email={0} is an invalid e-mail address.\n"/>
</ResourcesInsets>
</Automation>
- <Struts11Libs ENTITY="SharableStruts11Libs"
- NAME="Struts 1.1 Libraries" SCOPE="project" libraries="STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-beanutils.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-collections.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-digester.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-fileupload.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-lang.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-logging.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/commons-validator.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/jakarta-oro.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts.jar;STRUTSSTUDIO_LIB_HOME/struts-1.1/struts-legacy.jar"/>
<Editors ENTITY="SharableEditors" NAME="Editors" SCOPE="project"
selectSourceTab="no" tabWidth="4" useRedHatEditors="yes">
<StrutsEditor ENTITY="SharableStrutsEditor" NAME="Web Flow Diagram"
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml 2007-08-24 08:09:43 UTC (rev 3315)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/plugin.xml 2007-08-24 12:31:49 UTC (rev 3316)
@@ -1575,10 +1575,6 @@
<library name="$nl$/"/>
</runtime>
</extension>
- <extension point="org.eclipse.jdt.core.classpathVariableInitializer">
- <classpathVariableInitializer class="org.jboss.tools.jsf.JSFStudioVariableInitializer" variable="JSFSTUDIO_LIB_HOME">
- </classpathVariableInitializer>
- </extension>
<extension point="org.jboss.tools.common.model.jspAdopt">
<jspAdopt class="org.jboss.tools.jsf.model.handlers.JSPAdopt"/>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFModelPlugin.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFModelPlugin.java 2007-08-24 08:09:43 UTC (rev 3315)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFModelPlugin.java 2007-08-24 12:31:49 UTC (rev 3316)
@@ -48,7 +48,6 @@
PreferenceModelUtilities.initPreferenceValue(initialModel, JSFPreference.DEFAULT_JSF_SERVLET_VERSION);
PreferenceModelUtilities.initPreferenceValue(initialModel, JSFPreference.REGISTER_NEW_JSF_PROJECT_IN_TOMCAT);
PreferenceModelUtilities.initPreferenceValue(initialModel, JSFPreference.REGISTER_IMPORTED_JSF_PROJECT_IN_TOMCAT);
- PreferenceModelUtilities.initPreferenceValue(initialModel, JSFPreference.JSF_10_LIBRARIES);
PreferenceModelUtilities.getPreferenceModel().save();
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFPreference.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFPreference.java 2007-08-24 08:09:43 UTC (rev 3315)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFPreference.java 2007-08-24 12:31:49 UTC (rev 3316)
@@ -15,7 +15,6 @@
public class JSFPreference extends WebPreference {
public static final String OPTIONS_JSFSTUDIO_PATH = OPTIONS_PATH + "/JSF Studio";
- public static final String OPTIONS_JSF_10_LIB_PATH = OPTIONS_JSFSTUDIO_PATH + "/JSF 1.0 Libraries";
public static final String OPTIONS_JSF_PROJECT_PATH = OPTIONS_JSFSTUDIO_PATH + "/Project";
public static final String OPTIONS_JSF_NEW_PROJECT_PATH = OPTIONS_JSF_PROJECT_PATH + "/New Project";
public static final String OPTIONS_JSF_IMPORT_PROJECT_PATH = OPTIONS_JSF_PROJECT_PATH + "/Import Project";
@@ -31,7 +30,6 @@
public static final Preference DEFAULT_JSF_IMPORT_SERVLET_VERSION = new JSFPreference(OPTIONS_JSF_IMPORT_PROJECT_PATH, "Servlet Version");
public static final Preference REGISTER_NEW_JSF_PROJECT_IN_TOMCAT = new JSFPreference(OPTIONS_JSF_NEW_PROJECT_PATH, ATTR_REGISTER_IN_TOMCAT);
public static final Preference REGISTER_IMPORTED_JSF_PROJECT_IN_TOMCAT = new JSFPreference(OPTIONS_JSF_IMPORT_PROJECT_PATH, ATTR_REGISTER_IN_TOMCAT);
- public static final Preference JSF_10_LIBRARIES = new JSFPreference(OPTIONS_JSF_10_LIB_PATH, "Libraries");
public static final Preference DO_NOT_CREATE_EMPTY_RULE = new JSFPreference(JSF_EDITOR_PATH, "doNotCreateEmptyRule");
public static final Preference ENABLE_CONTROL_MODE_ON_TRANSITION_COMPLETED = new JSFPreference(JSF_EDITOR_PATH, "enableControlModeOnTransitionCompleted");
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFStudioVariableInitializer.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFStudioVariableInitializer.java 2007-08-24 08:09:43 UTC (rev 3315)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/JSFStudioVariableInitializer.java 2007-08-24 12:31:49 UTC (rev 3316)
@@ -1,59 +0,0 @@
-/*******************************************************************************
- * 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.jsf;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.core.ClasspathVariableInitializer;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jface.preference.IPreferenceStore;
-
-import org.jboss.tools.common.model.util.ClassLoaderUtil;
-import org.jboss.tools.jst.web.WebModelPlugin;
-
-public class JSFStudioVariableInitializer extends ClasspathVariableInitializer {
- public static final String JSFSTUDIO_LIB_HOME = "JSFSTUDIO_LIB_HOME";
-
- public void initialize(String variable)
- {
- if (JSFSTUDIO_LIB_HOME.equals(variable) /*&& JavaCore.getClasspathVariable(variable) == null*/)
- {
- ClassLoaderUtil.init();
- IPath ssLibPath = null;
- IPreferenceStore store = JSFModelPlugin.getDefault().getPreferenceStore();
- if (store.contains(JSFSTUDIO_LIB_HOME) && !store.isDefault(JSFSTUDIO_LIB_HOME))
- {
- String value = store.getString(JSFSTUDIO_LIB_HOME);
- ssLibPath = new Path(value);
- if (!ssLibPath.toFile().isDirectory()) ssLibPath = null;
- }
-
- if (ssLibPath == null)
- {
- IPath pluginPath = WebModelPlugin.getTemplateStatePath();
- ssLibPath = pluginPath.append("lib");
- }
-
- try {
- JavaCore.setClasspathVariable(variable, ssLibPath, new NullProgressMonitor());
- } catch (JavaModelException ex) {
- JSFModelPlugin.getPluginLog().logError(ex);
- }
- }
- }
-
- public static void save(IPreferenceStore store) {
- IPath value = JavaCore.getClasspathVariable(JSFSTUDIO_LIB_HOME);
- if (value != null) store.setValue(JSFSTUDIO_LIB_HOME, value.toString());
- }
-}
17 years, 4 months