JBoss Tools SVN: r4336 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2007-10-18 09:09:20 -0400 (Thu, 18 Oct 2007)
New Revision: 4336
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/TabbedJavaChoicerFieldEditor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-727
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/TabbedJavaChoicerFieldEditor.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/TabbedJavaChoicerFieldEditor.java 2007-10-18 12:51:34 UTC (rev 4335)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/TabbedJavaChoicerFieldEditor.java 2007-10-18 13:09:20 UTC (rev 4336)
@@ -29,6 +29,7 @@
public class TabbedJavaChoicerFieldEditor extends ExtendedFieldEditor implements IPropertyFieldEditor {
private static final String LAST_CHOICER = "TabbedJavaChoicerFieldEditor.LastChoicer";
+ private static final int WINDOW_HEIGHT = 400;
protected IPropertyEditor propertyEditor;
protected TabFolder tabbedPane;
@@ -82,10 +83,12 @@
layout.marginHeight = 0;
layout.marginWidth = 0;
gd = new GridData(GridData.FILL_BOTH);
+ gd.heightHint = WINDOW_HEIGHT;
composite.setLayoutData(gd);
tabbedPane = new TabFolder(composite, SWT.NONE);
gd = new GridData(GridData.FILL_BOTH);
+ gd.heightHint = WINDOW_HEIGHT;
tabbedPane.setLayoutData(gd);
// classic
TabItem classicChooser = new TabItem(tabbedPane, SWT.NONE);
17 years, 2 months
JBoss Tools SVN: r4335 - trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/navigator.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2007-10-18 08:51:34 -0400 (Thu, 18 Oct 2007)
New Revision: 4335
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/navigator/JsfProjectsTreeListener.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1087
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/navigator/JsfProjectsTreeListener.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/navigator/JsfProjectsTreeListener.java 2007-10-18 12:50:26 UTC (rev 4334)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/navigator/JsfProjectsTreeListener.java 2007-10-18 12:51:34 UTC (rev 4335)
@@ -10,10 +10,11 @@
******************************************************************************/
package org.jboss.tools.jsf.ui.navigator;
-import org.jboss.tools.common.model.ui.navigator.TreeViewerModelListenerImpl;
-import org.jboss.tools.common.model.*;
+import org.jboss.tools.common.model.XModel;
+import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.event.XModelTreeEvent;
import org.jboss.tools.common.model.impl.XModelImpl;
+import org.jboss.tools.common.model.ui.navigator.TreeViewerModelListenerImpl;
import org.jboss.tools.jsf.model.JSFConstants;
import org.jboss.tools.jsf.model.pv.JSFProjectTagLibs;
import org.jboss.tools.jsf.model.pv.JSFProjectsRoot;
@@ -67,8 +68,6 @@
} else if(JSFProjectTagLibs.isTLDFile(c) ||
"FileSystemJar".equals(entity)) {
invalidateTagLibs(source.getModel());
- } else if(entity.startsWith("FileShaleDialog")) {
- invalidateConfig(source.getModel());
} else if(entity.startsWith(JSFConstants.ENT_FACESCONFIG)) {
invalidateConfig(source.getModel());
} else if("JSFManagedBean".equals(entity)) {
@@ -77,8 +76,6 @@
invalidateFolder(source.getModel(), "Beans");
} else if("FileTiles".equals(entity)) {
invalidateFolder(source.getModel(), "Tiles");
- } else if(isShaleAdded(c)) {
- invalidateConfig(source.getModel());
} else if("FileFolder".equals(entity)) {
WebProjectNode n = getProjectRoot(source.getModel());
if(n != null) n.invalidate();
@@ -124,11 +121,4 @@
WebProjectNode b = (WebProjectNode)n.getChildByPath(name);
b.invalidate();
}
-
- private boolean isShaleAdded(XModelObject c) {
- if(!"FileSystemJar".equals(c.getModelEntity().getName())) return false;
- if(!"lib-shale-core.jar".equals(c.getAttributeValue("name"))) return false;
- return true;
- }
-
-}
+}
\ No newline at end of file
17 years, 2 months
JBoss Tools SVN: r4334 - in trunk: jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2007-10-18 08:50:26 -0400 (Thu, 18 Oct 2007)
New Revision: 4334
Removed:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdJSFIDResource.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/NavigationCaseHyperlink.java
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JSFProjectConfiguration.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdActionResource.java
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPTextJspKbConnector.java
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/IWebPromptingProvider.java
trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/WebPromptingProvider.java
trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.properties
Log:
http://jira.jboss.com/jira/browse/JBIDE-1087
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JSFProjectConfiguration.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JSFProjectConfiguration.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JSFProjectConfiguration.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -10,9 +10,11 @@
******************************************************************************/
package org.jboss.tools.jsf.model.pv;
-import java.util.*;
-import org.eclipse.core.resources.IResource;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import org.eclipse.core.resources.IResource;
import org.jboss.tools.common.model.XModel;
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.event.XModelTreeEvent;
@@ -55,13 +57,8 @@
}
return treeChildren;
}
-
+
private boolean acceptChild(XModelObject object) {
- String entity = object.getModelEntity().getName();
- if(entity.equals("JSFProjectShaleConfiguration")) {
- XModelObject jar = object.getModel().getByPath("FileSystems/lib-shale-clay.jar");
- return jar != null;
- }
return true;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/NavigationCaseHyperlink.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/NavigationCaseHyperlink.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/NavigationCaseHyperlink.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -14,7 +14,6 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.jface.text.IRegion;
-
import org.jboss.tools.common.model.XModel;
import org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlink;
import org.jboss.tools.jsf.text.ext.JSFExtensionsPlugin;
@@ -40,11 +39,7 @@
String beanName = getDocument().get(region.getOffset(), region.getLength());
Properties p = new Properties();
p.put(WebPromptingProvider.FILE, file);
- if(beanName != null && beanName.startsWith("dialog:")) {
- provider.getList(xModel, WebPromptingProvider.SHALE_OPEN_DIALOG, beanName, p);
- } else {
- provider.getList(xModel, WebPromptingProvider.JSF_OPEN_ACTION, beanName, p);
- }
+ provider.getList(xModel, WebPromptingProvider.JSF_OPEN_ACTION, beanName, p);
} catch (Exception x) {
JSFExtensionsPlugin.log("", x);
}
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdActionResource.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdActionResource.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdActionResource.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -20,12 +20,10 @@
import java.util.TreeSet;
import org.eclipse.ui.IEditorInput;
-
-import org.jboss.tools.common.model.util.XModelObjectLoaderUtil;
-
import org.jboss.tools.common.kb.KbDinamicResource;
import org.jboss.tools.common.kb.KbIcon;
import org.jboss.tools.common.kb.KbProposal;
+import org.jboss.tools.common.model.util.XModelObjectLoaderUtil;
import org.jboss.tools.jst.web.project.list.IWebPromptingProvider;
import org.jboss.tools.jst.web.project.list.WebPromptingProvider;
@@ -35,7 +33,6 @@
public class WTPKbdActionResource extends WTPKbAbstractModelResource {
private String fPath;
public static String SUPPORTED_ID = WebPromptingProvider.JSF_VIEW_ACTIONS;
- public static String SUPPORTED_ID_SHALE = WebPromptingProvider.SHALE_VIEW_DIALOGS;
public WTPKbdActionResource(IEditorInput editorInput, WTPTextJspKbConnector connector) {
super(editorInput);
@@ -58,14 +55,7 @@
view.put(IWebPromptingProvider.VIEW_PATH, fPath);
List<Object> sourceList = fProvider.getList(fXModelObject.getModel(), SUPPORTED_ID, "", view);
- if(view != null) {
- List shaleDialogList = (List)fProvider.getList(fXModelObject.getModel(), SUPPORTED_ID_SHALE, "", view);
- if(shaleDialogList != null) {
- Iterator it = shaleDialogList.iterator();
- while(it.hasNext()) sourceList.add(it.next());
- }
- }
-
+
if (sourceList != null && !sourceList.isEmpty()) {
Set<String> sorted = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
Iterator it = sourceList.iterator();
Deleted: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdJSFIDResource.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdJSFIDResource.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPKbdJSFIDResource.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -1,80 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jst.jsp.support.kb;
-
-import java.io.InputStream;
-import java.util.*;
-import org.eclipse.ui.IEditorInput;
-import org.jboss.tools.common.kb.*;
-import org.jboss.tools.jst.jsp.JspEditorPlugin;
-import org.jboss.tools.jst.web.project.list.WebPromptingProvider;
-
-public class WTPKbdJSFIDResource extends WTPKbAbstractModelResource {
- public static String SUPPORTED_ID = WebPromptingProvider.SHALE_COMPONENTS;
-
- public WTPKbdJSFIDResource(IEditorInput fEditorInput) {
- super(fEditorInput);
- }
-
- public void setConstraint(String name, String value) {
- }
-
- public void clearConstraints() {
- }
-
- public Collection<KbProposal> queryProposal(String query) {
- Collection<KbProposal> proposals = new ArrayList<KbProposal>();
- try {
- if (!isReadyToUse()) return proposals;
- String rQuery = getPassiveQueryPart(query);
-
- Set<String> sorted = new TreeSet<String>(String.CASE_INSENSITIVE_ORDER);
- List beanList = fProvider.getList(fXModel, SUPPORTED_ID, "", null);
- Iterator itr = beanList.iterator();
- while (itr.hasNext()) sorted.add(itr.next().toString());
- if (sorted.isEmpty()) return proposals;
- Iterator it = sorted.iterator();
- while(it.hasNext()) {
- String text = (String)it.next();
- if(rQuery.length() == 0 || text.startsWith(rQuery)) {
- KbProposal proposal = new KbProposal();
- proposal.setLabel(text);
- proposal.setReplacementString(text);
- proposal.setIcon(KbIcon.ENUM_ITEM);
- proposals.add(proposal);
- proposal.setPosition(proposal.getReplacementString().length());
- }
- }
- } catch (Exception x) {
- JspEditorPlugin.getPluginLog().logError(x);
- }
- return proposals;
- }
-
- private String getPassiveQueryPart(String query) {
- if (query == null || query.trim().length() == 0) return "";
- int startIndex = query.length();
- return query.substring(0, startIndex);
- }
-
- public boolean isReadyToUse() {
- return (fProvider != null && fXModel != null);
- }
-
- public String getType() {
- return KbDinamicResource.JSF_ID;
- }
-
- public InputStream getInputStream() {
- return null;
- }
-
-}
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPTextJspKbConnector.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPTextJspKbConnector.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/support/kb/WTPTextJspKbConnector.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -28,24 +28,22 @@
import org.eclipse.wst.xml.core.internal.document.NodeContainer;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
import org.jboss.tools.common.kb.KbConnector;
import org.jboss.tools.common.kb.KbConnectorFactory;
import org.jboss.tools.common.kb.KbConnectorType;
import org.jboss.tools.common.kb.KbException;
import org.jboss.tools.common.kb.KbResource;
import org.jboss.tools.common.kb.TagDescriptor;
-import org.jboss.tools.common.model.plugin.ModelPlugin;
import org.jboss.tools.jst.jsp.JspEditorPlugin;
import org.jboss.tools.jst.web.tld.TaglibData;
import org.jboss.tools.jst.web.tld.VpeTaglibListener;
import org.jboss.tools.jst.web.tld.VpeTaglibManager;
import org.jboss.tools.jst.web.tld.VpeTaglibManagerProvider;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
/**
* @author Jeremy
@@ -71,7 +69,6 @@
private WTPKbdBeanMethodResource fBeanMethodResourceRegistered = null;
private WTPKbImageFileResource fImageFileResourced = null;
private WTPKbdManagedBeanNameResource fManagedBeanNameResourceRegistered = null;
- private WTPKbdJSFIDResource fJSFIDResource = null;
private WTPKbJsfValuesResource fJSFValuesResource = null;
WTPKbdTaglibResource fTaglibResource = null;
@@ -122,11 +119,6 @@
fManagedBeanNameResourceRegistered = managedBeanNameResource;
registerResource(fManagedBeanNameResourceRegistered);
}
- WTPKbdJSFIDResource jsfIDResource = new WTPKbdJSFIDResource(editorInput);
- if(jsfIDResource.isReadyToUse()) {
- fJSFIDResource = jsfIDResource;
- registerResource(fJSFIDResource);
- }
WTPKbJsfValuesResource resource = new WTPKbJsfValuesResource(editorInput, this);
if(resource.isReadyToUse()) {
fJSFValuesResource = resource;
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/IWebPromptingProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/IWebPromptingProvider.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/IWebPromptingProvider.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -57,11 +57,6 @@
static String STRUTS_OPEN_TAG_LIBRARY = "struts.open.taglibrary";
static String STRUTS_OPEN_METHOD = "struts.open.method";
- static String SHALE_OPEN_COMPONENT = "shale.open.component";
- static String SHALE_COMPONENTS = "shale.components";
- static String SHALE_OPEN_DIALOG = "shale.open.dialog";
- static String SHALE_VIEW_DIALOGS = "shale.view.dialogs";
-
static String PROPERTY_TYPE = "propertyType";
static String PROPERTY_BEAN_ONLY = "bean-only";
static String PARAMETER_TYPES = "parameterTypes"; // String[]
Modified: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/WebPromptingProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/WebPromptingProvider.java 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/project/list/WebPromptingProvider.java 2007-10-18 12:50:26 UTC (rev 4334)
@@ -24,8 +24,7 @@
static {
String[][] pns = new String[][]{
{"org.jboss.tools.jsf.model.pv.JSFPromptingProvider", "org.jboss.tools.jsf"},
- {"org.jboss.tools.struts.model.pv.StrutsPromptingProvider", "org.jboss.tools.struts"},
- {"org.jboss.tools.shale.model.pv.ShalePromptingProvider", "org.jboss.tools.shale"}
+ {"org.jboss.tools.struts.model.pv.StrutsPromptingProvider", "org.jboss.tools.struts"}
};
List<IWebPromptingProvider> l = new ArrayList<IWebPromptingProvider>();
for (int i = 0; i < pns.length; i++) {
Modified: trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.properties 2007-10-18 12:38:58 UTC (rev 4333)
+++ trunk/seam/plugins/org.jboss.tools.seam.xml.ui/plugin.properties 2007-10-18 12:50:26 UTC (rev 4334)
@@ -1,6 +1,2 @@
providerName=Red Hat, Inc.
-pluginName=Seam XML
-
-editors.shale-dialog.name=Shale Dialog Config
-editors.shale-clay.name=Shale Clay Config
-editors.spring-beans.name=Spring Beans Config
+pluginName=Seam XML
\ No newline at end of file
17 years, 2 months
JBoss Tools SVN: r4333 - trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2007-10-18 08:38:58 -0400 (Thu, 18 Oct 2007)
New Revision: 4333
Modified:
trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1087
Modified: trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java
===================================================================
--- trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java 2007-10-18 12:31:24 UTC (rev 4332)
+++ trunk/tests/tests/org.jboss.tools.test/src/org/jboss/tools/tests/PlugInLoadTest.java 2007-10-18 12:38:58 UTC (rev 4333)
@@ -115,16 +115,7 @@
rhdsNS+"struts.verification"
});
}
-
- public void testShalePluginsResolved ()
- {
- assertPluginsResolved(new String[] {
- rhdsNS+"shale.ui",
- rhdsNS+"shale",
- rhdsNS+"shale.text.ext"
- });
- }
-
+
public void testCorePluginsResolved ()
{
assertPluginsResolved(new String[] {
17 years, 2 months
JBoss Tools SVN: r4331 - trunk/as/plugins/org.jboss.ide.eclipse.as.core.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2007-10-18 08:27:49 -0400 (Thu, 18 Oct 2007)
New Revision: 4331
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
Log:
JBIDE-1114 Fix Classpath entry <jboss as related classpath container> will not be exported or published
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-10-18 11:54:57 UTC (rev 4330)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/plugin.xml 2007-10-18 12:27:49 UTC (rev 4331)
@@ -410,4 +410,10 @@
id="org.jboss.ide.eclipse.as.core.packages.earPackageType"
label="EAR"/>
</extension>
+ <extension
+ point="org.eclipse.jst.j2ee.classpathdep">
+ <filteredClasspathContainer
+ containerID="org.jboss.ide.eclipse.as.classpath.core.runtime.ProjectRuntimeInitializer">
+ </filteredClasspathContainer>
+ </extension>
</plugin>
17 years, 2 months
JBoss Tools SVN: r4330 - in trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core: scanner and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-18 07:54:57 -0400 (Thu, 18 Oct 2007)
New Revision: 4330
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java
Log:
JBIDE-982
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-18 11:54:48 UTC (rev 4329)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-10-18 11:54:57 UTC (rev 4330)
@@ -71,7 +71,7 @@
ClassPath classPath = new ClassPath(this);
- boolean useDefaultRuntime = false;
+// boolean useDefaultRuntime = false;
String runtimeName = null;
@@ -87,6 +87,8 @@
Set<SeamProject> usedBy = new HashSet<SeamProject>();
+ Map<String,List<String>> imports = new HashMap<String, List<String>>();
+
{
ScopeType[] types = ScopeType.values();
for (int i = 0; i < scopes.length; i++) {
@@ -146,7 +148,7 @@
ISeamProject sp = SeamCorePlugin.getSeamProject(p, false);
return sp == null ? null : sp.getRuntimeName();
}
- if(useDefaultRuntime) {
+ if(runtimeName == null) {
SeamRuntime runtime = SeamRuntimeManager.getInstance().getDefaultRuntime();
return runtime != null ? runtime.getName() : null;
}
@@ -163,7 +165,7 @@
ISeamProject sp = SeamCorePlugin.getSeamProject(p, false);
return sp == null ? null : sp.getRuntime();
}
- if(useDefaultRuntime) {
+ if(runtimeName == null) {
return SeamRuntimeManager.getInstance().getDefaultRuntime();
}
return runtimeName == null ? null : SeamRuntimeManager.getInstance().findRuntimeByName(runtimeName);
@@ -179,7 +181,7 @@
if(this.runtimeName != null && this.runtimeName.equals(runtimeName)) return;
SeamRuntime d = SeamRuntimeManager.getInstance().getDefaultRuntime();
- useDefaultRuntime = d != null && d.getName().equals(runtimeName);
+ boolean useDefaultRuntime = d != null && d.getName().equals(runtimeName);
if(useDefaultRuntime) {
this.runtimeName = null;
}
@@ -255,7 +257,6 @@
runtimeName = prefs.get(RUNTIME_NAME, null);
if(runtimeName != null) {
} else {
- useDefaultRuntime = true;
storeRuntime();
}
SeamCorePlugin.getDefault().getPluginPreferences().addPropertyChangeListener(new Preferences.IPropertyChangeListener() {
@@ -263,9 +264,8 @@
if(SeamFacetPreference.RUNTIME_LIST.equals(event.getProperty())) {
SeamRuntime d = SeamRuntimeManager.getInstance().getDefaultRuntime();
if(d != null && d.getName().equals(runtimeName)) {
- runtimeName = null;
- useDefaultRuntime = true;
- storeRuntime();
+// runtimeName = null;
+// storeRuntime();
}
}
}
@@ -561,13 +561,19 @@
ISeamComponentDeclaration[] components = ds.getComponents().toArray(new ISeamComponentDeclaration[0]);
ISeamFactory[] factories = ds.getFactories().toArray(new ISeamFactory[0]);
- if(components.length == 0 && factories.length == 0) {
+ if(components.length == 0 && factories.length == 0 && ds.getImports().size() == 0) {
pathRemoved(source);
return;
}
if(!sourcePaths.contains(source)) sourcePaths.add(source);
revalidateLock++;
+
+ if(ds.getImports().size() > 0) {
+ imports.put(source.toString(), ds.getImports());
+ } else if(imports.containsKey(source.toString())) {
+ imports.remove(source.toString());
+ }
Map<Object,ISeamComponentDeclaration> currentComponents = findComponentDeclarations(source);
@@ -696,6 +702,7 @@
for (ISeamFactory f : ds.getFactories()) {
ds1.getFactories().add(f.clone());
}
+ ds1.getImports().addAll(ds.getImports());
p.registerComponents(ds1, source);
}
}
@@ -753,6 +760,7 @@
public void pathRemoved(IPath source) {
if(!sourcePaths.contains(source)) return;
sourcePaths.remove(source);
+ imports.remove(source.toString());
revalidateLock++;
Iterator<SeamComponent> iterator = allComponents.values().iterator();
while(iterator.hasNext()) {
@@ -992,7 +1000,10 @@
}
public boolean isImportedPackage(String packageName) {
- //TODO implement processing imported packages
+ for (String s: imports.keySet()) {
+ List<String> list = imports.get(s);
+ if(list.contains(packageName)) return true;
+ }
return false;
}
@@ -1321,6 +1332,16 @@
}
ds.getFactories().add(f.clone());
}
+ for (String s: imports.keySet()) {
+ IPath p = new Path(s);
+ if(p == null || p.toString().endsWith(".jar")) continue; //$NON-NLS-1$
+ LoadedDeclarations ds = map.get(p);
+ if(ds == null) {
+ ds = new LoadedDeclarations();
+ map.put(p, ds);
+ }
+ ds.getImports().addAll(imports.get(s));
+ }
return map;
}
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java 2007-10-18 11:54:48 UTC (rev 4329)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/LoadedDeclarations.java 2007-10-18 11:54:57 UTC (rev 4330)
@@ -24,6 +24,7 @@
public class LoadedDeclarations {
List<ISeamComponentDeclaration> components = new ArrayList<ISeamComponentDeclaration>();
List<ISeamFactory> factories = new ArrayList<ISeamFactory>();
+ List<String> imports = new ArrayList<String>();
public List<ISeamComponentDeclaration> getComponents() {
return components;
@@ -33,6 +34,10 @@
return factories;
}
+ public List<String> getImports() {
+ return imports;
+ }
+
public void add(LoadedDeclarations ds) {
if(ds == null) return;
components.addAll(ds.components);
17 years, 2 months
JBoss Tools SVN: r4329 - trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2007-10-18 07:54:48 -0400 (Thu, 18 Oct 2007)
New Revision: 4329
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
Log:
JBIDE-982
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2007-10-18 11:46:12 UTC (rev 4328)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2007-10-18 11:54:48 UTC (rev 4329)
@@ -15,6 +15,8 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
+import java.util.Set;
+import java.util.TreeSet;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ProjectScope;
@@ -84,9 +86,18 @@
seamEnablement.setValue(hasSeamSupport);
SeamRuntime rs = SeamRuntimeManager.getInstance().getDefaultRuntime();
+
+ Set<String> names = new TreeSet<String>();
+ names.addAll(SeamRuntimeManager.getInstance().getRuntimeNames());
+ if(hasSeamSupport) {
+ String currentName = seamProject.getRuntimeName();
+ if(currentName != null) names.add(currentName);
+ }
+ List<String> namesAsList = new ArrayList<String>();
+ namesAsList.addAll(names);
runtime = IFieldEditorFactory.INSTANCE.createComboWithButton(SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_RUNTIME,
- SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_RUNTIME, SeamRuntimeManager.getInstance().getRuntimeNames(),
+ SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_RUNTIME, namesAsList,
rs==null?"":rs.getName(),true,new NewSeamRuntimeAction(),(IValidator)null); //$NON-NLS-1$
List<IFieldEditor> editorOrder = new ArrayList<IFieldEditor>();
@@ -94,9 +105,9 @@
editorOrder.add(runtime);
if (hasSeamSupport) {
- SeamRuntime current = seamProject.getRuntime();
- if (current != null) {
- runtime.setValue(current.getName());
+ String currentName = seamProject.getRuntimeName();
+ if (currentName != null) {
+ runtime.setValue(currentName);
} else {
runtime.setValue("");
}
@@ -148,6 +159,7 @@
} else if(hasDependents(project)) {
setEnablement(seamEnablement, false);
}
+ validate();
return composite;
}
@@ -253,8 +265,13 @@
// setErrorMessage(SeamPreferencesMessages.SEAM_SETTINGS_PREFERENCE_PAGE_SEAM_RUNTIME_IS_NOT_SELECTED);
} else {
setValid(true);
- setErrorMessage(null);
- setMessage(null, IMessageProvider.WARNING);
+ String value = runtime.getValueAsString();
+ if(Boolean.TRUE.equals(seamEnablement.getValue()) && SeamRuntimeManager.getInstance().findRuntimeByName(value) == null) {
+ setErrorMessage("Runtime " + value + " does not exist.");
+ } else {
+ setErrorMessage(null);
+ setMessage(null, IMessageProvider.WARNING);
+ }
}
}
17 years, 2 months
JBoss Tools SVN: r4328 - in trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces: src/org/jboss/tools/jsf/vpe/richfaces/template and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dsakovich
Date: 2007-10-18 07:46:12 -0400 (Thu, 18 Oct 2007)
New Revision: 4328
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithAllLines.gif
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesRecursiveTreeNodesAdaptorTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodesAdaptorTemplate.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-847 Fix treeNodeAdaptor and recursiveNodeAdaptor
Added: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithAllLines.gif
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/resources/tree/iconNotCollapsedWithAllLines.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesRecursiveTreeNodesAdaptorTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesRecursiveTreeNodesAdaptorTemplate.java 2007-10-18 11:46:08 UTC (rev 4327)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesRecursiveTreeNodesAdaptorTemplate.java 2007-10-18 11:46:12 UTC (rev 4328)
@@ -50,12 +50,10 @@
public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
nsIDOMDocument visualDocument) {
- ComponentUtil.setCSSLink(pageContext, STYLE_PATH,
- "recursiveTreeNodesAdaptor");
+ ComponentUtil.setCSSLink(pageContext, STYLE_PATH, "treeNodesAdaptor");
nsIDOMElement visualElement = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_DIV);
- visualElement.setAttribute(ID_ATTR_NAME,
- RECURSIVE_TREE_NODES_ADAPTOR_NAME);
+ visualElement.setAttribute(ID_ATTR_NAME, TREE_NODES_ADAPTOR_NAME);
if (isHasParentAdapter(sourceNode)) {
visualElement.setAttribute(HtmlComponentUtil.HTML_CLASS_ATTR,
"dr-tree-h-ic-div");
@@ -165,7 +163,11 @@
* @return
*/
private boolean isHasNextParentAdaptorElement(Node sourceNode) {
- Node parentTree = sourceNode.getParentNode();
+ Node tree = sourceNode.getParentNode();
+ if (!(tree instanceof Element)) {
+ return true;
+ }
+ Node parentTree = tree.getParentNode();
if (!(parentTree instanceof Element)) {
return true;
}
@@ -188,10 +190,11 @@
if (lastElement != null) {
break;
}
- if (el.equals(sourceNode)) {
+ if (el.equals(tree)) {
lastElement = el;
}
}
+
if (el.getNodeName().equals(treeNodeName)
|| el.getNodeName().equals(treeNodesAdaptorName)
|| el.getNodeName().equals(treeRecursiveNodesAdaptorName)) {
@@ -239,4 +242,5 @@
}
return false;
}
+
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java 2007-10-18 11:46:08 UTC (rev 4327)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodeTemplate.java 2007-10-18 11:46:12 UTC (rev 4328)
@@ -57,6 +57,8 @@
public static final String ICON_NOT_EXPANDED_WITH_LINES = "/tree/iconNotCollapsedWithLines.gif";
+ public static final String ICON_NOT_EXPANDED_WITH_ALL_LINES = "/tree/iconNotCollapsedWithAllLines.gif";
+
public static final String ICON_NOT_EXPANDED_WITHOUT_LINES = "/tree/iconNotCollapsed.gif";
public static final String ICON_EXPANDED_ADAPTER_WITH_LINES = "/tree/iconClosedNodeWithLines.gif";
@@ -224,9 +226,6 @@
// creates icon with status of node(collapsed or not) node
nsIDOMElement td1 = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_TD);
-
- Element element = (Element) sourceNode;
- String id = element.getAttribute("id");
// sets icon node
if (!isLastElement(sourceNode) && isAdaptorChild(sourceNode)
&& !isHasNextAdaptorElement(sourceNode)) {
@@ -262,20 +261,37 @@
"background-image: url(file://" + path + "); "
+ NODE_LINES_STYLE);
}
- } else if ((isAdaptorChild(sourceNode) && isLastElement(sourceNode) && (isLastElementAfterAdaptor(sourceNode) == isAdaptorInTree(sourceNode)) /*
- * &&
- * (isAdaptorInTree(sourceNode) ==
- * isLastElementAfterAdaptor(sourceNode))
- */)
- || (!isAdaptorChild(sourceNode) && isLastElement(sourceNode))) {
- backgroundLinePath = RichFacesTemplatesActivator
- .getPluginResourcePath()
- + ICON_RIGHT_LINE;
+ } else if ((isAdaptorChild(sourceNode) && isLastElement(sourceNode) && (isLastElementAfterAdaptor(sourceNode) == isAdaptorInTree(sourceNode)))
+ || (!isAdaptorChild(sourceNode) && isLastElement(sourceNode))
+ || (isAdaptorChild(sourceNode) && isOnlyOneNodeInAdaptor(sourceNode))) {
+
+ if (isAdaptorChild(sourceNode)
+ && isOnlyOneNodeInAdaptor(sourceNode)
+ && !isLastElementAfterAdaptor(sourceNode)
+ && isHasNextParentAdaptorElement(sourceNode)) {
+ backgroundLinePath = RichFacesTemplatesActivator
+ .getPluginResourcePath()
+ + ICON_LINE;
+ setAttributeForPictureNode(
+ pageContext,
+ visualDocument,
+ (Element) sourceNode,
+ td1,
+ NODE_ICON_EXPANDED_ATTR_NAME,
+ showLinesValue == true ? ICON_NOT_EXPANDED_WITH_ALL_LINES
+ : ICON_NOT_EXPANDED_WITHOUT_LINES);
+ } else {
+ backgroundLinePath = RichFacesTemplatesActivator
+ .getPluginResourcePath()
+ + ICON_RIGHT_LINE;
+ setAttributeForPictureNode(pageContext, visualDocument,
+ (Element) sourceNode, td1,
+ NODE_ICON_EXPANDED_ATTR_NAME,
+ showLinesValue == true ? ICON_NOT_EXPANDED_WITH_LINES
+ : ICON_NOT_EXPANDED_WITHOUT_LINES);
+ }
+
setAttributeForPictureNode(pageContext, visualDocument,
- (Element) sourceNode, td1, NODE_ICON_EXPANDED_ATTR_NAME,
- showLinesValue == true ? ICON_NOT_EXPANDED_WITH_LINES
- : ICON_NOT_EXPANDED_WITHOUT_LINES);
- setAttributeForPictureNode(pageContext, visualDocument,
(Element) sourceNode, iconNode, NODE_ICON_LEAF_ATTR_NAME,
showLinesValue == true ? ICON_LEAF_WITH_LINES
: ICON_LEAF_WITHOUT_LINES);
@@ -668,4 +684,73 @@
}
return false;
}
+
+ private boolean isOnlyOneNodeInAdaptor(Node sourceNode) {
+ Node parent = sourceNode.getParentNode();
+ NodeList list = parent.getChildNodes();
+ Node currentNode = null;
+ String treeNodeName = sourceNode.getPrefix() + ":"
+ + RichFacesTreeTemplate.TREE_NODE_NAME;
+ for (int i = 0; i < list.getLength(); i++) {
+ Node el = list.item(i);
+ if (!(el instanceof Element)) {
+ continue;
+ }
+ if (el.getNodeName().equals(treeNodeName)) {
+ if (currentNode == null) {
+ currentNode = el;
+ } else {
+ return false;
+ }
+ } else {
+ return false;
+ }
+ }
+ return true;
+ }
+
+ /**
+ * Has Next element
+ *
+ * @param sourceNode
+ * @return
+ */
+ private boolean isHasNextParentAdaptorElement(Node sourceNode) {
+ Node tree = sourceNode.getParentNode();
+ if (!(tree instanceof Element)) {
+ return true;
+ }
+ Node parentTree = tree.getParentNode();
+ if (!(parentTree instanceof Element)) {
+ return true;
+ }
+ NodeList childs = parentTree.getChildNodes();
+ String treeNodesAdaptorName = parentTree.getPrefix() + ":"
+ + RichFacesTreeTemplate.TREE_NODES_ADAPTOR;
+ String treeRecursiveNodesAdaptorName = parentTree.getPrefix() + ":"
+ + RichFacesTreeTemplate.TREE_RECURSIVE_NODES_ADAPTOR;
+ Node lastElement = null;
+ Node el = null;
+
+ for (int i = 0; i < childs.getLength(); i++) {
+ el = childs.item(i);
+ if (!(el instanceof Element)) {
+ continue;
+ }
+
+ if (lastElement != null) {
+ break;
+ }
+ if (el.equals(tree)) {
+ lastElement = el;
+ }
+ }
+
+ if (el.getNodeName().equals(treeNodesAdaptorName)
+ || el.getNodeName().equals(treeRecursiveNodesAdaptorName)) {
+ return true;
+ }
+ return false;
+ }
+
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodesAdaptorTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodesAdaptorTemplate.java 2007-10-18 11:46:08 UTC (rev 4327)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeNodesAdaptorTemplate.java 2007-10-18 11:46:12 UTC (rev 4328)
@@ -204,6 +204,7 @@
/**
* Is adapter between treeNodes
+ *
* @param sourceNode
* @return
*/
@@ -234,7 +235,7 @@
}
}
-
+
if (beforeAdapterNode != null && afterAdapterNode != null) {
return true;
}
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java 2007-10-18 11:46:08 UTC (rev 4327)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java 2007-10-18 11:46:12 UTC (rev 4328)
@@ -178,40 +178,12 @@
super.validate(pageContext, sourceNode, visualDocument, data);
revertTableRows(data.getNode());
}
-
- public void checkConnectingLines(nsIDOMNode node) {
- try {
- nsIDOMNodeList list = node.getChildNodes();
- nsIDOMElement element = (nsIDOMElement) node
- .queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
- String id = element
- .getAttribute(RichFacesTreeNodesAdaptorTemplate.ID_ATTR_NAME);
- if (id == null)
- id = "";
- if (node.getNodeName().equalsIgnoreCase(
- HtmlComponentUtil.HTML_TAG_DIV)) {
-
- }
- nsIDOMNodeList list2 = node.getChildNodes();
- for (int i = 0; i < list2.getLength(); i++) {
- revertTableRows(list2.item(i));
- }
- } catch (XPCOMException e) {
- return;
- }
- }
-
/**
* Revert tree elements in right order.
*
* @param node
*/
- /**
- * Revert tree elements in right order.
- *
- * @param node
- */
private void revertTableRows(nsIDOMNode node) {
try {
17 years, 2 months
JBoss Tools SVN: r4327 - trunk/common/plugins/org.jboss.tools.common.model/resources/meta.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2007-10-18 07:46:08 -0400 (Thu, 18 Oct 2007)
New Revision: 4327
Modified:
trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
Log:
http://jira.jboss.com/jira/browse/JBIDE-1087
Modified: trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2007-10-18 11:44:19 UTC (rev 4326)
+++ trunk/common/plugins/org.jboss.tools.common.model/resources/meta/options_general.xml 2007-10-18 11:46:08 UTC (rev 4327)
@@ -1305,62 +1305,6 @@
STARTTEXT="<optionsCollection property="|"/>" />
</GroupHTML>
</PageTabHTML>
- <PageTabHTML DESCRIPTION="" EDITOR_TYPE=""
- ENTITY="SharablePageTabHTML" HIDDEN="yes" NAME="Struts Shale"
- NATURE_TYPE="" SCOPE="project" TABTYPE="HTML">
- <GroupHTML ENTITY="SharableGroupHTML" HIDDEN="no" ICON=""
- NAME="Core" PREFIX="s" SCOPE="project"
- URI="http://struts.apache.org/shale/core" add_taglib="true"
- library-version="">
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;s:validatorScript /&gt;</code><br><b>Attributes:</b><br><code><b>functionName</b></code>"
- ENDTEXT="" ENTITY="SharableMacroHTML" ICON=""
- NAME="validatorScript" REFORMAT="no" SCOPE="project"
- STARTTEXT="<validatorScript functionName="|"/>" />
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;s:subview&gt;</code><br><code>&lt;/s:subview&gt;</code><br><b>Attributes:</b><br><code><b>id</b>, binding, rendered</code>"
- ENDTEXT="</subview>" ENTITY="SharableMacroHTML" ICON=""
- NAME="subview" REFORMAT="yes" SCOPE="project"
- STARTTEXT="<subview id="|">" />
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %&gt;</code>"
- ENDTEXT="" ENTITY="SharableMacroHTML"
- ICON="%Icons%/Struts Common/taglib" NAME="Struts Shale Core taglib"
- REFORMAT="yes" SCOPE="project"
- STARTTEXT="<%@ taglib uri="http://struts.apache.org/shale/core" prefix="s" %>\\n|" />
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;s:commonsValidator /&gt;</code><br><b>Attributes:</b><br><code>type, min, max, minlength, maxlength, mask, datePatternStrict, message, arg, client, server</code>"
- ENDTEXT="" ENTITY="SharableMacroHTML" ICON=""
- NAME="commonsValidator" REFORMAT="no" SCOPE="project"
- STARTTEXT="<commonsValidator/>" />
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;s:token /&gt;</code><br><b>Attributes:</b><br><code>binding, id, rendered</code>"
- ENDTEXT="" ENTITY="SharableMacroHTML" ICON="" NAME="token"
- REFORMAT="no" SCOPE="project" STARTTEXT="<token/>" />
- </GroupHTML>
- <GroupHTML ENTITY="SharableGroupHTML" HIDDEN="yes" ICON=""
- NAME="Clay Plugin" PREFIX="clay" SCOPE="project"
- URI="http://struts.apache.org/shale/clay-plugin" add_taglib="true"
- library-version="">
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %&gt;</code>"
- ENDTEXT="" ENTITY="SharableMacroHTML"
- ICON="%Icons%/Struts Common/taglib"
- NAME="Struts Shale Clay Plugin taglib" REFORMAT="yes"
- SCOPE="project"
- STARTTEXT="<%@ taglib uri="http://struts.apache.org/shale/clay-plugin" prefix="clay" %>\\n|" />
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;clay:clay&gt;</code><br><code>&lt;/clay:clay&gt;</code><br><b>Attributes:</b><br><code><b>id</b>, <b>jsfid</b>, managedBeanName, shapeValidator, rendered</code>"
- ENDTEXT="</clay>" ENTITY="SharableMacroHTML" ICON="" NAME="clay"
- REFORMAT="yes" SCOPE="project"
- STARTTEXT="<clay id="|" jsfid="">" />
- <MacroHTML
- DESCRIPTION="<b>Syntax:</b><br><code>&lt;clay:symbol&gt;</code><br><code>&lt;/clay:symbol&gt;</code><br><b>Attributes:</b><br><code><b>name</b>, <b>value</b></code>"
- ENDTEXT="</symbol>" ENTITY="SharableMacroHTML" ICON=""
- NAME="symbol" REFORMAT="yes" SCOPE="project"
- STARTTEXT="<symbol name="|" value="">" />
- </GroupHTML>
- </PageTabHTML>
<PageTabHTML DESCRIPTION="" EDITOR_TYPE="jsp;"
ENTITY="SharablePageTabHTML" HIDDEN="yes" NAME="HTML"
NATURE_TYPE="struts;" SCOPE="project" TABTYPE="HTML">
17 years, 2 months