JBoss Tools SVN: r18088 - in trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd: composite and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-10-14 11:51:49 -0400 (Wed, 14 Oct 2009)
New Revision: 18088
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/TagAttributesWizardPage.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/composite/TagAttributesComposite.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5019
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/TagAttributesWizardPage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/TagAttributesWizardPage.java 2009-10-14 15:14:42 UTC (rev 18087)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/TagAttributesWizardPage.java 2009-10-14 15:51:49 UTC (rev 18088)
@@ -12,6 +12,7 @@
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
+import java.util.Properties;
import org.eclipse.compare.Splitter;
import org.eclipse.swt.SWT;
@@ -32,6 +33,7 @@
*
*/
public class TagAttributesWizardPage extends DefaultDropWizardPage implements PropertyChangeListener {
+ protected Properties context = new Properties();
/**
*
@@ -75,13 +77,14 @@
tabs.setLayoutData(data);
general = new TabItem(tabs,SWT.NONE);
general.setText(DropWizardMessages.General_Tab_Title);
- final TagAttributesComposite generalTabContent = new TagAttributesComposite(tabs,SWT.NONE,getSpecificWizard().getWizardModel(),true);
+ final TagAttributesComposite generalTabContent = new TagAttributesComposite(tabs,SWT.NONE,getSpecificWizard().getWizardModel(),true, context);
general.setControl(generalTabContent);
TabItem advanced = new TabItem(tabs,SWT.NONE);
advanced.setText(DropWizardMessages.Advanced_Tab_Title);
- final TagAttributesComposite advancedTabContent = new TagAttributesComposite(tabs,SWT.NONE,getSpecificWizard().getWizardModel());
+ final TagAttributesComposite advancedTabContent = new TagAttributesComposite(tabs,SWT.NONE,getSpecificWizard().getWizardModel(), context);
advanced.setControl(advancedTabContent);
- advancedTabContentOnly = new TagAttributesComposite(composite,SWT.NONE,getSpecificWizard().getWizardModel());
+
+ advancedTabContentOnly = new TagAttributesComposite(composite,SWT.NONE,getSpecificWizard().getWizardModel(), context);
composite.setVisible(tabs,showAdvansedTab());
composite.setVisible(advancedTabContentOnly,!showAdvansedTab());
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/composite/TagAttributesComposite.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/composite/TagAttributesComposite.java 2009-10-14 15:14:42 UTC (rev 18087)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/composite/TagAttributesComposite.java 2009-10-14 15:51:49 UTC (rev 18088)
@@ -143,8 +143,8 @@
* @param style
* @param wizardModel
*/
- public TagAttributesComposite(Composite parent, int style, IDropWizardModel wizardModel) {
- this(parent, style, wizardModel, false);
+ public TagAttributesComposite(Composite parent, int style, IDropWizardModel wizardModel, Properties context) {
+ this(parent, style, wizardModel, false, context);
}
/**
@@ -153,8 +153,9 @@
* @param style
* @param wizardModel
*/
- public TagAttributesComposite(Composite parent, int style, IDropWizardModel wizardModel,boolean filtered) {
- super(parent, style);
+ public TagAttributesComposite(Composite parent, int style, IDropWizardModel wizardModel,boolean filtered, final Properties context) {
+ super(parent, style);
+ this.context = context;
fFiltered = filtered;
fWizardModel = wizardModel;
fWizardModel.addPropertyChangeListener(this);
@@ -163,7 +164,6 @@
fWizardModel.removePropertyChangeListener(TagAttributesComposite.this);
if (context != null) {
context.clear();
- context = null;
}
removeDisposeListener(this);
}
@@ -358,8 +358,8 @@
tableViewer.setInput(new Object());
}
- private Properties context = new Properties();
-
+ private Properties context;
+
private ExtendedCellEditorProvider createCellEditorProvider() {
return (ExtendedCellEditorProvider)ModelFeatureFactory.getInstance().createFeatureInstance("org.jboss.tools.jst.jsp.outline.JSPCellEditorProviderImpl"); //$NON-NLS-1$
}
14 years, 11 months
JBoss Tools SVN: r18087 - trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-10-14 11:14:42 -0400 (Wed, 14 Oct 2009)
New Revision: 18087
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4989
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java 2009-10-14 15:03:29 UTC (rev 18086)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java 2009-10-14 15:14:42 UTC (rev 18087)
@@ -13,10 +13,19 @@
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IProject;
+/**
+ *
+ * @author Daniel
+ *
+ * This interface is used for transmit information about seam project structure from seam plugins through org.jboss.tools.common.el.core.elSearcher extension point
+ */
public interface ELSearcher {
+ // inits seam project structure
public void init(IProject project);
+ // returns all linked seam projects
public IProject[] getLinkedProjects();
+ // returns view folder (like WEB_CONTENT, EAR_CONTENT) for each seam project
public IContainer getViewFolder(IProject project);
}
14 years, 11 months
JBoss Tools SVN: r18086 - trunk/common/plugins/org.jboss.tools.common.el.ui.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-10-14 11:03:29 -0400 (Wed, 14 Oct 2009)
New Revision: 18086
Modified:
trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties
Log:
https://jira.jboss.org/jira/browse/JBIDE-4989
Modified: trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties 2009-10-14 15:02:03 UTC (rev 18085)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/build.properties 2009-10-14 15:03:29 UTC (rev 18086)
@@ -2,4 +2,5 @@
output.. = bin/
bin.includes = META-INF/,\
.,\
- plugin.properties
+ plugin.properties,\
+ plugin.xml
14 years, 11 months
JBoss Tools SVN: r18085 - in trunk: common/plugins/org.jboss.tools.common.el.core/schema and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-10-14 11:02:03 -0400 (Wed, 14 Oct 2009)
New Revision: 18085
Added:
trunk/common/plugins/org.jboss.tools.common.el.core/schema/elSearcher.exsd
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcherExtension.java
trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml
trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamELSearcher.java
Removed:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamELReferencesQueryParticipant.java
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolutionImpl.java
trunk/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRefactorSearcher.java
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4989
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/plugin.xml 2009-10-14 15:02:03 UTC (rev 18085)
@@ -2,5 +2,6 @@
<?eclipse version="3.4"?>
<plugin>
<extension-point id="elResolver" name="EL Resolver" schema="schema/elResolver.exsd"/>
+ <extension-point id="elSearcher" name="EL Search" schema="schema/elSearcher.exsd"/>
</plugin>
Added: trunk/common/plugins/org.jboss.tools.common.el.core/schema/elSearcher.exsd
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/schema/elSearcher.exsd (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/schema/elSearcher.exsd 2009-10-14 15:02:03 UTC (rev 18085)
@@ -0,0 +1,127 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Schema file written by PDE -->
+<schema targetNamespace="org.jboss.tools.common.el.core" xmlns="http://www.w3.org/2001/XMLSchema">
+<annotation>
+ <appinfo>
+ <meta.schema plugin="org.jboss.tools.common.el.core" id="elSearch" name="EL Search"/>
+ </appinfo>
+ <documentation>
+ This extenion point is used to send information about seam project to search and rename participants. In order to have one search participand and one rename participant for seam and jsf projects.
+ </documentation>
+ </annotation>
+
+ <element name="extension">
+ <annotation>
+ <appinfo>
+ <meta.element />
+ </appinfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="el-search" minOccurs="1" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="point" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="id" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute translatable="true"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <element name="el-search">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="identifier"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ <attribute name="searcher-class" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="java" basedOn=":org.jboss.tools.common.el.core.refactoring.ELSearcher"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="since"/>
+ </appinfo>
+ <documentation>
+ JBoss Tools 3.1
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="examples"/>
+ </appinfo>
+ <documentation>
+ [Enter extension point usage example here.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="apiinfo"/>
+ </appinfo>
+ <documentation>
+ [Enter API information here.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="implementation"/>
+ </appinfo>
+ <documentation>
+ [Enter information about supplied implementation of this extension point.]
+ </documentation>
+ </annotation>
+
+ <annotation>
+ <appinfo>
+ <meta.section type="copyright"/>
+ </appinfo>
+ <documentation>
+ 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
+ </documentation>
+ </annotation>
+
+</schema>
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.core/schema/elSearcher.exsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * 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.common.el.core.refactoring;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IProject;
+
+public interface ELSearcher {
+ public void init(IProject project);
+
+ public IProject[] getLinkedProjects();
+
+ public IContainer getViewFolder(IProject project);
+}
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcher.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcherExtension.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcherExtension.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcherExtension.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -0,0 +1,47 @@
+package org.jboss.tools.common.el.core.refactoring;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IConfigurationElement;
+import org.eclipse.core.runtime.IExtensionPoint;
+import org.eclipse.core.runtime.Platform;
+import org.jboss.tools.common.el.core.Activator;
+
+public class ELSearcherExtension {
+ public static String EXTENSION_POINT = "org.jboss.tools.common.el.core.elSearcher"; //$NON-NLS-1$
+
+ String id;
+ ELSearcher searcher;
+
+ public ELSearcherExtension() {}
+
+ public String getId() {
+ return id;
+ }
+
+ public ELSearcher getELSearcher() {
+ return searcher;
+ }
+
+ static ELSearcherExtension[] INSTANCES;
+
+ public static ELSearcherExtension[] getInstances() {
+ if(INSTANCES != null) return INSTANCES;
+ List<ELSearcherExtension> list = new ArrayList<ELSearcherExtension>();
+ IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(EXTENSION_POINT);
+ IConfigurationElement[] es = point.getConfigurationElements();
+ for (IConfigurationElement e: es) {
+ ELSearcherExtension n = new ELSearcherExtension();
+ n.id = e.getAttribute("id"); //$NON-NLS-1$
+ try{
+ n.searcher = (ELSearcher)e.createExecutableExtension("searcher-class"); //$NON-NLS-1$
+ }catch(CoreException ex){
+ Activator.getDefault().logError(ex);
+ }
+ list.add(n);
+ }
+ return INSTANCES = list.toArray(new ELSearcherExtension[0]);
+ }
+}
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/ELSearcherExtension.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolutionImpl.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolutionImpl.java 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/ELResolutionImpl.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -39,7 +39,7 @@
ArrayList<ELSegment> list = new ArrayList<ELSegment>();
for(ELSegment segment : segments){
for(IVariable var : segment.getVariables()){
- if(var.getName().equals(variable.getName())){
+ if(var.equals(variable)){
list.add(segment);
}
}
Modified: trunk/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/META-INF/MANIFEST.MF 2009-10-14 15:02:03 UTC (rev 18085)
@@ -13,7 +13,9 @@
org.jboss.tools.common.resref.ui;bundle-version="1.0.0",
org.eclipse.core.resources;bundle-version="3.4.0",
org.jboss.tools.common.model.ui;bundle-version="2.0.0",
- org.eclipse.ltk.core.refactoring;bundle-version="3.5.0"
+ org.eclipse.ltk.core.refactoring;bundle-version="3.5.0",
+ org.eclipse.jdt.ui;bundle-version="3.5.0",
+ org.eclipse.search;bundle-version="3.5.0"
Bundle-Vendor: %Bundle-Vendor.0
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Import-Package: org.jboss.tools.vpe.resref.core
Added: trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml 2009-10-14 15:02:03 UTC (rev 18085)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.jdt.ui.queryParticipants">
+ <queryParticipant
+ class="org.jboss.tools.common.el.ui.refactoring.ELReferencesQueryParticipant"
+ id="org.jboss.tools.common.el.ui.refactoring.ELReferencesQueryParticipant"
+ name="jsf-SearchELReferencesParticipant"
+ nature="org.jboss.tools.jsf.jsfnature">
+ </queryParticipant>
+ </extension>
+
+
+</plugin>
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -0,0 +1,124 @@
+/*******************************************************************************
+ * 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.common.el.ui.refactoring;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.jdt.core.IMethod;
+import org.eclipse.jdt.internal.ui.search.JavaSearchResultPage;
+import org.eclipse.jdt.ui.search.ElementQuerySpecification;
+import org.eclipse.jdt.ui.search.IMatchPresentation;
+import org.eclipse.jdt.ui.search.IQueryParticipant;
+import org.eclipse.jdt.ui.search.ISearchRequestor;
+import org.eclipse.jdt.ui.search.QuerySpecification;
+import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.search.ui.text.Match;
+import org.eclipse.ui.PartInitException;
+import org.jboss.tools.common.el.core.refactoring.ELSearcher;
+import org.jboss.tools.common.el.core.refactoring.ELSearcherExtension;
+import org.jboss.tools.common.el.core.refactoring.RefactorSearcher;
+import org.jboss.tools.common.model.project.ProjectHome;
+
+public class ELReferencesQueryParticipant implements IQueryParticipant, IMatchPresentation{
+ private ELSearch search;
+ JavaSearchResultPage searchPage = null;
+
+ public int estimateTicks(QuerySpecification specification) {
+ return 10;
+ }
+
+ public IMatchPresentation getUIParticipant() {
+ return this;
+ }
+
+ public void search(ISearchRequestor requestor,
+ QuerySpecification querySpecification, IProgressMonitor monitor)
+ throws CoreException {
+
+ if(querySpecification instanceof ElementQuerySpecification){
+ ElementQuerySpecification qs = (ElementQuerySpecification)querySpecification;
+ if(qs.getElement() instanceof IMethod){
+ IFile file = (IFile)qs.getElement().getResource();
+ String name = qs.getElement().getElementName();
+
+ search = new ELSearch(requestor, qs.getElement(), file, name);
+ search.setSearchScope(qs.getScope());
+
+ search.findELReferences();
+ }
+ }
+ }
+
+ public ILabelProvider createLabelProvider() {
+ return null;
+ }
+
+ public void showMatch(Match match, int currentOffset,
+ int currentLength, boolean activate) throws PartInitException {
+ }
+
+ class ELSearch extends RefactorSearcher{
+ ISearchRequestor requestor;
+ ELSearcher searcher=null;
+
+ public ELSearch(ISearchRequestor requestor, IJavaElement element, IFile file, String name){
+ super(file, name, element);
+ this.requestor = requestor;
+ ELSearcherExtension[] extensions = ELSearcherExtension.getInstances();
+ if(extensions.length > 0){
+ searcher = extensions[0].getELSearcher();
+ if(searcher != null)
+ searcher.init(file.getProject());
+ }
+
+ }
+
+ protected boolean isFileCorrect(IFile file){
+ if(!file.isSynchronized(IResource.DEPTH_ZERO)){
+ return false;
+ }else if(file.isPhantom()){
+ return false;
+ }else if(file.isReadOnly()){
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ protected void match(IFile file, int offset, int length) {
+ Match match = new Match(file, offset, length);
+ requestor.reportMatch(match);
+ }
+
+ protected IProject[] getProjects(){
+ if(searcher != null){
+ return searcher.getLinkedProjects();
+ }
+ return new IProject[]{baseFile.getProject()};
+ }
+
+ protected IContainer getViewFolder(IProject project){
+ if(searcher != null){
+ return searcher.getViewFolder(project);
+ }
+
+ IPath path = ProjectHome.getFirstWebContentPath(baseFile.getProject()).removeFirstSegments(1);
+
+ return baseFile.getProject().getFolder(path);
+ }
+ }
+}
Property changes on: trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2009-10-14 15:02:03 UTC (rev 18085)
@@ -578,5 +578,10 @@
<project-nature id="org.jboss.tools.seam.core.seamnature"
resolver-class="org.jboss.tools.seam.internal.core.el.SeamELCompletionEngine"/>
</el-resolver>
+ </extension>
+
+ <extension
+ point="org.jboss.tools.common.el.core.elSearcher">
+ <el-search id="seam.searcher" searcher-class="org.jboss.tools.seam.internal.core.refactoring.SeamELSearcher" />
</extension>
</plugin>
Added: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamELSearcher.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamELSearcher.java (rev 0)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamELSearcher.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * 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.seam.internal.core.refactoring;
+
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.IPath;
+import org.jboss.tools.common.el.core.refactoring.ELSearcher;
+import org.jboss.tools.common.model.project.ProjectHome;
+import org.jboss.tools.seam.core.SeamProjectsSet;
+
+public class SeamELSearcher implements ELSearcher {
+ SeamProjectsSet projectsSet;
+ IProject project;
+
+ public void init(IProject project){
+ projectsSet = new SeamProjectsSet(project);
+ this.project = project;
+ }
+
+ public IProject[] getLinkedProjects() {
+ IProject[] projects = projectsSet.getAllProjects();
+ if(projects.length == 0 || projects[0] == null){
+ return new IProject[]{project};
+ }
+ return projects;
+ }
+
+ public IContainer getViewFolder(IProject project){
+ if(project.equals(projectsSet.getWarProject()))
+ return projectsSet.getDefaultViewsFolder();
+ else if(project.equals(projectsSet.getEarProject()))
+ return projectsSet.getDefaultEarViewsFolder();
+
+ IPath path = ProjectHome.getFirstWebContentPath(project).removeFirstSegments(1);
+
+ return project.getFolder(path);
+ }
+
+}
Property changes on: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamELSearcher.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRefactorSearcher.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRefactorSearcher.java 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRefactorSearcher.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -11,6 +11,7 @@
package org.jboss.tools.seam.internal.core.refactoring;
import java.util.List;
+import java.util.Set;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
@@ -29,6 +30,10 @@
import org.jboss.tools.common.el.core.resolver.SimpleELContext;
import org.jboss.tools.common.el.core.resolver.Var;
import org.jboss.tools.seam.core.ISeamComponent;
+import org.jboss.tools.seam.core.ISeamJavaComponentDeclaration;
+import org.jboss.tools.seam.core.ISeamProject;
+import org.jboss.tools.seam.core.ISeamXmlComponentDeclaration;
+import org.jboss.tools.seam.core.SeamCorePlugin;
import org.jboss.tools.seam.core.SeamProjectsSet;
public abstract class SeamRefactorSearcher extends RefactorSearcher {
@@ -83,8 +88,39 @@
else
match(file, offset, length);
}
-
+ protected void updateEnvironment(IProject project){
+ if(component == null)
+ return;
+
+ ISeamProject seamProject = SeamCorePlugin.getSeamProject(project, true);
+ if(seamProject == null)
+ return;
+
+ ISeamComponent oldComponent = component;
+
+ if(oldComponent.getJavaDeclaration() != null){
+ component = getComponent(seamProject, oldComponent.getName(), (IFile)oldComponent.getJavaDeclaration().getResource());
+ }else{
+ for(ISeamXmlComponentDeclaration xDecl : oldComponent.getXmlDeclarations()){
+ component = getComponent(seamProject, oldComponent.getName(), (IFile)xDecl.getResource());
+ if(component != null)
+ return;
+ }
+ }
+ if(component == null)
+ component = oldComponent;
+ }
+
+ private ISeamComponent getComponent(ISeamProject seamProject, String name, IFile file){
+ Set<ISeamComponent> components = seamProject.getComponentsByPath(file.getFullPath());
+ for(ISeamComponent component : components){
+ if(component.getName().equals(name))
+ return component;
+ }
+ return null;
+ }
+
private void resolveComponentsReferences(IFile file, ELExpression operand, int offset) {
ELResolver[] resolvers = ELResolverFactoryManager.getInstance()
.getResolvers(file);
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2009-10-14 15:02:03 UTC (rev 18085)
@@ -662,13 +662,4 @@
<xclass id="org.jboss.tools.seam.ui.views.actions.RenameComponentAction"
class="org.jboss.tools.seam.ui.views.actions.RenameComponentAction"/>
</extension>
- <extension
- point="org.eclipse.jdt.ui.queryParticipants">
- <queryParticipant
- class="org.jboss.tools.seam.ui.search.SeamELReferencesQueryParticipant"
- id="org.jboss.tools.seam.ui.search.SeamELReferencesQueryParticipant"
- name="seam-SearchELReferencesParticipant"
- nature="org.jboss.tools.seam.core.seamnature">
- </queryParticipant>
- </extension>
</plugin>
Deleted: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamELReferencesQueryParticipant.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamELReferencesQueryParticipant.java 2009-10-14 14:46:32 UTC (rev 18084)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/search/SeamELReferencesQueryParticipant.java 2009-10-14 15:02:03 UTC (rev 18085)
@@ -1,91 +0,0 @@
-/*******************************************************************************
- * 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.seam.ui.search;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.jdt.core.IJavaElement;
-import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.internal.ui.search.JavaSearchResultPage;
-import org.eclipse.jdt.ui.search.ElementQuerySpecification;
-import org.eclipse.jdt.ui.search.IMatchPresentation;
-import org.eclipse.jdt.ui.search.IQueryParticipant;
-import org.eclipse.jdt.ui.search.ISearchRequestor;
-import org.eclipse.jdt.ui.search.QuerySpecification;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.search.ui.text.Match;
-import org.eclipse.ui.PartInitException;
-import org.jboss.tools.common.el.core.model.ELInvocationExpression;
-import org.jboss.tools.common.el.core.model.ELMethodInvocation;
-import org.jboss.tools.common.el.core.model.ELPropertyInvocation;
-import org.jboss.tools.common.el.core.refactoring.RefactorSearcher;
-import org.jboss.tools.seam.core.SeamProjectsSet;
-import org.jboss.tools.seam.internal.core.refactoring.SeamRefactorSearcher;
-
-public class SeamELReferencesQueryParticipant implements IQueryParticipant, IMatchPresentation{
- private ELSearcher searcher;
- JavaSearchResultPage searchPage = null;
-
- public int estimateTicks(QuerySpecification specification) {
- return 10;
- }
-
- public IMatchPresentation getUIParticipant() {
- return this;
- }
-
- public void search(ISearchRequestor requestor,
- QuerySpecification querySpecification, IProgressMonitor monitor)
- throws CoreException {
-
- if(querySpecification instanceof ElementQuerySpecification){
- ElementQuerySpecification qs = (ElementQuerySpecification)querySpecification;
- if(qs.getElement() instanceof IMethod){
- IFile file = (IFile)qs.getElement().getResource();
- String name = qs.getElement().getElementName();
-
- searcher = new ELSearcher(requestor, qs.getElement(), file, name);
- searcher.setSearchScope(qs.getScope());
-
- searcher.findELReferences();
- }
- }
- }
-
- public ILabelProvider createLabelProvider() {
- return null;
- }
-
- public void showMatch(Match match, int currentOffset,
- int currentLength, boolean activate) throws PartInitException {
- }
-
- class ELSearcher extends SeamRefactorSearcher{
- ISearchRequestor requestor;
-
- public ELSearcher(ISearchRequestor requestor, IJavaElement element, IFile file, String name){
- super(file, name, element);
- this.requestor = requestor;
- }
-
-
- @Override
- protected void match(IFile file, int offset, int length) {
- Match match = new Match(file, offset, length);
- requestor.reportMatch(match);
- }
-
- }
-}
14 years, 11 months
JBoss Tools SVN: r18084 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-10-14 10:46:32 -0400 (Wed, 14 Oct 2009)
New Revision: 18084
Modified:
trunk/jsf/docs/userguide/en/modules/palette.xml
trunk/jsf/docs/userguide/en/modules/web_projects.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-879
added info about custom facelets libs
Modified: trunk/jsf/docs/userguide/en/modules/palette.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/palette.xml 2009-10-14 14:38:22 UTC (rev 18083)
+++ trunk/jsf/docs/userguide/en/modules/palette.xml 2009-10-14 14:46:32 UTC (rev 18084)
@@ -448,7 +448,7 @@
<?dbhtml filename="AddingCustomJSFTagsToTheJBossToolsPalette.html"?>
<title>Adding Custom JSF Tags to the JBoss Tools Palette</title>
- <para>There are two ways to add any custom or 3rd party tag library to the
+ <para>There are two ways to add any custom (including custom Facelets libraries) or 3rd party tag library to the
<property>JBoss Tools Palette</property>:</para>
<itemizedlist>
<listitem>
@@ -458,8 +458,8 @@
<para>The Import button on the JBoss Tools Palette</para>
</listitem>
</itemizedlist>
- <para>Before you can add your custom component library, you need to make sure it is
- included in your project. Either place the <emphasis role="italic">
+ <para>Before you add your custom component library, you need to make sure it is
+ included in your project. You need to either place the <emphasis role="italic">
<property>".tld"</property>
</emphasis> file or the <emphasis role="italic">
<property>".jar"</property>
Modified: trunk/jsf/docs/userguide/en/modules/web_projects.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/web_projects.xml 2009-10-14 14:38:22 UTC (rev 18083)
+++ trunk/jsf/docs/userguide/en/modules/web_projects.xml 2009-10-14 14:46:32 UTC (rev 18084)
@@ -7,7 +7,7 @@
<para>With the Web Projects view, you can:</para>
<itemizedlist>
-<listitem><para>Visualize the project better because the project artifacts for JSF and Struts projects are organized and displayed by function.</para></listitem>
+<listitem><para>Visualize the project better because the project artifacts for JSF, Struts and Seam projects are organized and displayed by function.</para></listitem>
<listitem>
<para>Select these kinds of items to drag and drop into JSP pages:</para>
<itemizedlist>
14 years, 11 months
JBoss Tools SVN: r18083 - trunk/documentation/qa/docs/Test_Cases/Test_Projects.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-10-14 10:38:22 -0400 (Wed, 14 Oct 2009)
New Revision: 18083
Added:
trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.zip
Removed:
trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.rar
Log:
Deleted: trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.rar
===================================================================
(Binary files differ)
Added: trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.zip
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.zip
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
14 years, 11 months
JBoss Tools SVN: r18082 - in trunk/documentation/qa/docs/Test_Cases: Test_Projects and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-10-14 10:07:52 -0400 (Wed, 14 Oct 2009)
New Revision: 18082
Added:
trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.rar
Modified:
trunk/documentation/qa/docs/Test_Cases/VPEtests.doc
Log:
VPEtests.doc, workspace with test projects.
Added: trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.rar
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/qa/docs/Test_Cases/Test_Projects/VPETestWorkspace.rar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/qa/docs/Test_Cases/VPEtests.doc
===================================================================
(Binary files differ)
14 years, 11 months
JBoss Tools SVN: r18081 - in trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test: editor/preferences and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: yzhishko
Date: 2009-10-14 10:04:16 -0400 (Wed, 14 Oct 2009)
New Revision: 18081
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java
Log:
SWTBot test failures fix.
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2009-10-14 12:40:05 UTC (rev 18080)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2009-10-14 14:04:16 UTC (rev 18081)
@@ -125,7 +125,7 @@
// openProgressStatus();
} catch (WidgetNotFoundException e) {
}
- } catch (WidgetNotFoundException e) {
+ } catch (Exception e) {
bot.button(0).click();
SWTBotTree innerTree = bot.tree();
delay();
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java 2009-10-14 12:40:05 UTC (rev 18080)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/AlwaysHideSelectionBarWithoutPromptTest.java 2009-10-14 14:04:16 UTC (rev 18081)
@@ -32,7 +32,6 @@
//Test Hide Selection Bar button without confirm
- selectSelection();
selectPrompt();
bot.toolbarButtonWithTooltip(HID_SEL_BAR).click();
checkIsHide();
@@ -42,14 +41,13 @@
closePage();
openPage();
checkIsShow();
-
}
private void checkIsHide(){
- IndexOutOfBoundsException exception = null;
+ WidgetNotFoundException exception = null;
try {
- bot.toolbarButtonWithTooltip(HID_SEL_BAR,1);
- } catch (IndexOutOfBoundsException e) {
+ bot.toolbarButtonWithTooltip(HID_SEL_BAR);
+ } catch (WidgetNotFoundException e) {
exception = e;
}
assertNotNull(exception);
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java 2009-10-14 12:40:05 UTC (rev 18080)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/editor/preferences/ShowSelectionTagBarTest.java 2009-10-14 14:04:16 UTC (rev 18081)
@@ -35,7 +35,6 @@
bot.toolbarButtonWithTooltip(HID_SEL_BAR).click();
bot.shell("Confirm hide selection bar").activate();
bot.button("OK").click();
- checkIsShow();
checkIsHide();
//Test Show selection after reopen
@@ -54,10 +53,10 @@
}
private void checkIsHide(){
- IndexOutOfBoundsException exception = null;
+ WidgetNotFoundException exception = null;
try {
- bot.toolbarButtonWithTooltip(HID_SEL_BAR,1);
- } catch (IndexOutOfBoundsException e) {
+ bot.toolbarButtonWithTooltip(HID_SEL_BAR);
+ } catch (WidgetNotFoundException e) {
exception = e;
}
assertNotNull(exception);
14 years, 11 months
JBoss Tools SVN: r18080 - in trunk/hibernatetools/plugins/org.hibernate.eclipse: META-INF and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-10-14 08:40:05 -0400 (Wed, 14 Oct 2009)
New Revision: 18080
Removed:
trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/annotations/hibernate-search.jar
trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/annotations/lucene-core-2.2.0.jar
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/.classpath
trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF
Log:
https://jira.jboss.org/jira/browse/JBIDE-4886 - fixed - remove search and lucene stuff from the bundle since we don't use it
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/.classpath
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/.classpath 2009-10-14 12:23:50 UTC (rev 18079)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/.classpath 2009-10-14 12:40:05 UTC (rev 18080)
@@ -36,8 +36,6 @@
<classpathentry exported="true" kind="lib" path="lib/hibernate/c3p0-0.9.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/annotations/hibernate-commons-annotations.jar"/>
<classpathentry exported="true" kind="lib" path="lib/annotations/hibernate-validator.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/annotations/hibernate-search.jar"/>
- <classpathentry exported="true" kind="lib" path="lib/annotations/lucene-core-2.2.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/hibernate/log4j-1.2.15.jar"/>
<classpathentry kind="output" path="build/eclipse"/>
</classpath>
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF 2009-10-14 12:23:50 UTC (rev 18079)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse/META-INF/MANIFEST.MF 2009-10-14 12:40:05 UTC (rev 18080)
@@ -226,18 +226,6 @@
org.apache.log4j.spi,
org.apache.log4j.varia,
org.apache.log4j.xml,
- org.apache.lucene,
- org.apache.lucene.analysis,
- org.apache.lucene.analysis.standard,
- org.apache.lucene.document,
- org.apache.lucene.index,
- org.apache.lucene.queryParser,
- org.apache.lucene.search,
- org.apache.lucene.search.function,
- org.apache.lucene.search.payloads,
- org.apache.lucene.search.spans,
- org.apache.lucene.store,
- org.apache.lucene.util,
org.apache.xerces.impl.xs,
org.dom4j,
org.dom4j.bean,
@@ -341,25 +329,6 @@
org.hibernate.proxy.pojo,
org.hibernate.proxy.pojo.cglib,
org.hibernate.proxy.pojo.javassist,
- org.hibernate.search,
- org.hibernate.search.annotations,
- org.hibernate.search.backend,
- org.hibernate.search.backend.impl,
- org.hibernate.search.backend.impl.jms,
- org.hibernate.search.backend.impl.lucene,
- org.hibernate.search.bridge,
- org.hibernate.search.bridge.builtin,
- org.hibernate.search.engine,
- org.hibernate.search.event,
- org.hibernate.search.filter,
- org.hibernate.search.impl,
- org.hibernate.search.jpa,
- org.hibernate.search.jpa.impl,
- org.hibernate.search.query,
- org.hibernate.search.reader,
- org.hibernate.search.store,
- org.hibernate.search.store.optimization,
- org.hibernate.search.util,
org.hibernate.secure,
org.hibernate.sql,
org.hibernate.stat,
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/annotations/hibernate-search.jar
===================================================================
(Binary files differ)
Deleted: trunk/hibernatetools/plugins/org.hibernate.eclipse/lib/annotations/lucene-core-2.2.0.jar
===================================================================
(Binary files differ)
14 years, 11 months
JBoss Tools SVN: r18079 - trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-10-14 08:23:50 -0400 (Wed, 14 Oct 2009)
New Revision: 18079
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/RefactorSearcher.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4771
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/RefactorSearcher.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/RefactorSearcher.java 2009-10-14 11:17:46 UTC (rev 18078)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/refactoring/RefactorSearcher.java 2009-10-14 12:23:50 UTC (rev 18079)
@@ -107,6 +107,8 @@
if(!containsInSearchScope(project))
continue;
+ updateEnvironment(project);
+
IJavaProject javaProject = EclipseResourceUtil.getJavaProject(project);
// searching java, xml and property files in source folders
@@ -128,6 +130,10 @@
}
}
+ protected void updateEnvironment(IProject project){
+
+ }
+
protected abstract IProject[] getProjects();
protected abstract IContainer getViewFolder(IProject project);
14 years, 11 months