diff options
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml')
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml | 53 |
1 files changed, 51 insertions, 2 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml b/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml index a7ae462847..6e88608205 100644 --- a/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml +++ b/jpa/plugins/org.eclipse.jpt.jpa.core/plugin.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <!-- - Copyright (c) 2007, 2012 Oracle. All rights reserved. + Copyright (c) 2007, 2013 Oracle. All rights reserved. This program and the accompanying materials are 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. @@ -588,6 +588,11 @@ id="org.eclipse.jpt.jpa.core.refactoring.jpaDeleteTypeParticipant" name="%JPA_DELETE_TYPE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <instanceof value="org.eclipse.jdt.core.IType"/> </with> @@ -599,6 +604,11 @@ id="org.eclipse.jpt.jpa.core.refactoring.jpaDeletePackageOrFolderParticipant" name="%JPA_DELETE_PACKAGE_OR_FOLDER_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <or> <instanceof value="org.eclipse.jdt.core.IPackageFragment"/> @@ -613,6 +623,11 @@ id="org.eclipse.jpt.jpa.core.refactoring.jpaDeleteMappingFileParticipant" name="%JPA_DELETE_MAPPING_FILE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <and> <instanceof value="org.eclipse.core.resources.IFile"/> @@ -635,10 +650,14 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaMoveTypeParticipant" name="%JPA_MOVE_TYPE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <instanceof value="org.eclipse.jdt.core.IType"/> </with> - </enablement> </moveParticipant> </extension> @@ -652,6 +671,11 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaRenameTypeParticipant" name="%JPA_RENAME_TYPE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <instanceof value="org.eclipse.jdt.core.IType"/> </with> @@ -663,6 +687,11 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaRenamePackageParticipant" name="%JPA_RENAME_PACKAGE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <instanceof value="org.eclipse.jdt.core.IPackageFragment"/> </with> @@ -674,6 +703,11 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaRenameFolderParticipant" name="%JPA_RENAME_FOLDER_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <instanceof value="org.eclipse.core.resources.IFolder"/> </with> @@ -685,6 +719,11 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaRenameMappingFileParticipant" name="%JPA_RENAME_MAPPING_FILE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <and> <instanceof value="org.eclipse.core.resources.IFile"/> @@ -707,6 +746,11 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaMoveMappingFileParticipant" name="%JPA_MOVE_MAPPING_FILE_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <and> <instanceof value="org.eclipse.core.resources.IFile"/> @@ -724,6 +768,11 @@ id="org.eclipse.jpt.jpa.core.ltk.jpaMoveFolderParticipant" name="%JPA_MOVE_FOLDER_PARTICIPANT_NAME"> <enablement> + <with variable="affectedNatures"> + <iterate operator="or"> + <equals value="org.eclipse.wst.common.project.facet.core.nature"/> + </iterate> + </with> <with variable="element"> <instanceof value="org.eclipse.core.resources.IFolder"/> </with> |