JBoss Tools SVN: r15871 - trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-06-10 16:14:09 -0400 (Wed, 10 Jun 2009)
New Revision: 15871
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomComponentExtension.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomComponentExtension.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomComponentExtension.java (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomComponentExtension.java 2009-06-10 20:14:09 UTC (rev 15871)
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jst.web.kb.internal.taglib;
+
+/**
+ * @author Alexey Kazakov
+ */
+public class CustomComponentExtension extends CustomTagLibComponent {
+
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.taglib.IComponent#isExtended()
+ */
+ @Override
+ public boolean isExtended() {
+ return true;
+ }
+
+ /**
+ * @param attributes
+ */
+ public void addAttributes(CustomTagLibAttribute[] attributes) {
+ for (int i = 0; i < attributes.length; i++) {
+ addAttribute(attributes[i]);
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomComponentExtension.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java 2009-06-10 18:48:29 UTC (rev 15870)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java 2009-06-10 20:14:09 UTC (rev 15871)
@@ -58,7 +58,7 @@
protected String name;
protected String defaultPrefix;
- protected CustomTagLibAttribute[] extendedAttributes;
+ protected CustomComponentExtension componentExtension;
public CustomTagLibrary(File file, String uri, String version, String name) {
setURI(uri);
@@ -85,7 +85,13 @@
CustomTagLibComponent component = parseComponent((Element)child);
addComponent(component);
} else if (child.getNodeName().equals(COMPONET_EXTENSION)) {
- extendedAttributes = getAttributes((Element)child);
+ if(componentExtension==null) {
+ componentExtension = new CustomComponentExtension();
+ // TODO what we should do with this fake components?
+// addComponent(componentExtension);
+ componentExtension.setParentTagLib(this);
+ }
+ componentExtension.addAttributes(getAttributes((Element)child));
}
}
}
@@ -231,7 +237,7 @@
/**
* @return the extendedAttributes
*/
- public CustomTagLibAttribute[] getExtendedAttributes() {
- return extendedAttributes;
+ public CustomComponentExtension getComponentExtension() {
+ return componentExtension;
}
}
\ No newline at end of file
15 years, 6 months
JBoss Tools SVN: r15870 - trunk/seam/docs/reference/en/images/seam_preferences.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-10 14:48:29 -0400 (Wed, 10 Jun 2009)
New Revision: 15870
Modified:
trunk/seam/docs/reference/en/images/seam_preferences/seam_preferences1_3.png
trunk/seam/docs/reference/en/images/seam_preferences/seam_preferences1_5.png
Log:
https://jira.jboss.org/jira/browse/JBDS-681
screens are updated for Seam Preferences chapter
Modified: trunk/seam/docs/reference/en/images/seam_preferences/seam_preferences1_3.png
===================================================================
(Binary files differ)
Modified: trunk/seam/docs/reference/en/images/seam_preferences/seam_preferences1_5.png
===================================================================
(Binary files differ)
15 years, 6 months
JBoss Tools SVN: r15869 - in trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb: taglib and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-06-10 13:20:29 -0400 (Wed, 10 Jun 2009)
New Revision: 15869
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractAttribute.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibAttribute.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibComponent.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IAttribute.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IComponent.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractAttribute.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractAttribute.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractAttribute.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -25,6 +25,7 @@
import org.jboss.tools.jst.web.kb.internal.KbObject;
import org.jboss.tools.jst.web.kb.internal.KbXMLStoreConstants;
import org.jboss.tools.jst.web.kb.taglib.IAttribute;
+import org.jboss.tools.jst.web.kb.taglib.IComponent;
import org.jboss.tools.jst.web.model.project.ext.store.XMLValueInfo;
import org.w3c.dom.Element;
@@ -103,6 +104,14 @@
attributesInfo.put(REQUIRED, s);
}
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.taglib.IAttribute#getComponent()
+ */
+ public IComponent getComponent() {
+ return (IComponent)parent;
+ }
+
/* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.IProposalProcessor#getProposals(org.jboss.tools.jst.web.kb.KbQuery, org.jboss.tools.jst.web.kb.IPageContext)
*/
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractComponent.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -12,9 +12,11 @@
import java.util.ArrayList;
import java.util.HashMap;
+import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Properties;
+import java.util.Set;
import org.jboss.tools.common.model.project.ext.IValueInfo;
import org.jboss.tools.common.model.project.ext.event.Change;
@@ -28,6 +30,7 @@
import org.jboss.tools.jst.web.kb.taglib.Facet;
import org.jboss.tools.jst.web.kb.taglib.IAttribute;
import org.jboss.tools.jst.web.kb.taglib.IComponent;
+import org.jboss.tools.jst.web.kb.taglib.ITagLibrary;
import org.w3c.dom.Element;
/**
@@ -45,6 +48,7 @@
protected String componentType;
protected String description;
protected String name;
+ protected boolean hasExtendedAttributes = false;
private Map<String, IAttribute> attributes = new HashMap<String, IAttribute>();
private IAttribute[] attributesArray;
private Map<String, IAttribute> preferableAttributes = new HashMap<String, IAttribute>();
@@ -97,16 +101,64 @@
* @see org.jboss.tools.jst.web.kb.taglib.IComponent#getAttributes(java.lang.String)
*/
public IAttribute[] getAttributes(String nameTemplate) {
+ return getAttributes(nameTemplate, null);
+ }
+
+ public IAttribute[] getAttributes(String nameTemplate, IPageContext context) {
List<IAttribute> list = new ArrayList<IAttribute>();
IAttribute[] atts = getAttributes();
for (int i = 0; i < atts.length; i++) {
- if(atts[i].getName().startsWith(nameTemplate)) {
+ if(atts[i].getName().startsWith(nameTemplate) && (context==null || checkExtended(atts[i], context))) {
list.add(atts[i]);
}
}
return list.toArray(new IAttribute[list.size()]);
}
+ protected IAttribute[] getExtendedAttributes(IPageContext context) {
+ if(hasExtendedAttributes) {
+ Set<IAttribute> attrs = new HashSet<IAttribute>();
+ synchronized(attributes) {
+ for (IAttribute attribute : attributes.values()) {
+ if(checkExtended(attribute, context)) {
+ attrs.add(attribute);
+ }
+ }
+ }
+ return attrs.toArray(new IAttribute[0]);
+ }
+ return getAttributes();
+ }
+
+ protected boolean checkExtended(IAttribute attribute, IPageContext context) {
+ if(!attribute.isExtended()) {
+ return true;
+ }
+ IComponent parentComponent = attribute.getComponent();
+ if(parentComponent==null) {
+ return true;
+ }
+ ITagLibrary[] libs = context.getLibraries();
+ for (int i = 0; i < libs.length; i++) {
+ ITagLibrary thisLib = this.getTagLib();
+ if(thisLib==null) {
+ return true;
+ }
+ if(libs[i].getURI().equals(thisLib.getURI())) {
+ IComponent ac = libs[i].getComponent(parentComponent.getName());
+ if(ac!=null && ac!=this) {
+ IAttribute at = ac.getAttribute(attribute.getName());
+ if(at!=null && !at.isExtended()) {
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+ }
+
+ private static final IAttribute[] EMPTY_ARRAY = new IAttribute[0];
+
/* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.taglib.IComponent#getAttributes(org.jboss.tools.jst.web.kb.KbQuery, org.jboss.tools.jst.web.kb.IPageContext)
*/
@@ -123,9 +175,13 @@
return null;
}
if(mask) {
- return getAttributes(attrName);
+ return getAttributes(attrName, context);
}
- return new IAttribute[]{getAttribute(attrName)};
+ IAttribute attr = getAttribute(attrName);
+ if(attr!=null && checkExtended(attr, context)) {
+ return new IAttribute[]{getAttribute(attrName)};
+ }
+ return EMPTY_ARRAY;
}
/* (non-Javadoc)
@@ -307,6 +363,9 @@
public void addAttribute(IAttribute attribute) {
adopt((KbObject)attribute);
attributes.put(attribute.getName(), attribute);
+ if(attribute.isExtended()) {
+ hasExtendedAttributes = true;
+ }
if(attribute.isPreferable()) {
preferableAttributes.put(attribute.getName(), attribute);
}
@@ -330,6 +389,9 @@
attributes.remove(attribute.getName());
preferableAttributes.remove(attribute.getName());
requiredAttributes.remove(attribute.getName());
+ if(hasExtendedAttributes) {
+ initExtendedAttributeFlag();
+ }
clearAttributeArrays();
}
@@ -342,11 +404,12 @@
return false;
}
- /**
- * @param extended
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.taglib.IComponent#getTagLib()
*/
- public void setExtended(boolean extended) {
- // Do nothing
+ public ITagLibrary getTagLib() {
+ return (ITagLibrary)parent;
}
/*
@@ -362,10 +425,23 @@
IAttribute[] as = getAttributes();
for (IAttribute a: as) {
copy.addAttribute(((AbstractAttribute)a).clone());
+ if(a.isExtended()) {
+ copy.hasExtendedAttributes = true;
+ }
}
return copy;
}
+ private void initExtendedAttributeFlag() {
+ synchronized (attributes) {
+ for (IAttribute a : attributes.values()) {
+ if(a.isExtended()) {
+ hasExtendedAttributes = true;
+ }
+ }
+ }
+ }
+
/*
* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.internal.KbObject#merge(org.jboss.tools.jst.web.kb.internal.KbObject)
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/AbstractTagLib.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -48,7 +48,7 @@
protected INameSpace nameSpace;
protected String uri;
protected String version;
- protected boolean hasExtenededComponents = false;
+ protected boolean hasExtendedComponents = false;
private Map<String, IComponent> components = new HashMap<String, IComponent>();
private IComponent[] componentsArray;
@@ -90,7 +90,7 @@
}
/* (non-Javadoc)
- * @see org.jboss.tools.jst.web.kb.taglib.TagLibrary#getComponents(org.jboss.tools.jst.web.kb.KbQuery, org.jboss.tools.jst.web.kb.PageContext)
+ * @see org.jboss.tools.jst.web.kb.taglib.ITagLibrary#getComponents(org.jboss.tools.jst.web.kb.KbQuery, org.jboss.tools.jst.web.kb.PageContext)
*/
public IComponent[] getComponents(KbQuery query, IPageContext context) {
String prefix = getPrefix(query, context);
@@ -165,7 +165,7 @@
}
protected IComponent[] getExtendedComponents(IPageContext context) {
- if(hasExtenededComponents) {
+ if(hasExtendedComponents) {
Set<IComponent> comps = new HashSet<IComponent>();
synchronized(components) {
for (IComponent component : components.values()) {
@@ -187,7 +187,7 @@
for (int i = 0; i < libs.length; i++) {
if(libs[i]!=this && libs[i].getURI().equals(uri)) {
IComponent ac = libs[i].getComponent(component.getName());
- if(!ac.isExtended()) {
+ if(ac!=null && !ac.isExtended()) {
return true;
}
}
@@ -204,7 +204,7 @@
components.put(component.getName(), component);
componentsArray=null;
if(component.isExtended()) {
- hasExtenededComponents = true;
+ hasExtendedComponents = true;
}
}
@@ -215,7 +215,7 @@
this.components = components;
for (IComponent component : components.values()) {
if(component.isExtended()) {
- hasExtenededComponents = true;
+ hasExtendedComponents = true;
break;
}
}
@@ -372,7 +372,7 @@
t.components = new HashMap<String, IComponent>();
for (IComponent c: components.values()) {
if(c.isExtended()) {
- t.hasExtenededComponents = true;
+ t.hasExtendedComponents = true;
}
t.addComponent(((AbstractComponent)c).clone());
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibAttribute.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibAttribute.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibAttribute.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -10,6 +10,8 @@
******************************************************************************/
package org.jboss.tools.jst.web.kb.internal.taglib;
+import org.jboss.tools.jst.web.kb.taglib.IComponent;
+
/**
* @author Alexey Kazakov
*/
@@ -18,6 +20,7 @@
protected boolean extended = true;
protected String defaultValue;
protected Proposal[] proposals;
+ protected CustomTagLibComponent parentComponent;
/*
* (non-Javadoc)
@@ -141,4 +144,20 @@
this.value = value;
}
}
+
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.taglib.IAttribute#getComponent()
+ */
+ @Override
+ public IComponent getComponent() {
+ return parentComponent;
+ }
+
+ /**
+ * @param parentComponent the parent component to set
+ */
+ public void setParentComponent(CustomTagLibComponent parentComponent) {
+ this.parentComponent = parentComponent;
+ }
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibComponent.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibComponent.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibComponent.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -11,6 +11,7 @@
package org.jboss.tools.jst.web.kb.internal.taglib;
import org.jboss.tools.jst.web.kb.taglib.ICustomTagLibComponent;
+import org.jboss.tools.jst.web.kb.taglib.ITagLibrary;
/**
* @author Alexey Kazakov
@@ -18,11 +19,13 @@
public class CustomTagLibComponent extends AbstractComponent implements ICustomTagLibComponent {
protected boolean extended = true;
+ protected CustomTagLibrary parentTagLib;
/*
* (non-Javadoc)
* @see org.jboss.tools.jst.web.kb.taglib.IComponent#isExtended()
*/
+ @Override
public boolean isExtended() {
return extended;
}
@@ -33,4 +36,20 @@
public void setExtended(boolean extended) {
this.extended = extended;
}
+
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.taglib.IComponent#getTagLib()
+ */
+ @Override
+ public ITagLibrary getTagLib() {
+ return parentTagLib;
+ }
+
+ /**
+ * @param parentTagLib the parent tag lib to set
+ */
+ public void setParentTagLib(CustomTagLibrary parentTagLib) {
+ this.parentTagLib = parentTagLib;
+ }
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/taglib/CustomTagLibrary.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -102,11 +102,13 @@
newComponent.setCanHaveBody(!closeTag);
newComponent.setDescription(description);
newComponent.setExtended(extended);
+ newComponent.setParentTagLib(this);
// Extract attributes
CustomTagLibAttribute[] attributes = getAttributes(component);
for (int i = 0; i < attributes.length; i++) {
newComponent.addAttribute(attributes[i]);
+ attributes[i].setParentComponent(newComponent);
}
return newComponent;
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IAttribute.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IAttribute.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IAttribute.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -45,7 +45,7 @@
boolean isExtended();
/**
- * @param extended
+ * @return parent component
*/
- void setExtended(boolean extended);
+ IComponent getComponent();
}
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IComponent.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IComponent.java 2009-06-10 16:44:26 UTC (rev 15868)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/taglib/IComponent.java 2009-06-10 17:20:29 UTC (rev 15869)
@@ -105,4 +105,9 @@
* @return
*/
boolean isExtended();
+
+ /**
+ * @return parent tag lib.
+ */
+ ITagLibrary getTagLib();
}
\ No newline at end of file
15 years, 6 months
JBoss Tools SVN: r15868 - trunk/common/plugins/org.jboss.tools.common.model/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-06-10 12:44:26 -0400 (Wed, 10 Jun 2009)
New Revision: 15868
Modified:
trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4308
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 2009-06-10 16:29:04 UTC (rev 15867)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2009-06-10 16:44:26 UTC (rev 15868)
@@ -1702,11 +1702,6 @@
SCOPE="project" URI="http://richfaces.org/a4j" add_taglib="true"
library-version="" model-entity="SharableGroupHTML">
<MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;a4j:jsFunction&gt;</code><br><code>&lt;/a4j:jsFunction&gt;</code><br><b>Attributes:</b><br><code>action, actionListener, ajaxSingle, binding, bypassUpdates, data, eventsQueue, focus, id, ignoreDupResponses, immediate, limitToList, name, onbeforedomupdate, oncomplete, process, reRender, rendered, requestDelay, status, timeout</code>"
- ENDTEXT="</jsFunction>" ICON="" NAME="jsFunction" REFORMAT="yes"
- SCOPE="project" STARTTEXT="<jsFunction>" large-icon=""
- model-entity="SharableMacroHTML" />
- <MacroHTML
DESCRIPTION="<b>Syntax:</b><br><code>&lt;a4j:log&gt;</code><br><code>&lt;/a4j:log&gt;</code><br><b>Attributes:</b><br><code>binding, dir, height, hotkey, id, lang, level, name, onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, popup, rendered, style, styleClass, title, width</code>"
ENDTEXT="</log>" ICON="" NAME="log" REFORMAT="yes" SCOPE="project"
STARTTEXT="<log>" large-icon="" model-entity="SharableMacroHTML" />
@@ -1758,7 +1753,7 @@
ENDTEXT="" ICON="%Icons%/Struts Common/taglib" NAME="JBoss Ajax4jsf taglib"
REFORMAT="yes" SCOPE="project"
STARTTEXT="<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>\\n|"
- large-icon="" model-entity="SharableMacroHTML" />
+ large-icon="" model-entity="SharableMacroHTML" ></MacroHTML>
<MacroHTML
DESCRIPTION="<b>Syntax:</b><br><code>&lt;a4j:push&gt;</code><br><code>&lt;/a4j:push&gt;</code><br><b>Attributes:</b><br><code>action, actionListener, ajaxSingle, binding, bypassUpdates, data, enabled, eventProducer, eventsQueue, focus, id, ignoreDupResponses, immediate, interval, limitToList, onbeforedomupdate, oncomplete, process, reRender, rendered, status, timeout</code>"
ENDTEXT="</push>" ICON="" NAME="push" REFORMAT="yes" SCOPE="project"
@@ -1825,6 +1820,33 @@
SCOPE="project" URI="http://richfaces.org/rich" add_taglib="true"
library-version="" model-entity="SharableGroupHTML">
<MacroHTML
+ DESCRIPTION="<b>Syntax:</b><br><code>&lt;rich:page&gt;</code><br><code>&lt;/rich:page&gt;</code><br><b>Attributes:</b><br><code>binding, bodyClass, contentType, dir, footerClass, headerClass, id, lang, markupType, namespace, onload, onunload, pageTitle, rendered, sidebarClass, sidebarPosition, sidebarWidth, style, styleClass, theme, title, width</code>"
+ ENDTEXT="</page>" ICON="%Icons%/JBoss RichFaces/page"
+ NAME="page" REFORMAT="yes" SCOPE="project" STARTTEXT="<page>"
+ large-icon="" model-entity="SharableMacroHTML"/>
+ <MacroHTML
+ DESCRIPTION="<b>Syntax:</b><br><code>&lt;rich:layout&gt;</code><br><code>&lt;/rich:layout&gt;</code><br><b>Attributes:</b><br><code>binding, id, rendered</code>"
+ ENDTEXT="</layout>" ICON="%Icons%/JBoss RichFaces/layout"
+ NAME="layout" REFORMAT="yes" SCOPE="project"
+ STARTTEXT="<layout>" large-icon="" model-entity="SharableMacroHTML"/>
+ <MacroHTML
+ DESCRIPTION="<b>Syntax:</b><br><code>&lt;rich:layoutPanel&gt;</code><br><code>&lt;/rich:layoutPanel&gt;</code><br><b>Attributes:</b><br><code>binding, id, rendered, width, </code>"
+ ENDTEXT="</layoutPanel>"
+ ICON="%Icons%/JBoss RichFaces/layoutPanel" NAME="layoutPanel"
+ REFORMAT="yes" SCOPE="project" STARTTEXT="<layoutPanel>"
+ large-icon="" model-entity="SharableMacroHTML"/>
+ <MacroHTML
+ DESCRIPTION="<b>Syntax:</b><br><code>&lt;rich:colorPicker&gt;</code><br><code>&lt;/rich:colorPicker&gt;</code><br><b>Attributes:</b><br><code>binding, colorMode, converter, converterMessage, flat, id, immediate, onbeforeshow, onchange, onclick, ondblclick, onhide, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, onshow, rendered, required, requiredMessage, showEvent, validator, validatorMessage, value, valueChangeListener</code>"
+ ENDTEXT="</colorPicker>"
+ ICON="%Icons%/JBoss RichFaces/colorPicker" NAME="colorPicker"
+ REFORMAT="yes" SCOPE="project" STARTTEXT="<colorPicker>"
+ large-icon="" model-entity="SharableMacroHTML"/>
+ <MacroHTML
+ DESCRIPTION="<b>Syntax:</b><br><code>&lt;a4j:jsFunction&gt;</code><br><code>&lt;/a4j:jsFunction&gt;</code><br><b>Attributes:</b><br><code>action, actionListener, ajaxSingle, binding, bypassUpdates, data, eventsQueue, focus, id, ignoreDupResponses, immediate, limitToList, name, onbeforedomupdate, oncomplete, process, reRender, rendered, requestDelay, status, timeout</code>"
+ ENDTEXT="</jsFunction>" ICON="" NAME="jsFunction" REFORMAT="yes"
+ SCOPE="project" STARTTEXT="<jsFunction>" large-icon=""
+ model-entity="SharableMacroHTML" />
+ <MacroHTML
DESCRIPTION="<b>Syntax:</b><br><code>&lt;rich:hotKey&gt;</code><br><code>&lt;/rich:hotKey&gt;</code><br><b>Attributes:</b><br><code>binding, checkParent, disableInInput, disableInInputTypes, handler, id, key, rendered, selector, timing, type</code>"
ENDTEXT="</hotKey>" ICON="" NAME="hotKey" REFORMAT="yes" SCOPE="project"
STARTTEXT="<hotKey>" large-icon="" model-entity="SharableMacroHTML" />
@@ -3909,7 +3931,12 @@
NAME="queue" SCOPE="project" model-entity="SharableIcon"/>
<Icon
IMAGE="mhmjmgliljobjaiajaiaddiliaflgihclmkljfdpfjhpphphphdbpplnhihaeigeegalncpbcpafbdcpfablmohphphphphphpiaiaiaiaiaiaiaiaiaiaiaiakbhjieibiaiailiakmiaiaiaiajaiajaiaiaienbpaejmjcldfkiepedllnpijkajofccbbmkiniaeicdjbiciccjkmgfcmknjlofhijpbgnajjocfidjejojakfnjccmailhkmoeinhhbijbnkmjdlmoknfdcnmijodakgimoalakioicaehekcehaoigicdpdinmjcibiall"
- NAME="editor" SCOPE="project" model-entity="SharableIcon"/>
+ NAME="editor" SCOPE="project" model-entity="SharableIcon"/><Icon
+ IMAGE="mhmjmgliljobjaiajaiaccigiaaldhhhafbdcpncpbcphkgkeehphphpdbpplnhphphpiaiaiakbhjieibiaiaigiakmiaiaiaiajaiajaiaiaidmcjidkfmjckaekijmipnkcglenidhjoajilomeobbocimjbaefgadopadbpkojknddopiliplhbngpdmnjgjdhglbfomkicbiogilckcbdkebbheadgbnilfagcmpgellfkeiaiall" NAME="page" SCOPE="project" model-entity="SharableIcon">
+</Icon>
+ <Icon IMAGE="mhmjmgliljobjaiajaiaddiiiahkgkeeflgihcdbpplndpfjhpfablmoafbdcpncpbcphphphphphphpiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiaiakbhjieibiaiaiiiakmiaiaiaiajaiajaiaiaiemmjaejmjchlblfodldikeobcjbpafoihkcfmdfcjgmnfpoegkbepmhfmcjkiknfljojkgklmmdabjcblifipmdelamiakajaiedcgegpeapemccdmebjhdmjbdggcmfhbjdhjigoogpfogmlobenooplkdiall" NAME="colorPicker" SCOPE="project" model-entity="SharableIcon"></Icon>
+ <Icon IMAGE="mhmjmgliljobjaiajaiabbidiafablmodbpplnhkgkeehphphpkbhjieibiaiaidiakmiaiaiaiajaiajaiaiaiclgbmapojeagndoaebmneagjidcfogciofakjjihgligbnhcfkhcipfnldaagkmlccdnhlnfkhknbephieoocpejolbjfefidpikjldcccgcbiaiall" NAME="layout" SCOPE="project" model-entity="SharableIcon"></Icon>
+ <Icon IMAGE="mhmjmgliljobjaiajaiaccieiacmdoeoflgihcapchdmhphphphphphpiaiaiaiaiaiaiaiaiakbhjieibiaiaieiakmiaiaiaiajaiajaiaiaidlimidkfmhoooeimjkfjlkcgllncoiioaiiicfnaciboibkbgmkgfdciebgejbmjhbanpmifkdidiblbpboioagdjjfahjofemjmfpmnbkafagikdibiall" NAME="layoutPanel" SCOPE="project" model-entity="SharableIcon"></Icon>
</Icons>
<Icons NAME="Struts Logic" SCOPE="project" model-entity="SharableIcons">
<Icon
15 years, 6 months
JBoss Tools SVN: r15867 - trunk/hibernatetools/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: chukhutsina
Date: 2009-06-10 12:29:04 -0400 (Wed, 10 Jun 2009)
New Revision: 15867
Modified:
trunk/hibernatetools/docs/reference/en/modules/plugins.xml
Log:
<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:9pt;font-family:Sans Serif">
<p>https://jira.jboss.org/jira/browse/JBDS-756 - Generate Hibernate/JPA annotations view was described in hibernate-Doc.New screens were added.</p>
</body></html>
Modified: trunk/hibernatetools/docs/reference/en/modules/plugins.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-06-10 15:27:12 UTC (rev 15866)
+++ trunk/hibernatetools/docs/reference/en/modules/plugins.xml 2009-06-10 16:29:04 UTC (rev 15867)
@@ -1868,37 +1868,49 @@
<section id="jpa_annotations">
<title>Hibernate:add JPA annotations view
</title>
- <para>Using this wizard you can add the next Hibernate annotations to the class:
+ <para>Using this wizard you can add the next Hibernate annotations to the class:
+ <emphasis>
+ <property>@Column</property></emphasis>,<emphasis>
+ <property>@Entity</property></emphasis>,<emphasis>
+ <property>@ManyToOne</property></emphasis>,<emphasis>
+ <property>@OneToMany</property></emphasis>,<emphasis>
+ <property>@OneToOne</property></emphasis>,<emphasis>
+ <property>@ManyToMany</property></emphasis>,<emphasis>
+ <property>@MappedSuperclass</property></emphasis>,<emphasis>
+ <property>@Id</property></emphasis>,<emphasis>
+ <property>@GeneratedValue</property></emphasis> ,<emphasis>
+ <property>@Version </property></emphasis>
</para>
<itemizedlist>
<listitem>
- <para>@Column,</para>
+ <para><emphasis>
+ <property>@Column</property></emphasis> is added to all String properties.</para>
</listitem>
<listitem>
- <para>@Entity,</para>
+ <para><emphasis>
+ <property>@Entity</property></emphasis> is always declared before any class where it doesn't present.</para>
</listitem>
<listitem>
- <para>@ManyToOne,</para>
+ <para><emphasis>
+ <property>@ManyToOne</property></emphasis>,<emphasis>
+ <property>@OneToMany</property></emphasis>,<emphasis>
+ <property>@OneToOne</property></emphasis>,<emphasis>
+ <property>@ManyToMany</property></emphasis> - this annotations are declared according to the classes hierarchy.</para>
</listitem>
<listitem>
- <para>@OneToMany,</para>
+ <para><emphasis>
+ <property>@MappedSuperclass</property></emphasis> is added to abstract superclasses.</para>
</listitem>
<listitem>
- <para>@OneToOne,</para>
+ <para><emphasis>
+ <property>@Id</property></emphasis>,<emphasis>
+ <property>@GeneratedValue</property></emphasis> are added automatically only to the properties under the name "Id",where they don't present.</para>
</listitem>
+
<listitem>
- <para>@ManyToMany,</para>
+ <para><emphasis>
+ <property>@Version</property></emphasis> is declared in case you select <link linkend="optim_lock">Enable optimistic locking</link>.</para>
</listitem>
- <listitem>
- <para>@MappedSuperclass,</para>
- </listitem>
- <listitem>
- <para>@Id,</para>
- </listitem>
- <listitem>
- <para>@GeneratedValue</para>
- </listitem>
-
</itemizedlist>
<note>
<title>Note:</title>
@@ -1926,7 +1938,7 @@
</para>
<para> If it's nessecary to map your String properties to the columns that length differ from the default value(255) ,change <emphasis><property>Default string length field</property></emphasis> and <code>@Column(length = your length)</code> will be created before every String property.
</para>
- <para>You can add optimistic locking capability to an entity bean by selecting <emphasis><property>Enable optimistic locking</property></emphasis> checkbox.
+ <para id="optim_lock">You can add optimistic locking capability to an entity bean by selecting <emphasis><property>Enable optimistic locking</property></emphasis> checkbox.
This operation will add version property to all the selected classes. The property will be also annotated with @Version ,getter and setter will be created. If the property is already exists,it won't be created ,but the getters,setters will be generated.
If there is already @MappedSuperclass with version in the base class of the current class - <emphasis><property>"version"</property></emphasis> is not inserted into the current class.
</para>
15 years, 6 months
JBoss Tools SVN: r15866 - in trunk/jbpm/releng/org.jboss.tools.jbpm4.releng: maps and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-06-10 11:27:12 -0400 (Wed, 10 Jun 2009)
New Revision: 15866
Added:
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties.example.linux
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.xml
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/jbosstools-trunk jbpm4 releng build.xml.launch
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/testing.properties
Modified:
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map
Log:
JBIDE-4319 initial builder files; map incomplete, testing.properties incomplete. See TODOs
Added: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties 2009-06-10 15:27:12 UTC (rev 15866)
@@ -0,0 +1,59 @@
+## BEGIN PROJECT BUILD PROPERTIES ##
+
+# this property allows ant-contrib and pde-svn-plugin to be fetched and installed automatically for you
+thirdPartyDownloadLicenseAcceptance="I accept"
+
+projectid=jbosstools.jbpm4
+zipPrefix=jbpm4
+incubation=
+buildType=N
+version=4.0.0
+
+mainFeatureToBuildID=org.jboss.tools.jbpm4.all
+testFeatureToBuildID=org.jboss.tools.jbpm4.tests
+
+build.steps=map2psf,buildUpdate,buildTests,generateDigests,test,publish,cleanup
+
+# Re-use local sources?
+localSourceCheckoutDir=/home/nboldt/eclipse/workspace-jboss/jbosstools-trunk/jbpm
+relengBuilderDir=/home/nboldt/eclipse/workspace-jboss/jbosstools-trunk/jbpm/releng/org.jboss.tools.jbpm4.releng
+relengBaseBuilderDir=/home/nboldt/eclipse/workspace-jboss/org.eclipse.releng.basebuilder
+relengCommonBuilderDir=/home/nboldt/eclipse/workspace-jboss/org.eclipse.dash.common.releng
+
+JAVA_HOME=/usr/lib/jvm/java
+JAVA50_HOME=/usr/lib/jvm/java
+
+dependencyURLs=\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/emf-runtime-2.5.0RC2.zip,\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/xsd-runtime-2.5.0RC2.zip,\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/wtp-S-3.1RC2-20090526075706.zip,\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-linux-gtk.tar.gz
+
+# alternate eclipse platforms - swap in above as needed
+#http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-win32.zip,\
+#http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-linux-gtk-x86_64.tar.gz,\
+#http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-macosx-carbon.tar.gz,\
+
+# not needed for jbpm, copied for reference (other builds may need these)
+#http://www.eclipse.org/downloads/download.php?r=1&file=/webtools/downloads/drops/R3.1/S-3.1M7-20090505073946/wtp-jpt-S-3.1M7-20090505073946.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/tools/gef/downloads/drops/3.5.0/S200905011522/GEF-runtime-3.5.0M7.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/birt/downloads/drops/M-R1-2.5M7-200905061338/birt-report-framework-2.5M7.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/birt/downloads/drops/M-R1-2.5M7-200905061338/birt-wtp-integration-sdk-2.5M7.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/datatools/downloads/drops/N_DTP_1.7/dtp-1.7.0M7-200905052200.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/tptp/4.6.0/TPTP-4.6.0M7-200904260100/tptp.runtime-TPTP-4.6.0M7.zip,\
+
+flattenDependencies=true
+parallelCompilation=true
+generateFeatureVersionSuffix=true
+individualSourceBundles=true
+
+domainNamespace=*
+projNamespace=org.jboss.tools.jbpm4
+projRelengName=org.jboss.tools.jbpm4.releng
+
+# needed for Hudson, not for local?
+#projRelengRoot=svn://svn.jboss.org/repos/jbosstools/trunk/jmx
+#projRelengPath=releng
+#basebuilderBranch=R35_M6
+
+## END PROJECT BUILD PROPERTIES ##
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties.example.linux
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties.example.linux (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties.example.linux 2009-06-10 15:27:12 UTC (rev 15866)
@@ -0,0 +1,59 @@
+## BEGIN PROJECT BUILD PROPERTIES ##
+
+# this property allows ant-contrib and pde-svn-plugin to be fetched and installed automatically for you
+thirdPartyDownloadLicenseAcceptance="I accept"
+
+projectid=jbosstools.jbpm4
+zipPrefix=jbpm4
+incubation=
+buildType=N
+version=4.0.0
+
+mainFeatureToBuildID=org.jboss.tools.jbpm4.all
+testFeatureToBuildID=org.jboss.tools.jbpm4.tests
+
+build.steps=map2psf,buildUpdate,buildTests,generateDigests,test,publish,cleanup
+
+# Re-use local sources?
+localSourceCheckoutDir=/home/nboldt/eclipse/workspace-jboss/jbosstools-trunk/jbpm
+relengBuilderDir=/home/nboldt/eclipse/workspace-jboss/jbosstools-trunk/jbpm/releng/org.jboss.tools.jbpm4.releng
+relengBaseBuilderDir=/home/nboldt/eclipse/workspace-jboss/org.eclipse.releng.basebuilder
+relengCommonBuilderDir=/home/nboldt/eclipse/workspace-jboss/org.eclipse.dash.common.releng
+
+JAVA_HOME=/usr/lib/jvm/java
+JAVA50_HOME=/usr/lib/jvm/java
+
+dependencyURLs=\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/emf-runtime-2.5.0RC2.zip,\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/xsd-runtime-2.5.0RC2.zip,\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/wtp-S-3.1RC2-20090526075706.zip,\
+http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-linux-gtk.tar.gz
+
+# alternate eclipse platforms - swap in above as needed
+#http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-win32.zip,\
+#http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-linux-gtk-x86_64.tar.gz,\
+#http://anonsvn.jboss.org/repos/repository.jboss.org/eclipse/galileo/eclipse-SDK-3.5RC3-macosx-carbon.tar.gz,\
+
+# not needed for jbpm, copied for reference (other builds may need these)
+#http://www.eclipse.org/downloads/download.php?r=1&file=/webtools/downloads/drops/R3.1/S-3.1M7-20090505073946/wtp-jpt-S-3.1M7-20090505073946.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/tools/gef/downloads/drops/3.5.0/S200905011522/GEF-runtime-3.5.0M7.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/birt/downloads/drops/M-R1-2.5M7-200905061338/birt-report-framework-2.5M7.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/birt/downloads/drops/M-R1-2.5M7-200905061338/birt-wtp-integration-sdk-2.5M7.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/datatools/downloads/drops/N_DTP_1.7/dtp-1.7.0M7-200905052200.zip,\
+#http://www.eclipse.org/downloads/download.php?r=1&file=/tptp/4.6.0/TPTP-4.6.0M7-200904260100/tptp.runtime-TPTP-4.6.0M7.zip,\
+
+flattenDependencies=true
+parallelCompilation=true
+generateFeatureVersionSuffix=true
+individualSourceBundles=true
+
+domainNamespace=*
+projNamespace=org.jboss.tools.jbpm4
+projRelengName=org.jboss.tools.jbpm4.releng
+
+# needed for Hudson, not for local?
+#projRelengRoot=svn://svn.jboss.org/repos/jbosstools/trunk/jmx
+#projRelengPath=releng
+#basebuilderBranch=R35_M6
+
+## END PROJECT BUILD PROPERTIES ##
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.properties.example.linux
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.xml
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.xml (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.xml 2009-06-10 15:27:12 UTC (rev 15866)
@@ -0,0 +1,40 @@
+<project default="run" name="org.jboss.tools.*.releng/build.xml - Run a JBoss Tools component build using the Athena CBI">
+ <target name="run">
+ <!--
+ You must check out the following projects to your workspace:
+
+ org.eclipse.releng.basebuilder
+ org.eclipse.dash.common.releng
+ jbosstools/trunk/<your component>/releng
+ -->
+
+ <!-- load properties and set timestamp for the build -->
+ <property file="build.properties" />
+ <tstamp>
+ <format property="buildTimestamp" pattern="yyyyMMddHHmm" />
+ </tstamp>
+
+ <!-- calculate workspaceDir as parent of this folder, the project's .releng folder (relengBuilderDir) -->
+ <property name="relengBuilderDir" value="${basedir}" />
+ <dirname file="${relengBuilderDir}" property="workspaceDir" />
+
+ <!--
+ can build in /tmp, eg., in /tmp/build, or in workspace, eg.,
+ ${relengBuilderDir}/build
+ -->
+ <property name="writableBuildRoot" value="/tmp/build" />
+
+ <!--
+ can be simple path, eg.,
+ ${writableBuildRoot}/${buildType}${buildTimestamp} or longer, eg.,
+ ${writableBuildRoot}/${topprojectName}/${projectName}/downloads/drops/${version}/${buildType}${buildTimestamp} or
+ ${writableBuildRoot}/${topprojectName}/${projectName}/${subprojectName}/downloads/drops/${version}/${buildType}${buildTimestamp}
+ -->
+ <property name="buildDir" value="${writableBuildRoot}/${buildType}${buildTimestamp}-${zipPrefix}" />
+
+ <!-- invoke a new Eclipse process and launch the build from the common.releng folder -->
+ <property name="relengCommonBuilderDir" value="${workspaceDir}/org.eclipse.dash.common.releng" />
+ <ant antfile="${relengCommonBuilderDir}/buildAll.xml" target="runEclipse" dir="${relengCommonBuilderDir}" />
+
+ </target>
+</project>
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/build.xml
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/jbosstools-trunk jbpm4 releng build.xml.launch
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/jbosstools-trunk jbpm4 releng build.xml.launch (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/jbosstools-trunk jbpm4 releng build.xml.launch 2009-06-10 15:27:12 UTC (rev 15866)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${container}"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/jbosstools-trunk/jbpm4/releng/org.jboss.tools.jbpm4.releng/build.xml"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.debug.ui.ATTR_CAPTURE_IN_FILE" value="${workspace_loc:/jbosstools-trunk/jbpm4/releng/org.jboss.tools.jbpm4.releng}/buildlog.latest.txt"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.ui.externaltools.launchGroup"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.ui.antsupport.InternalAntRunner"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jbosstools-trunk"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_NAME" value="java-1.6.0-openjdk-1.6.0.0"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_TYPE_ID" value="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE" value="${none}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/jbosstools-trunk/jbpm4/releng/org.jboss.tools.jbpm4.releng/build.xml}"/>
+<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
+</launchConfiguration>
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/jbosstools-trunk jbpm4 releng build.xml.launch
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map 2009-06-10 15:07:47 UTC (rev 15865)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map 2009-06-10 15:27:12 UTC (rev 15866)
@@ -1,5 +1,6 @@
-plugin(a)org.jbpm.gd.jpdl.help=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/
-plugin(a)org.jbpm.gd.jpdl.ui=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.ui/
-plugin(a)org.jbpm.gd.jpdl.core=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.core/
-plugin(a)org.jbpm.gd.jpdl=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/
-feature(a)org.jbpm.gd.jpdl.feature=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.feature/
\ No newline at end of file
+feature@org.jboss.tools.jbpm4.all=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/features/org.jboss.tools.jbpm4.all
+feature@org.jboss.tools.jbpm4.tests.feature=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/tests/org.jboss.tools.jbpm4.tests
+!**** TODO: add more features...
+
+plugin@org.jboss.tools.jbpm.common=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/plugins/org.jboss.tools.jbpm.common
+!**** TODO: add more plugins...
Added: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/testing.properties
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/testing.properties (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/testing.properties 2009-06-10 15:27:12 UTC (rev 15866)
@@ -0,0 +1,14 @@
+#extraVMargs="-Dfoo=bar"
+
+# TODO: list plugins to run
+#csv list of test plugins to run
+#testPluginsToRun=\
+#org.jboss.tools.jbpm4.ui.test
+#org.jboss.tools.jbpm4.core.test
+
+#TODO: define which class in the above plugins to run
+# define which suite to run within each test plugin; or, include a test.xml script in
+# the test plugin to deviate from default one-suite-per-plugin operation
+# <pluginname>.suite=<classname>
+#org.jboss.tools.jbpm4.ui.test.suite=org.jboss.tools.jbpm4.ui.jbpm4UIAllTests
+#org.jboss.tools.jbpm4.core.test.suite=org.jboss.tools.jbpm4.core.jbpm4CoreAllTests
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/testing.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 6 months
JBoss Tools SVN: r15865 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-10 11:07:47 -0400 (Wed, 10 Jun 2009)
New Revision: 15865
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/ModelObjectLocationEditorInput.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4433
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/ModelObjectLocationEditorInput.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/ModelObjectLocationEditorInput.java 2009-06-10 15:01:25 UTC (rev 15864)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/ModelObjectLocationEditorInput.java 2009-06-10 15:07:47 UTC (rev 15865)
@@ -45,6 +45,9 @@
public boolean equals(Object o) {
if(super.equals(o)) return true;
if(o instanceof IPathEditorInput) {
+ if(!((IPathEditorInput)o).exists()) {
+ return false;
+ }
IPath p = ((IPathEditorInput)o).getPath();
return path != null && path.equals(p);
}
15 years, 6 months
JBoss Tools SVN: r15864 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-10 11:01:25 -0400 (Wed, 10 Jun 2009)
New Revision: 15864
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/DefaultWizardDataValidator.java
Log:
JBIDE-4393, Debugging print removed.
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/DefaultWizardDataValidator.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/DefaultWizardDataValidator.java 2009-06-10 14:58:27 UTC (rev 15863)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/DefaultWizardDataValidator.java 2009-06-10 15:01:25 UTC (rev 15864)
@@ -116,7 +116,6 @@
XModelObject o = support.getTarget().getModel().createModelObject(entity, data);
if(o.getModelEntity().getAttribute(XModelObjectLoaderUtil.ATTR_ID_NAME) != null
&& !"true".equals(o.getModelEntity().getProperty("unique"))) return true;
- System.out.println(o.getModelEntity().getProperty("unique") + ":" + o.getPathPart());
if(o != null && parent == support.getTarget().getParent() && o.getPathPart().equals(support.getTarget().getPathPart())) return true;
if(o != null) message = DefaultCreateHandler.getContainsMessage(parent, o);
return message == null;
15 years, 6 months
JBoss Tools SVN: r15863 - in trunk/jbpm: releng and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-06-10 10:58:27 -0400 (Wed, 10 Jun 2009)
New Revision: 15863
Added:
trunk/jbpm/releng/
trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/
trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/maps/
trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/maps/elements.map
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map
Log:
initial (incomplete / invalid) maps as starting point
Added: trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/maps/elements.map
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/maps/elements.map (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/maps/elements.map 2009-06-10 14:58:27 UTC (rev 15863)
@@ -0,0 +1,5 @@
+plugin(a)org.jbpm.gd.jpdl.help=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/
+plugin(a)org.jbpm.gd.jpdl.ui=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.ui/
+plugin(a)org.jbpm.gd.jpdl.core=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.core/
+plugin(a)org.jbpm.gd.jpdl=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/
+feature(a)org.jbpm.gd.jpdl.feature=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.feature/
\ No newline at end of file
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm3.releng/maps/elements.map
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map (rev 0)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map 2009-06-10 14:58:27 UTC (rev 15863)
@@ -0,0 +1,5 @@
+plugin(a)org.jbpm.gd.jpdl.help=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.help/
+plugin(a)org.jbpm.gd.jpdl.ui=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.ui/
+plugin(a)org.jbpm.gd.jpdl.core=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.core/
+plugin(a)org.jbpm.gd.jpdl=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl/
+feature(a)org.jbpm.gd.jpdl.feature=%cvsTag%,%jbpm-cvs-root%,,jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.feature/
\ No newline at end of file
Property changes on: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/elements.map
___________________________________________________________________
Name: svn:mime-type
+ text/plain
15 years, 6 months
JBoss Tools SVN: r15862 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-06-10 10:41:39 -0400 (Wed, 10 Jun 2009)
New Revision: 15862
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-831
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java 2009-06-10 14:17:02 UTC (rev 15861)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/views/palette/PaletteViewPart.java 2009-06-10 14:41:39 UTC (rev 15862)
@@ -98,7 +98,9 @@
paletteAdapter = null;
}
- public void setFocus() {}
+ public void setFocus() {
+ if(palette != null && !palette.isDisposed()) palette.setFocus();
+ }
public void partActivated(IWorkbenchPart part) {
IEditorPart part1 = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
15 years, 6 months