Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 288391
Collapse All | Expand All

(-)plugin.xml (+8 lines)
Lines 27-30 Link Here
27
          org.eclipse.emf.edit.provider.IItemPropertySource" />
27
          org.eclipse.emf.edit.provider.IItemPropertySource" />
28
  </extension>
28
  </extension>
29
29
30
<!-- Faces-config Artifact Edit -->
31
   <extension
32
         point="org.eclipse.wst.common.emfworkbench.integration.editModel">
33
      <editModel
34
            editModelID="jsf.facesconfig"
35
            factoryClass="org.eclipse.jst.common.jdt.internal.integration.JavaArtifactEditModelFactory">
36
      </editModel>
37
   </extension>
30
</plugin>
38
</plugin>
(-)META-INF/MANIFEST.MF (-1 / +2 lines)
Lines 15-21 Link Here
15
 org.eclipse.wst.xml.core;bundle-version="[1.1.0,1.2.0)",
15
 org.eclipse.wst.xml.core;bundle-version="[1.1.0,1.2.0)",
16
 org.eclipse.wst.common.uriresolver;bundle-version="[1.1.0,1.2.0)",
16
 org.eclipse.wst.common.uriresolver;bundle-version="[1.1.0,1.2.0)",
17
 org.eclipse.wst.sse.core;bundle-version="[1.1.0,1.2.0)",
17
 org.eclipse.wst.sse.core;bundle-version="[1.1.0,1.2.0)",
18
 org.eclipse.wst.common.emfworkbench.integration;bundle-version="[1.1.0,2.0.0)"
18
 org.eclipse.wst.common.emfworkbench.integration;bundle-version="[1.1.0,2.0.0)",
19
 org.eclipse.jst.common.frameworks;bundle-version="[1.1.0,2.0.0)"
19
Bundle-ActivationPolicy: lazy
20
Bundle-ActivationPolicy: lazy
20
Export-Package: org.eclipse.jst.jsf.facesconfig,
21
Export-Package: org.eclipse.jst.jsf.facesconfig,
21
 org.eclipse.jst.jsf.facesconfig.edit.provider,
22
 org.eclipse.jst.jsf.facesconfig.edit.provider,
(-)facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigArtifactEdit.java (-1 / +8 lines)
Lines 37-49 Link Here
37
	private URI facesConfigURI = URI.createURI(IFacesConfigConstants.FACES_CONFIG_URI);
37
	private URI facesConfigURI = URI.createURI(IFacesConfigConstants.FACES_CONFIG_URI);
38
	private boolean bRegistered = false;
38
	private boolean bRegistered = false;
39
39
40
	// The id from our use of the org.eclipse.wst.common.emfworkbench.integration.editModel extension
41
	private static final String EDIT_MODEL_ID = "jsf.facesconfig"; //$NON-NLS-1$
42
	
40
	/**
43
	/**
41
	 * @param aProject
44
	 * @param aProject
42
	 * @param toAccessAsReadOnly
45
	 * @param toAccessAsReadOnly
43
	 * @throws IllegalArgumentException
46
	 * @throws IllegalArgumentException
44
	 */
47
	 */
45
	public FacesConfigArtifactEdit(IProject aProject, boolean toAccessAsReadOnly) throws IllegalArgumentException {
48
	public FacesConfigArtifactEdit(IProject aProject, boolean toAccessAsReadOnly) throws IllegalArgumentException {
46
		super(aProject, toAccessAsReadOnly);
49
		super(aProject, toAccessAsReadOnly, false, EDIT_MODEL_ID);
47
	}
50
	}
48
51
49
	/**
52
	/**
Lines 174-179 Link Here
174
	 */
177
	 */
175
	public void setFilename(String filename) {
178
	public void setFilename(String filename) {
176
		sFileName = filename;
179
		sFileName = filename;
180
		// Keep the fileName and URI in sync
181
		if(filename != null && !("").equals(filename)) { //$NON-NLS-1$
182
			facesConfigURI = URI.createURI(filename);			
183
		}
177
	}
184
	}
178
185
179
	// TODO: appears to be dead
186
	// TODO: appears to be dead

Return to bug 288391