JBoss Tools SVN: r24325 - in branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model: src/org/jboss/tools/smooks/model/core and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2010-08-20 04:27:51 -0400 (Fri, 20 Aug 2010)
New Revision: 24325
Added:
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreAdapterFactory.java
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreSwitch.java
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java
Modified:
branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/META-INF/MANIFEST.MF
Log:
JBIDE-6776
re-Add java mapping viewer
Modified: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/META-INF/MANIFEST.MF
===================================================================
--- branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/META-INF/MANIFEST.MF 2010-08-20 08:14:24 UTC (rev 24324)
+++ branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/META-INF/MANIFEST.MF 2010-08-20 08:27:51 UTC (rev 24325)
@@ -13,7 +13,9 @@
org.eclipse.emf.edit
Export-Package: org.jboss.tools.smooks.model,
org.jboss.tools.smooks.model.core,
- org.jboss.tools.smooks.model.javabean
+ org.jboss.tools.smooks.model.core.util,
+ org.jboss.tools.smooks.model.javabean,
+ org.jboss.tools.smooks.model.javabean.util
Bundle-ClassPath: .,
libs/commons-beanutils-1.8.3.jar,
libs/commons-beanutils-bean-collections-1.8.3.jar,
Added: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreAdapterFactory.java
===================================================================
--- branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreAdapterFactory.java (rev 0)
+++ branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreAdapterFactory.java 2010-08-20 08:27:51 UTC (rev 24325)
@@ -0,0 +1,181 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.core.util;
+
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.jboss.tools.smooks.model.core.GlobalParams;
+import org.jboss.tools.smooks.model.core.IComponent;
+import org.jboss.tools.smooks.model.core.ICorePackage;
+import org.jboss.tools.smooks.model.core.IParam;
+import org.jboss.tools.smooks.model.core.IParams;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see core.CorePackage
+ * @generated
+ */
+public class CoreAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ICorePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CoreAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = ICorePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CoreSwitch<Adapter> modelSwitch =
+ new CoreSwitch<Adapter>() {
+
+ @Override
+ public Adapter caseParam(IParam object) {
+ return createParamAdapter();
+ }
+ @Override
+ public Adapter caseParams(IParams object) {
+ return createParamsAdapter();
+ }
+ @Override
+ public Adapter caseGlobalParams(GlobalParams object) {
+ return createGlobalParamsAdapter();
+ }
+ @Override
+ public Adapter caseComponent(IComponent object) {
+ return createComponentAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link core.Param <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see core.Param
+ * @generated
+ */
+ public Adapter createParamAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link core.Params <em>Params</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see core.Params
+ * @generated
+ */
+ public Adapter createParamsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link core.GlobalParams <em>Global Params</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see core.GlobalParams
+ * @generated
+ */
+ public Adapter createGlobalParamsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link core.Component <em>Component</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see core.Component
+ * @generated
+ */
+ public Adapter createComponentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //CoreAdapterFactory
Property changes on: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreSwitch.java
===================================================================
--- branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreSwitch.java (rev 0)
+++ branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreSwitch.java 2010-08-20 08:27:51 UTC (rev 24325)
@@ -0,0 +1,197 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.core.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.jboss.tools.smooks.model.core.GlobalParams;
+import org.jboss.tools.smooks.model.core.IComponent;
+import org.jboss.tools.smooks.model.core.ICorePackage;
+import org.jboss.tools.smooks.model.core.IParam;
+import org.jboss.tools.smooks.model.core.IParams;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see core.CorePackage
+ * @generated
+ */
+public class CoreSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ICorePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CoreSwitch() {
+ if (modelPackage == null) {
+ modelPackage = ICorePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case ICorePackage.PARAM: {
+ IParam param = (IParam)theEObject;
+ T result = caseParam(param);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ICorePackage.PARAMS: {
+ IParams params = (IParams)theEObject;
+ T result = caseParams(params);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ICorePackage.GLOBAL_PARAMS: {
+ GlobalParams globalParams = (GlobalParams)theEObject;
+ T result = caseGlobalParams(globalParams);
+ if (result == null) result = caseParams(globalParams);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ICorePackage.COMPONENT: {
+ IComponent component = (IComponent)theEObject;
+ T result = caseComponent(component);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Param</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Param</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParam(IParam object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Params</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Params</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParams(IParams object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Global Params</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Global Params</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseGlobalParams(GlobalParams object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Component</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Component</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComponent(IComponent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //CoreSwitch
Property changes on: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/core/util/CoreSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java
===================================================================
--- branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java (rev 0)
+++ branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java 2010-08-20 08:27:51 UTC (rev 24325)
@@ -0,0 +1,218 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.util;
+
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.jboss.tools.smooks.model.core.IComponent;
+import org.jboss.tools.smooks.model.javabean.IBean;
+import org.jboss.tools.smooks.model.javabean.IDecodeParam;
+import org.jboss.tools.smooks.model.javabean.IExpression;
+import org.jboss.tools.smooks.model.javabean.IJavaBeanPackage;
+import org.jboss.tools.smooks.model.javabean.IValue;
+import org.jboss.tools.smooks.model.javabean.IWiring;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see javabean.JavabeanPackage
+ * @generated
+ */
+public class JavabeanAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static IJavaBeanPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = IJavaBeanPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JavabeanSwitch<Adapter> modelSwitch =
+ new JavabeanSwitch<Adapter>() {
+ @Override
+ public Adapter caseDecodeParam(IDecodeParam object) {
+ return createDecodeParamAdapter();
+ }
+ @Override
+ public Adapter caseWiring(IWiring object) {
+ return createWiringAdapter();
+ }
+ @Override
+ public Adapter caseExpression(IExpression object) {
+ return createExpressionAdapter();
+ }
+ @Override
+ public Adapter caseValue(IValue object) {
+ return createValueAdapter();
+ }
+ @Override
+ public Adapter caseBean(IBean object) {
+ return createBeanAdapter();
+ }
+ @Override
+ public Adapter caseComponent(IComponent object) {
+ return createComponentAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link javabean.DecodeParam <em>Decode Param</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see javabean.DecodeParam
+ * @generated
+ */
+ public Adapter createDecodeParamAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link javabean.Wiring <em>Wiring</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see javabean.Wiring
+ * @generated
+ */
+ public Adapter createWiringAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link javabean.Expression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see javabean.Expression
+ * @generated
+ */
+ public Adapter createExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link javabean.Value <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see javabean.Value
+ * @generated
+ */
+ public Adapter createValueAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link javabean.Bean <em>Bean</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see javabean.Bean
+ * @generated
+ */
+ public Adapter createBeanAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link core.Component <em>Component</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see core.Component
+ * @generated
+ */
+ public Adapter createComponentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //JavabeanAdapterFactory
Property changes on: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java
===================================================================
--- branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java (rev 0)
+++ branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java 2010-08-20 08:27:51 UTC (rev 24325)
@@ -0,0 +1,237 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.util;
+
+
+import java.util.List;
+
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.jboss.tools.smooks.model.core.IComponent;
+import org.jboss.tools.smooks.model.javabean.IBean;
+import org.jboss.tools.smooks.model.javabean.IDecodeParam;
+import org.jboss.tools.smooks.model.javabean.IExpression;
+import org.jboss.tools.smooks.model.javabean.IJavaBeanPackage;
+import org.jboss.tools.smooks.model.javabean.IValue;
+import org.jboss.tools.smooks.model.javabean.IWiring;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see javabean.JavabeanPackage
+ * @generated
+ */
+public class JavabeanSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static IJavaBeanPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanSwitch() {
+ if (modelPackage == null) {
+ modelPackage = IJavaBeanPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case IJavaBeanPackage.DECODE_PARAM: {
+ IDecodeParam decodeParam = (IDecodeParam)theEObject;
+ T result = caseDecodeParam(decodeParam);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case IJavaBeanPackage.WIRING: {
+ IWiring wiring = (IWiring)theEObject;
+ T result = caseWiring(wiring);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case IJavaBeanPackage.EXPRESSION: {
+ IExpression expression = (IExpression)theEObject;
+ T result = caseExpression(expression);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case IJavaBeanPackage.VALUE: {
+ IValue value = (IValue)theEObject;
+ T result = caseValue(value);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case IJavaBeanPackage.BEAN: {
+ IBean bean = (IBean)theEObject;
+ T result = caseBean(bean);
+ if (result == null) result = caseComponent(bean);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Decode Param</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Decode Param</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDecodeParam(IDecodeParam object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Wiring</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Wiring</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseWiring(IWiring object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Expression</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExpression(IExpression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Value</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Value</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseValue(IValue object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Bean</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Bean</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBean(IBean object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Component</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Component</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComponent(IComponent object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //JavabeanSwitch
Property changes on: branches/smooks-dmb/plugins/org.jboss.tools.smooks.ecore.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 4 months
JBoss Tools SVN: r24324 - in trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test: src/org/jboss/tools/jsf/vpe/jsf/test and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2010-08-20 04:14:24 -0400 (Fri, 20 Aug 2010)
New Revision: 24324
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/components/head2.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfComponentContentTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6530 , after fixing https://jira.jboss.org/browse/JBIDE-6600 <title> has no visual representation.
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/components/head2.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/components/head2.xhtml.xml 2010-08-20 03:15:45 UTC (rev 24323)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/components/head2.xhtml.xml 2010-08-20 08:14:24 UTC (rev 24324)
@@ -1,7 +1,7 @@
<tests>
<test id="head1">
- <div>
- <h1>JSF 2.0 Test</h1>
- </div>
+ <DIV STYLE="display: none; -moz-user-modify: read-only;">
+ <BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"/>
+ </DIV>
</test>
</tests>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-08-20 03:15:45 UTC (rev 24323)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-08-20 08:14:24 UTC (rev 24324)
@@ -126,6 +126,14 @@
TestSuite suite = new TestSuite("Tests for Vpe Jsf components"); //$NON-NLS-1$
// $JUnit-BEGIN$
+ /*
+ * Content tests
+ */
+ suite.addTestSuite(JsfComponentContentTest.class);
+ suite.addTestSuite(Jsf20ComponentContentTest.class);
+ /*
+ * Other tests
+ */
suite.addTestSuite(DocBookTemplatesTest.class);
suite.addTestSuite(DnD_JBIDE5042_JBIDE6229_Test.class);
suite.addTestSuite(UnclosedELExpressionTest.class);
@@ -140,7 +148,6 @@
suite.addTestSuite(MozDirtyTest_JBIDE5105.class);
suite.addTestSuite(VpeI18nTest_JBIDE4887.class);
suite.addTestSuite(JsfComponentTest.class);
- suite.addTestSuite(Jsf20ComponentContentTest.class);
suite.addTestSuite(JBIDE3519Test.class);
suite.addTestSuite(ContextMenuDoubleInsertionTest_JBIDE3888.class);
suite.addTestSuite(SelectAllAndCut_JBIDE4853.class);
@@ -179,7 +186,6 @@
suite.addTestSuite(JBIDE2526Test.class);
suite.addTestSuite(JBIDE2624Test.class);
suite.addTestSuite(JBIDE1805Test.class);
- suite.addTestSuite(JsfComponentContentTest.class);
suite.addTestSuite(JBIDE2774Test.class);
suite.addTestSuite(JBIDE2828Test.class);
suite.addTestSuite(JBIDE3030Test.class);
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfComponentContentTest.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfComponentContentTest.java 2010-08-20 03:15:45 UTC (rev 24323)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfComponentContentTest.java 2010-08-20 08:14:24 UTC (rev 24324)
@@ -123,10 +123,6 @@
performContentTest("components/selectOneRadio.jsp"); //$NON-NLS-1$
}
- /*
- * JSF Core test cases
- */
-
public void testActionListener() throws Throwable {
performInvisibleTagTest(
"components/actionListener.jsp", "actionListener"); //$NON-NLS-1$ //$NON-NLS-2$
15 years, 4 months
JBoss Tools SVN: r24323 - in trunk: site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-19 23:15:45 -0400 (Thu, 19 Aug 2010)
New Revision: 24323
Modified:
trunk/build/aggregate/site/site.xml
trunk/site/site.xml
Log:
do not put gwt stuff in AllTools catg
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2010-08-20 03:02:36 UTC (rev 24322)
+++ trunk/build/aggregate/site/site.xml 2010-08-20 03:15:45 UTC (rev 24323)
@@ -189,9 +189,9 @@
<category name="AllTools" />
</feature>
+ <!-- JBIDE- 6836 DO NOT PUT IN AllTools CATEGORY -->
<feature url="features/org.jboss.tools.gwt.feature_0.0.0.jar" id="org.jboss.tools.gwt.feature" version="0.0.0">
<category name="GeneralTools" />
- <category name="AllTools" />
</feature>
<feature url="features/org.jboss.tools.deltacloud.feature_0.0.0.jar" id="org.jboss.tools.deltacloud.feature" version="0.0.0">
Modified: trunk/site/site.xml
===================================================================
--- trunk/site/site.xml 2010-08-20 03:02:36 UTC (rev 24322)
+++ trunk/site/site.xml 2010-08-20 03:15:45 UTC (rev 24323)
@@ -189,9 +189,9 @@
<category name="AllTools" />
</feature>
+ <!-- JBIDE- 6836 DO NOT PUT IN AllTools CATEGORY -->
<feature url="features/org.jboss.tools.gwt.feature_0.0.0.jar" id="org.jboss.tools.gwt.feature" version="0.0.0">
<category name="GeneralTools" />
- <category name="AllTools" />
</feature>
<feature url="features/org.jboss.tools.deltacloud.feature_0.0.0.jar" id="org.jboss.tools.deltacloud.feature" version="0.0.0">
15 years, 4 months
JBoss Tools SVN: r24322 - trunk/deltacloud/features.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-19 23:02:36 -0400 (Thu, 19 Aug 2010)
New Revision: 24322
Modified:
trunk/deltacloud/features/pom.xml
Log:
refactor features to use .feature suffix
Modified: trunk/deltacloud/features/pom.xml
===================================================================
--- trunk/deltacloud/features/pom.xml 2010-08-20 02:52:25 UTC (rev 24321)
+++ trunk/deltacloud/features/pom.xml 2010-08-20 03:02:36 UTC (rev 24322)
@@ -7,7 +7,7 @@
<name>deltacloud.features</name>
<packaging>pom</packaging>
<modules>
- <module>org.jboss.tools.deltacloud-feature</module>
+ <module>org.jboss.tools.deltacloud.feature</module>
</modules>
</project>
15 years, 4 months
JBoss Tools SVN: r24321 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-19 22:52:25 -0400 (Thu, 19 Aug 2010)
New Revision: 24321
Modified:
trunk/build/aggregate/site/build.xml
Log:
more verbose output
Modified: trunk/build/aggregate/site/build.xml
===================================================================
--- trunk/build/aggregate/site/build.xml 2010-08-20 02:45:15 UTC (rev 24320)
+++ trunk/build/aggregate/site/build.xml 2010-08-20 02:52:25 UTC (rev 24321)
@@ -182,12 +182,11 @@
<for list="${inputRepos}" delimiter=", " keepgoing="true" param="repoNum">
<sequential>
<!-- fetch zip.list.txt file, if available -->
- <delete file="${aggegate.zips.dir}/zip.list.txt" quiet="true" />
- <var unset="true" name="ALL_ZIPS" value="" />
- <var unset="true" name="wget.return" value="" />
+ <var unset="true" name="ALL_ZIPS" />
+ <var unset="true" name="wget.return" />
<!-- quieter output and return code check w/ wget instead of <get> -->
<exec executable="wget" dir="${aggegate.zips.dir}" failonerror="false" failifexecutionfails="true" resultproperty="wget.return">
- <arg line="${inputRepo(a){repoNum}}/logs/zip.list.txt -q --no-clobber" />
+ <arg line="${inputRepo(a){repoNum}}/logs/zip.list.txt --no-clobber" />
</exec>
<!--get src="${inputRepo(a){repoNum}}/logs/zip.list.txt" dest="${aggegate.zips.dir}/zip.list.txt" ignoreerrors="true" /-->
<if>
@@ -197,8 +196,7 @@
</and>
<then>
<!-- load zip.list.txt file, get ALL_ZIPS list -->
- <var unset="true" name="ALL_ZIPS" value="" />
- <var unset="true" name="wget.return" value="" />
+ <var unset="true" name="ALL_ZIPS" />
<property file="${aggegate.zips.dir}/zip.list.txt" />
<if>
<isset property="ALL_ZIPS" />
@@ -214,7 +212,7 @@
replace="\1" />
<mkdir dir="${aggegate.zips.dir}/${relativePath}" />
<!-- fetch zips to local dir -->
- <echo level="debug">repoNum = @{repoNum}
+ <echo>repoNum = @{repoNum}
relativePath = ${relativePath}
zipPath = @{zipPath}
URL = ${inputRepo@{repoNum}}/@{zipPath}
@@ -229,7 +227,7 @@
<var name="relativePath" unset="true" />
</then>
</if>
- <var unset="true" name="ALL_ZIPS" value="" />
+ <var unset="true" name="ALL_ZIPS" />
<delete file="${aggegate.zips.dir}/zip.list.txt" quiet="true" />
</then>
</if>
15 years, 4 months
JBoss Tools SVN: r24320 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-19 22:45:15 -0400 (Thu, 19 Aug 2010)
New Revision: 24320
Modified:
trunk/build/aggregate/site/site.xml
Log:
refactor features to use .feature suffix
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2010-08-20 02:43:07 UTC (rev 24319)
+++ trunk/build/aggregate/site/site.xml 2010-08-20 02:45:15 UTC (rev 24320)
@@ -3,18 +3,25 @@
<!-- This file is only used when building with Tycho.
If building with Ant (trunk/build/build.xml), see category.*.xml -->
<description>
- JBoss Tools 3.2.0 Update Site / p2 Repo
- </description>
+ JBoss Tools 3.2.0 Update Site / p2 Repo
+ </description>
<!-- only in JBDS -->
<!--
<feature url="features/com.jboss.jbds.product.feature_0.0.0.jar"
- id="com.jboss.jbds.product.feature"
- version="0.0.0"
- patch="false"
+ id="com.jboss.jbds.product.feature"
+ version="0.0.0"
+ patch="false"
>
<category name="AllTools" />
</feature>
+ <feature url="features/org.jboss.tools.runtime.feature_0.0.0.jar"
+ id="org.jboss.tools.runtime.feature"
+ version="0.0.0"
+ patch="false"
+ >
+ <category name="AllTools" />
+ </feature>
-->
<feature url="features/org.jboss.tools.richfaces.feature_0.0.0.jar" id="org.jboss.tools.richfaces.feature" version="0.0.0">
<category name="AllTools" />
@@ -100,8 +107,11 @@
<category name="AllTools"/>
</feature>
-->
+
<!-- only in JBT -->
- <feature url="features/org.jboss.tools.community.project.examples.feature_0.0.0.jar" id="org.jboss.tools.community.project.examples.feature" version="0.0.0" >
+ <feature url="features/org.jboss.tools.community.project.examples.feature_0.0.0.jar"
+ id="org.jboss.tools.community.project.examples.feature"
+ version="0.0.0">
<category name="AllTools" />
<category name="GeneralTools" />
</feature>
@@ -127,12 +137,11 @@
<category name="MavenTools" />
</feature>
- <!-- XulRunner requires version in declaration to avoid include latest 1.9.2 in build -->
- <!-- DO NOT REMOVE VERSIONS FROM XULRUNNER FEATURE OR IT PIKS UP LAST ONE WHICH IS 1.9.2 -->
- <feature url="features/org.mozilla.xulrunner.feature_1.9.1.2.jar" id="org.mozilla.xulrunner.feature" version="1.9.1.2">
+ <feature url="features/org.jboss.tools.xulrunner.feature_0.0.0.jar" id="org.jboss.tools.xulrunner.feature" version="0.0.0">
<category name="AllTools" />
<category name="WebTools" />
</feature>
+
<!-- TODO: enable SDK features once we can build source plugins w/ Tycho -->
<!-- <feature url="features/org.jboss.tools.jmx.sdk.feature_0.0.0.jar" id="org.jboss.tools.jmx.sdk.feature"
version="0.0.0"> <category name="SDKTools"/> </feature> <feature url="features/org.jboss.ide.eclipse.freemarker.sdk.feature_0.0.0.jar"
@@ -165,27 +174,35 @@
<category name="AllTools" />
<category name="SOATools" />
</feature>
+
<feature url="features/org.jboss.tools.bpel.feature_0.0.0.jar" id="org.jboss.tools.bpel.feature" version="0.0.0">
<category name="AllTools" />
<category name="SOATools" />
</feature>
+
<feature url="features/org.jboss.tools.modeshape.rest.feature_0.0.0.jar" id="org.jboss.tools.modeshape.rest.feature" version="0.0.0">
<category name="AllTools" />
<category name="GeneralTools" />
</feature>
+
<feature url="features/org.jboss.tools.runtime.feature_0.0.0.jar" id="org.jboss.tools.runtime.feature" version="0.0.0">
- <category name="AllTools"/>
+ <category name="AllTools" />
</feature>
+
<feature url="features/org.jboss.tools.gwt.feature_0.0.0.jar" id="org.jboss.tools.gwt.feature" version="0.0.0">
- <category name="GeneralTools"/>
+ <category name="GeneralTools" />
+ <category name="AllTools" />
</feature>
- <feature url="features/org.jboss.tools.usage_0.0.0.jar" id="org.jboss.tools.usage" version="0.0.0">
- <category name="AllTools"/>
+
+ <feature url="features/org.jboss.tools.deltacloud.feature_0.0.0.jar" id="org.jboss.tools.deltacloud.feature" version="0.0.0">
+ <category name="CloudTools" />
+ <category name="AllTools" />
</feature>
- <feature url="features/org.jboss.tools.deltacloud_0.0.0.jar" id="org.jboss.tools.deltacloud" version="0.0.0">
- <category name="CloudTools"/>
+
+ <feature url="features/org.jboss.tools.usage.feature_0.0.0.jar" id="org.jboss.tools.usage.feature" version="0.0.0">
+ <category name="AllTools" />
</feature>
-
+
<!-- categories - see also ../../../common/aggregateRepos.*.properties -->
<category-def name="SDKTools" label="JBoss Tools SDK">
<description>JBoss Tools SDK contains plugins where an SDK package
@@ -249,13 +266,12 @@
</description>
</category-def>
- <category-def>
- <category-def name="CloudTools" label="Cloud">
- <description>
- Tools for Cloud Development
- </description>
+ <category-def name="CloudTools" label="Cloud">
+ <description>Tools for Cloud Development
+ </description>
</category-def>
+
<!-- aggregated from other sources -->
<feature url="features/org.pi4soa.core.feature_0.0.0.jar" id="org.pi4soa.core.feature" version="0.0.0">
<category name="AllTools" />
15 years, 4 months
JBoss Tools SVN: r24319 - in trunk: deltacloud/features/org.jboss.tools.deltacloud.feature and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2010-08-19 22:43:07 -0400 (Thu, 19 Aug 2010)
New Revision: 24319
Added:
trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/
trunk/usage/features/org.jboss.tools.usage.feature/
trunk/usage/features/org.jboss.tools.usage.test.feature/
Removed:
trunk/deltacloud/features/org.jboss.tools.deltacloud-feature/
trunk/usage/features/org.jboss.tools.usage.test/
trunk/usage/features/org.jboss.tools.usage/
Modified:
trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/feature.xml
trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/pom.xml
trunk/site/site.xml
trunk/usage/features/org.jboss.tools.usage.feature/feature.xml
trunk/usage/features/org.jboss.tools.usage.feature/pom.xml
trunk/usage/features/org.jboss.tools.usage.test.feature/feature.xml
trunk/usage/features/org.jboss.tools.usage.test.feature/pom.xml
trunk/usage/features/pom.xml
Log:
refactor features to use .feature suffix
Copied: trunk/deltacloud/features/org.jboss.tools.deltacloud.feature (from rev 24318, trunk/deltacloud/features/org.jboss.tools.deltacloud-feature)
Modified: trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/feature.xml
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud-feature/feature.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/feature.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
- id="org.jboss.tools.deltacloud"
+ id="org.jboss.tools.deltacloud.feature"
label="%featureName"
version="1.0.0.qualifier"
provider-name="%providerName">
Modified: trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/pom.xml
===================================================================
--- trunk/deltacloud/features/org.jboss.tools.deltacloud-feature/pom.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/deltacloud/features/org.jboss.tools.deltacloud.feature/pom.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -7,7 +7,7 @@
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.tools.deltacloud.features</groupId>
- <artifactId>org.jboss.tools.deltacloud</artifactId>
+ <artifactId>org.jboss.tools.deltacloud.feature</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
Modified: trunk/site/site.xml
===================================================================
--- trunk/site/site.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/site/site.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -194,12 +194,12 @@
<category name="AllTools" />
</feature>
- <feature url="features/org.jboss.tools.deltacloud_0.0.0.jar" id="org.jboss.tools.deltacloud" version="0.0.0">
+ <feature url="features/org.jboss.tools.deltacloud.feature_0.0.0.jar" id="org.jboss.tools.deltacloud.feature" version="0.0.0">
<category name="CloudTools" />
<category name="AllTools" />
</feature>
- <feature url="features/org.jboss.tools.usage_0.0.0.jar" id="org.jboss.tools.usage" version="0.0.0">
+ <feature url="features/org.jboss.tools.usage.feature_0.0.0.jar" id="org.jboss.tools.usage.feature" version="0.0.0">
<category name="AllTools" />
</feature>
Copied: trunk/usage/features/org.jboss.tools.usage.feature (from rev 24318, trunk/usage/features/org.jboss.tools.usage)
Modified: trunk/usage/features/org.jboss.tools.usage.feature/feature.xml
===================================================================
--- trunk/usage/features/org.jboss.tools.usage/feature.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/usage/features/org.jboss.tools.usage.feature/feature.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
- id="org.jboss.tools.usage"
+ id="org.jboss.tools.usage.feature"
label="%featureName"
version="1.0.0.qualifier"
provider-name="%providerName">
Modified: trunk/usage/features/org.jboss.tools.usage.feature/pom.xml
===================================================================
--- trunk/usage/features/org.jboss.tools.usage/pom.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/usage/features/org.jboss.tools.usage.feature/pom.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -7,7 +7,7 @@
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.tools.usage.features</groupId>
- <artifactId>org.jboss.tools.usage</artifactId>
+ <artifactId>org.jboss.tools.usage.feature</artifactId>
<name>org.jboss.tools.usage.feature</name>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
Copied: trunk/usage/features/org.jboss.tools.usage.test.feature (from rev 24318, trunk/usage/features/org.jboss.tools.usage.test)
Modified: trunk/usage/features/org.jboss.tools.usage.test.feature/feature.xml
===================================================================
--- trunk/usage/features/org.jboss.tools.usage.test/feature.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/usage/features/org.jboss.tools.usage.test.feature/feature.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
- id="org.jboss.tools.usage.test"
+ id="org.jboss.tools.usage.test.feature"
label="JBoss Tools Usage Reporting Test Feature"
version="1.0.0.qualifier">
Modified: trunk/usage/features/org.jboss.tools.usage.test.feature/pom.xml
===================================================================
--- trunk/usage/features/org.jboss.tools.usage.test/pom.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/usage/features/org.jboss.tools.usage.test.feature/pom.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -7,7 +7,7 @@
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.tools.usage.features</groupId>
- <artifactId>org.jboss.tools.usage.test</artifactId>
+ <artifactId>org.jboss.tools.usage.test.feature</artifactId>
<name>org.jboss.tools.usage.test.feature</name>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
Modified: trunk/usage/features/pom.xml
===================================================================
--- trunk/usage/features/pom.xml 2010-08-20 01:03:18 UTC (rev 24318)
+++ trunk/usage/features/pom.xml 2010-08-20 02:43:07 UTC (rev 24319)
@@ -7,8 +7,8 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
- <module>org.jboss.tools.usage</module>
- <module>org.jboss.tools.usage.test</module>
+ <module>org.jboss.tools.usage.feature</module>
+ <module>org.jboss.tools.usage.test.feature</module>
</modules>
</project>
15 years, 4 months
JBoss Tools SVN: r24318 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-19 21:03:18 -0400 (Thu, 19 Aug 2010)
New Revision: 24318
Modified:
trunk/build/aggregate/site/site.xml
Log:
one more comment for aggregation update site:
- xulrunner feature should contain version in it to pick up 1.9.1.2
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2010-08-20 00:57:04 UTC (rev 24317)
+++ trunk/build/aggregate/site/site.xml 2010-08-20 01:03:18 UTC (rev 24318)
@@ -128,11 +128,11 @@
</feature>
<!-- XulRunner requires version in declaration to avoid include latest 1.9.2 in build -->
- <feature url="features/org.mozilla.xpcom.feature_1.9.1.2a.jar" id="org.mozilla.xpcom.feature" version="1.9.1.2a">
+ <!-- DO NOT REMOVE VERSIONS FROM XULRUNNER FEATURE OR IT PIKS UP LAST ONE WHICH IS 1.9.2 -->
+ <feature url="features/org.mozilla.xulrunner.feature_1.9.1.2.jar" id="org.mozilla.xulrunner.feature" version="1.9.1.2">
<category name="AllTools" />
<category name="WebTools" />
</feature>
-
<!-- TODO: enable SDK features once we can build source plugins w/ Tycho -->
<!-- <feature url="features/org.jboss.tools.jmx.sdk.feature_0.0.0.jar" id="org.jboss.tools.jmx.sdk.feature"
version="0.0.0"> <category name="SDKTools"/> </feature> <feature url="features/org.jboss.ide.eclipse.freemarker.sdk.feature_0.0.0.jar"
15 years, 4 months
JBoss Tools SVN: r24317 - trunk/build/aggregate/site.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2010-08-19 20:57:04 -0400 (Thu, 19 Aug 2010)
New Revision: 24317
Modified:
trunk/build/aggregate/site/site.xml
Log:
merged last changes from nickbolt with fixes:
- GWT should be ONLY in Application Development category
- runtime feature was included twice
Modified: trunk/build/aggregate/site/site.xml
===================================================================
--- trunk/build/aggregate/site/site.xml 2010-08-20 00:46:35 UTC (rev 24316)
+++ trunk/build/aggregate/site/site.xml 2010-08-20 00:57:04 UTC (rev 24317)
@@ -3,25 +3,18 @@
<!-- This file is only used when building with Tycho.
If building with Ant (trunk/build/build.xml), see category.*.xml -->
<description>
- JBoss Tools 3.2.0 Update Site / p2 Repo
- </description>
+ JBoss Tools 3.2.0 Update Site / p2 Repo
+ </description>
<!-- only in JBDS -->
<!--
<feature url="features/com.jboss.jbds.product.feature_0.0.0.jar"
- id="com.jboss.jbds.product.feature"
- version="0.0.0"
- patch="false"
+ id="com.jboss.jbds.product.feature"
+ version="0.0.0"
+ patch="false"
>
<category name="AllTools" />
</feature>
- <feature url="features/org.jboss.tools.runtime.feature_0.0.0.jar"
- id="org.jboss.tools.runtime.feature"
- version="0.0.0"
- patch="false"
- >
- <category name="AllTools" />
- </feature>
-->
<feature url="features/org.jboss.tools.richfaces.feature_0.0.0.jar" id="org.jboss.tools.richfaces.feature" version="0.0.0">
<category name="AllTools" />
@@ -107,11 +100,8 @@
<category name="AllTools"/>
</feature>
-->
-
<!-- only in JBT -->
- <feature url="features/org.jboss.tools.community.project.examples.feature_0.0.0.jar"
- id="org.jboss.tools.community.project.examples.feature"
- version="0.0.0">
+ <feature url="features/org.jboss.tools.community.project.examples.feature_0.0.0.jar" id="org.jboss.tools.community.project.examples.feature" version="0.0.0" >
<category name="AllTools" />
<category name="GeneralTools" />
</feature>
@@ -137,7 +127,8 @@
<category name="MavenTools" />
</feature>
- <feature url="features/org.jboss.tools.xulrunner.feature_0.0.0.jar" id="org.jboss.tools.xulrunner.feature" version="0.0.0">
+ <!-- XulRunner requires version in declaration to avoid include latest 1.9.2 in build -->
+ <feature url="features/org.mozilla.xpcom.feature_1.9.1.2a.jar" id="org.mozilla.xpcom.feature" version="1.9.1.2a">
<category name="AllTools" />
<category name="WebTools" />
</feature>
@@ -174,35 +165,27 @@
<category name="AllTools" />
<category name="SOATools" />
</feature>
-
<feature url="features/org.jboss.tools.bpel.feature_0.0.0.jar" id="org.jboss.tools.bpel.feature" version="0.0.0">
<category name="AllTools" />
<category name="SOATools" />
</feature>
-
<feature url="features/org.jboss.tools.modeshape.rest.feature_0.0.0.jar" id="org.jboss.tools.modeshape.rest.feature" version="0.0.0">
<category name="AllTools" />
<category name="GeneralTools" />
</feature>
-
<feature url="features/org.jboss.tools.runtime.feature_0.0.0.jar" id="org.jboss.tools.runtime.feature" version="0.0.0">
- <category name="AllTools" />
+ <category name="AllTools"/>
</feature>
-
<feature url="features/org.jboss.tools.gwt.feature_0.0.0.jar" id="org.jboss.tools.gwt.feature" version="0.0.0">
- <category name="GeneralTools" />
- <category name="AllTools" />
+ <category name="GeneralTools"/>
</feature>
-
- <feature url="features/org.jboss.tools.deltacloud_0.0.0.jar" id="org.jboss.tools.deltacloud" version="0.0.0">
- <category name="CloudTools" />
- <category name="AllTools" />
- </feature>
-
<feature url="features/org.jboss.tools.usage_0.0.0.jar" id="org.jboss.tools.usage" version="0.0.0">
- <category name="AllTools" />
+ <category name="AllTools"/>
</feature>
-
+ <feature url="features/org.jboss.tools.deltacloud_0.0.0.jar" id="org.jboss.tools.deltacloud" version="0.0.0">
+ <category name="CloudTools"/>
+ </feature>
+
<!-- categories - see also ../../../common/aggregateRepos.*.properties -->
<category-def name="SDKTools" label="JBoss Tools SDK">
<description>JBoss Tools SDK contains plugins where an SDK package
@@ -266,12 +249,13 @@
</description>
</category-def>
- <category-def name="CloudTools" label="Cloud">
- <description>Tools for Cloud Development
- </description>
+ <category-def>
+ <category-def name="CloudTools" label="Cloud">
+ <description>
+ Tools for Cloud Development
+ </description>
</category-def>
-
<!-- aggregated from other sources -->
<feature url="features/org.pi4soa.core.feature_0.0.0.jar" id="org.pi4soa.core.feature" version="0.0.0">
<category name="AllTools" />
15 years, 4 months