JBoss Tools SVN: r4685 - trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-11-03 14:53:25 -0400 (Sat, 03 Nov 2007)
New Revision: 4685
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-tools.jar
Log:
hibtools added in again.
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-tools.jar
===================================================================
(Binary files differ)
Property changes on: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-tools.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 1 month
JBoss Tools SVN: r4684 - trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-11-03 14:52:51 -0400 (Sat, 03 Nov 2007)
New Revision: 4684
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-tools.jar
Log:
hibtools cleanup
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/tools/hibernate-tools.jar
===================================================================
(Binary files differ)
17 years, 1 month
JBoss Tools SVN: r4683 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-11-03 11:07:52 -0400 (Sat, 03 Nov 2007)
New Revision: 4683
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1261,some adjustment for rich:dataTable, in rich:dataTable can be used also and tomohawk column
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml 2007-11-03 14:46:38 UTC (rev 4682)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.tomahawk/templates/vpe-templates-tomahawk.xml 2007-11-03 15:07:52 UTC (rev 4683)
@@ -244,6 +244,10 @@
<vpe:template children="yes" modify="yes">
<vpe:column title="{tagstring()}"/>
</vpe:template>
+ </vpe:if>
+ <vpe:if test="parentname()='rich:dataTable'">
+ <vpe:template children="yes" modify="yes" namespaceIdentifier="org.jboss.tools.jsf.vpe.richfaces" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
+ </vpe:template>
</vpe:if>
</vpe:tag>
17 years, 1 month
JBoss Tools SVN: r4682 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-11-03 10:46:38 -0400 (Sat, 03 Nov 2007)
New Revision: 4682
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeInsertTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1213, s:decorate was adjusted, also was adjusted some facelets(ui:compozition,ui:inser)
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java 2007-11-03 14:46:32 UTC (rev 4681)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeCompositionTemplate.java 2007-11-03 14:46:38 UTC (rev 4682)
@@ -16,11 +16,23 @@
import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
+import org.w3c.dom.Attr;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
public class VpeCompositionTemplate extends VpeDefineContainerTemplate {
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode, nsIDOMDocument visualDocument){
+
+ Attr attr = ((Element)sourceNode).getAttributeNode(VpeDefineContainerTemplate.ATTR_TEMPLATE);
+ if (attr != null) {
+ return super.create(pageContext, sourceNode, visualDocument);
+ } else {
+ nsIDOMElement composition = visualDocument.createElement(HTML.TAG_DIV);
+ return new VpeCreationData(composition);
+ }
+ }
+
protected VpeCreationData createStub(String fileName, Node sourceElement, nsIDOMDocument visualDocument) {
nsIDOMElement container = visualDocument.createElement(HTML.TAG_DIV);
container.setAttribute("style", "border: 1px dashed #2A7F00");
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-11-03 14:46:32 UTC (rev 4681)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-11-03 14:46:38 UTC (rev 4682)
@@ -34,7 +34,7 @@
import org.mozilla.interfaces.nsIDOMNode;
public abstract class VpeDefineContainerTemplate extends VpeAbstractTemplate {
- private static final String ATTR_TEMPLATE = "template";
+ protected static final String ATTR_TEMPLATE = "template";
private static Set<Node> defineContainer = new HashSet<Node>();
@Override
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineTemplate.java 2007-11-03 14:46:32 UTC (rev 4681)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineTemplate.java 2007-11-03 14:46:38 UTC (rev 4682)
@@ -10,13 +10,10 @@
******************************************************************************/
package org.jboss.tools.jsf.vpe.facelets.template;
-import java.util.Map;
-
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
import org.jboss.tools.vpe.editor.template.VpeCreationData;
-import org.jboss.tools.vpe.editor.template.VpeTemplate;
-import org.jboss.tools.vpe.editor.util.HTML;
+ import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
import org.mozilla.interfaces.nsIDOMNode;
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeInsertTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeInsertTemplate.java 2007-11-03 14:46:32 UTC (rev 4681)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeInsertTemplate.java 2007-11-03 14:46:38 UTC (rev 4682)
@@ -19,10 +19,10 @@
import org.jboss.tools.vpe.editor.util.HTML;
import org.mozilla.interfaces.nsIDOMDocument;
import org.mozilla.interfaces.nsIDOMElement;
-import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
+import org.w3c.dom.Text;
public class VpeInsertTemplate extends VpeAbstractTemplate {
@@ -48,21 +48,27 @@
creationData.setData(pageContext.getVisualBuilder().popIncludeStack());
return creationData;
}
+ } else {
+ Node undefineElement = findUndefinedElement(includeInfo.getElement());
+ if (undefineElement != null) {
+ VpeCreationData creationData = createInsert(undefineElement, visualDocument);
+ creationData.setData(pageContext.getVisualBuilder().popIncludeStack());
+ return creationData;
+ }
}
}
VpeCreationData creationData = createStub((Element)sourceNode, visualDocument);
creationData.setData(null);
return creationData;
}
-
public void validate(VpePageContext pageContext, Node sourceNode, nsIDOMDocument visualDocument, VpeCreationData creationData) {
VpeIncludeInfo includeInfo = (VpeIncludeInfo)creationData.getData();
if (includeInfo != null) {
pageContext.getVisualBuilder().pushIncludeStack((VpeIncludeInfo)includeInfo);
}
}
-
- public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, Document visualDocument, Node visualNode, Object data, String name, String value) {
+ @Override
+ public boolean isRecreateAtAttrChange(VpePageContext pageContext, Element sourceElement, nsIDOMDocument visualDocument, nsIDOMElement visualNode, Object data, String name, String value) {
return true;
}
@@ -81,7 +87,28 @@
return defineElement;
}
- private VpeCreationData createInsert(Element defineElement, nsIDOMDocument visualDocument) {
+ private Node findUndefinedElement(Element defineContainer) {
+ Node defineElement = null;
+ NodeList children = defineContainer.getChildNodes();
+ int len = children.getLength();
+ for (int i = 0; i < len; i++) {
+ Node child = children.item(i);
+ if ((child.getNodeType() == Node.ELEMENT_NODE||child.getNodeType() == Node.TEXT_NODE)) {
+
+ if(child.getNodeType() == Node.ELEMENT_NODE&&!"define".equals(child.getLocalName())&&((Element)child).getAttribute("name")==null) {
+ defineElement = child;
+ break;
+ } else if(child.getNodeType() == Node.TEXT_NODE&&((Text)child).getNodeValue()!=null&&
+ ((Text)child).getNodeValue().trim().length()>0) {
+ defineElement = child;
+ break;
+ }
+ }
+ }
+ return defineElement;
+ }
+
+ private VpeCreationData createInsert(Node defineElement, nsIDOMDocument visualDocument) {
VpeCreationData creationData = new VpeCreationData(null);
VpeChildrenInfo childrenInfo = new VpeChildrenInfo(null);
childrenInfo.addSourceChild(defineElement);
17 years, 1 month
JBoss Tools SVN: r4681 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-11-03 10:46:32 -0400 (Sat, 03 Nov 2007)
New Revision: 4681
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1213, s:decorate was adjusted, also was adjusted some facelets(ui:compozition,ui:inser)
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2007-11-03 10:25:25 UTC (rev 4680)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2007-11-03 14:46:32 UTC (rev 4681)
@@ -10,9 +10,8 @@
</vpe:tag>
<vpe:tag name="s:decorate" case-sensitive="yes">
- <vpe:template children="yes" modify="yes">
- <div style="border: 1px dashed #2A7F00" />
- </vpe:template>
+ <vpe:template children="yes" modify="yes" namespaceIdentifier="org.jboss.tools.jsf.vpe.facelets" class="org.jboss.tools.jsf.vpe.facelets.template.VpeDecorateTemplate">
+ </vpe:template>
</vpe:tag>
<vpe:tag name="s:label" case-sensitive="yes">
17 years, 1 month
JBoss Tools SVN: r4680 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-11-03 06:25:25 -0400 (Sat, 03 Nov 2007)
New Revision: 4680
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1213, style and styleclass attributes was added to templates for s:div and s:span, s:label template was added, s:message was adjusted
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2007-11-02 21:22:54 UTC (rev 4679)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml 2007-11-03 10:25:25 UTC (rev 4680)
@@ -8,20 +8,56 @@
<div style="border: 1px dashed #2A7F00" />
</vpe:template>
</vpe:tag>
-
+
<vpe:tag name="s:decorate" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
<div style="border: 1px dashed #2A7F00" />
</vpe:template>
</vpe:tag>
-
- <vpe:tag name="s:message" case-sensitive="yes">
+
+ <vpe:tag name="s:label" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <div style="border: 1px dashed #2A7F00" />
+ <label class="{@styleClass}" style="{@style}"/>
</vpe:template>
</vpe:tag>
+ <vpe:tag name="s:message" case-sensitive="yes">
+ <vpe:template children="no" modify="no">
+ <span class="{@styleClass}" style="{@style}">
+ Error Messages
+ </span>
+ <vpe:dnd>
+ <vpe:drag start-enable="yes" />
+ <vpe:drop container="no"/>
+ </vpe:dnd>
+ <vpe:textFormating>
+ <vpe:format type="BlockFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler"/>
+ <vpe:format type="UnderlineFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BoldFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ItalicFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontNameFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="FontSizeFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="BackgroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ <vpe:format type="ForegroundColorFormat">
+ <vpe:formatAttribute type="style"/>
+ </vpe:format>
+ </vpe:textFormating>
+ </vpe:template>
+ </vpe:tag>
+
<vpe:tag name="s:formattedText" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
<div style="{@style}" class="{@styleClass}"
@@ -34,13 +70,13 @@
<vpe:tag name="s:span" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <span />
+ <span style="{@style}" class="{@styleClass}" />
</vpe:template>
</vpe:tag>
<vpe:tag name="s:div" case-sensitive="yes">
<vpe:template children="yes" modify="yes">
- <div />
+ <div style="{@style}" class="{@styleClass}" />
</vpe:template>
</vpe:tag>
17 years, 1 month
JBoss Tools SVN: r4679 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/events.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-11-02 17:22:54 -0400 (Fri, 02 Nov 2007)
New Revision: 4679
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/events/PackagesPublishLabelProvider.java
Log:
UI change: changed file(s)
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/events/PackagesPublishLabelProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/events/PackagesPublishLabelProvider.java 2007-11-02 21:20:11 UTC (rev 4678)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/events/PackagesPublishLabelProvider.java 2007-11-02 21:22:54 UTC (rev 4679)
@@ -75,8 +75,8 @@
propertyToMessageMap.put(PublisherEventLogger.DELTA_KIND + DELIMITER + ServerBehaviourDelegate.REMOVED, "Removed");
propertyToMessageMap.put(PublisherEventLogger.DELTA_KIND + DELIMITER + ServerBehaviourDelegate.NO_CHANGE, "No Change");
- propertyToMessageMap.put(PublisherEventLogger.CHANGED_FILE_COUNT, "Changed Files");
- propertyToMessageMap.put(PublisherEventLogger.CHANGED_MODULE_COUNT, "Changed Modules");
+ propertyToMessageMap.put(PublisherEventLogger.CHANGED_FILE_COUNT, "Changed File(s)");
+ propertyToMessageMap.put(PublisherEventLogger.CHANGED_MODULE_COUNT, "Changed Module(s)");
// propertyToMessageMap.put(IJBossServerPublisher.MODULE_NAME, "Module Name");
// propertyToMessageMap.put(PackagesPublisher.PackagesPublisherRemoveEvent.PACKAGE_NAME, "Package Name");
17 years, 2 months
JBoss Tools SVN: r4678 - in trunk/as/plugins: org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2007-11-02 17:20:11 -0400 (Fri, 02 Nov 2007)
New Revision: 4678
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ModuleUtil.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/ModuleViewProvider.java
Log:
Full Publish on EAR not republishing child modules. Will now.
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ModuleUtil.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ModuleUtil.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/util/ModuleUtil.java 2007-11-02 21:20:11 UTC (rev 4678)
@@ -0,0 +1,34 @@
+package org.jboss.ide.eclipse.as.core.util;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.wst.server.core.IModule;
+import org.eclipse.wst.server.core.IServer;
+
+public class ModuleUtil {
+ public static ArrayList<IModule[]> getShallowChildren(IServer server, IModule[] root) {
+ ArrayList<IModule[]> list = new ArrayList<IModule[]>();
+ IModule[] children = server.getChildModules(root, new NullProgressMonitor());
+ // children is { aWar, bWar, cWar } projects
+ for( int i = 0; i < children.length; i++ ) {
+ ArrayList<IModule> inner = new ArrayList<IModule>();
+ inner.addAll(Arrays.asList(root));
+ inner.add(children[i]);
+ IModule[] innerMods = inner.toArray(new IModule[inner.size()]);
+ list.add(innerMods);
+ }
+ return list;
+ }
+
+ public static ArrayList<IModule[]> getDeepChildren(IServer server, IModule[] mod) {
+ ArrayList<IModule[]> deep = getShallowChildren(server, mod);
+ IModule[] toBeSearched;
+ for( int i = 0; i < deep.size(); i++ ) {
+ toBeSearched = deep.get(i);
+ deep.addAll(getShallowChildren(server, toBeSearched));
+ }
+ return deep;
+ }
+}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/ModuleViewProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/ModuleViewProvider.java 2007-11-02 20:50:56 UTC (rev 4677)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/providers/ModuleViewProvider.java 2007-11-02 21:20:11 UTC (rev 4678)
@@ -43,12 +43,11 @@
import org.eclipse.wst.server.core.ServerUtil;
import org.eclipse.wst.server.core.internal.PublishServerJob;
import org.eclipse.wst.server.core.internal.Server;
-import org.eclipse.wst.server.core.model.ServerBehaviourDelegate;
import org.eclipse.wst.server.ui.ServerUICore;
import org.eclipse.wst.server.ui.internal.view.servers.ModuleServer;
import org.jboss.ide.eclipse.as.core.server.UnitedServerListener;
import org.jboss.ide.eclipse.as.core.server.UnitedServerListenerManager;
-import org.jboss.ide.eclipse.as.core.util.ServerConverter;
+import org.jboss.ide.eclipse.as.core.util.ModuleUtil;
import org.jboss.ide.eclipse.as.ui.JBossServerUISharedImages;
import org.jboss.ide.eclipse.as.ui.Messages;
import org.jboss.ide.eclipse.as.ui.views.server.extensions.ServerViewProvider;
@@ -133,7 +132,12 @@
if( selection != null && selection.length > 0 ) {
Server s = ((Server)selection[0].server);
for( int i = 0; i < selection.length; i++ ) {
- s.setModulePublishState(selection[i].module, type);
+ IModule[] mod = selection[i].module;
+ s.setModulePublishState(mod, type);
+ ArrayList<IModule[]> allChildren = ModuleUtil.getDeepChildren(s, mod);
+ for( int j = 0; j < allChildren.size(); j++ ) {
+ s.setModulePublishState((IModule[])allChildren.get(j), type);
+ }
}
new PublishServerJob(s, IServer.PUBLISH_INCREMENTAL, true).schedule();
}
17 years, 2 months
JBoss Tools SVN: r4677 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2007-11-02 16:50:56 -0400 (Fri, 02 Nov 2007)
New Revision: 4677
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
Log:
get rid of
!ENTRY org.eclipse.osgi 2 1 2007-11-02 12:49:14.796
!MESSAGE NLS unused message: SeamCoreBuilder.1 in: org.jboss.tools.seam.core.messages
!ENTRY org.eclipse.osgi 2 1 2007-11-02 12:49:14.796
!MESSAGE NLS unused message: ANT_COPY_UTILS_COULD_NOT_FIND_ in: org.jboss.tools.seam.core.messages
!ENTRY org.eclipse.osgi 2 1 2007-11-02 12:49:14.796
!MESSAGE NLS missing message: SeamCoreBuilder_1 in: org.jboss.tools.seam.core.messages
errors
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2007-11-02 19:58:52 UTC (rev 4676)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2007-11-02 20:50:56 UTC (rev 4677)
@@ -1,7 +1,6 @@
-SeamCoreBuilder.1=Error storing build results for ''{0}''
+SeamCoreBuilder_1=Error storing build results for ''{0}''
ANT_COPY_UTILS_COPY_FAILED=Copy failed - ''{0}'' does not exist
ANT_COPY_UTILS_COULD_NOT_FIND_FOLDER=Could not find ''{0}''
-ANT_COPY_UTILS_COULD_NOT_FIND_=Could not find
ANT_COPY_UTILS_IN=\ in
ANT_COPY_UTILS_CANNOT_COPY_JDBC_DRIVER_JAR=Cannot copy JDBC driver jar ''{0}''
DATA_SOURCE_XML_DEPLOYER_DEPLOYING_DATASOURCE_TO_SERVER=Deploying datasource to server
17 years, 2 months
JBoss Tools SVN: r4676 - in trunk/vpe/plugins/org.jboss.tools.vpe: templates and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2007-11-02 15:58:52 -0400 (Fri, 02 Nov 2007)
New Revision: 4676
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1213, rich:dataTable was adjusted(was added support of h:column, not only rich:column, and was added possability to show text, from it's node)
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java 2007-11-02 19:58:46 UTC (rev 4675)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java 2007-11-02 19:58:52 UTC (rev 4676)
@@ -168,6 +168,14 @@
private Set<String> withoutWhitespaceContainerSet = new HashSet<String>();
private Set<String> withoutPseudoElementContainerSet = new HashSet<String>();
+ /**
+ * Added by Max Areshkau(mareshkau(a)exadel.com)
+ * This property identify namespace which should be used to load some specific class.
+ * For example in rich:dataTable can be h:column, but rich:dataTable is separate plugin,
+ * so to render h:column we should load the specific class for h:column from richfaces template
+ */
+ private static final String NAMESPACE_IDENTIFIER_ATTRIBUTE="namespaceIdentifier";
+
static {
// withoutWhitespaceContainer.
}
@@ -747,9 +755,17 @@
private VpeTemplate createTemplate(Element templateElement,IConfigurationElement confElement, boolean caseSensitive) {
VpeTemplate template = null;
String templateClassName = templateElement.getAttribute(VpeTemplateManager.ATTR_TEMPLATE_CLASS);
+ String nameSpaceIdentifyer = templateElement.getAttribute(VpeTemplateManager.NAMESPACE_IDENTIFIER_ATTRIBUTE);
if (templateClassName != null && templateClassName.length() > 0) {
try {
- Bundle bundle = Platform.getBundle(confElement.getNamespaceIdentifier());
+ Bundle bundle;
+ if(nameSpaceIdentifyer==null||nameSpaceIdentifyer.length()==0) {
+
+ bundle = Platform.getBundle(confElement.getNamespaceIdentifier());
+ } else {
+
+ bundle = Platform.getBundle(nameSpaceIdentifyer);
+ }
Class templateClass = bundle.loadClass(templateClassName);
template = (VpeTemplate)templateClass.newInstance();
} catch (Exception e) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2007-11-02 19:58:46 UTC (rev 4675)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/templates/vpe-templates-jsf.xml 2007-11-02 19:58:52 UTC (rev 4676)
@@ -1037,6 +1037,10 @@
<vpe:column title="{tagstring()}"/>
</vpe:template>
</vpe:if>
+ <vpe:if test="parentname()='rich:dataTable'">
+ <vpe:template children="yes" modify="yes" namespaceIdentifier="org.jboss.tools.jsf.vpe.richfaces" class="org.jboss.tools.jsf.vpe.richfaces.template.RichFacesColumnTemplate">
+ </vpe:template>
+ </vpe:if>
</vpe:tag>
<vpe:tag name="f:facet" case-sensitive="yes">
17 years, 2 months