Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to define a custom ArtifactEdit?
How to define a custom ArtifactEdit? [message #157543] Fri, 20 January 2006 17:52 Go to next message
Lefty A. Rivera-Correa is currently offline Lefty A. Rivera-CorreaFriend
Messages: 25
Registered: July 2009
Junior Member
I'm looking for any documentation to define custom ArtifactEdits for
Spring and Hibernate configuration files.
Re: How to define a custom ArtifactEdit? [message #157553 is a reply to message #157543] Fri, 20 January 2006 18:50 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.rohe.stud.tu-ilmenau.de

Lefty A. Rivera schrieb:
> I'm looking for any documentation to define custom ArtifactEdits for
> Spring and Hibernate configuration files.

I've extended the WebArtifactEdit and created the same constructors as
in WebArtifactEdit, the four static methods
get*ArtifactEditFor*(IProject) and
get*ArtifactEditFor*(IVirtualComponent) for retrieving my ArtifactEdit
and the two methods createArtifactEditFor*(IVirtualComponent) to return
my ArtifactEdit for a Struts project. Then I've introduced some methods
to work with the Controller-Servlet and Servlet-Mapping therefor. It is
in CVS under http://sourceforge.net/projects/strutsbox. There is also a
Project Facet for Struts and more.

My problem currently is the EMF model of the configuration file. The
model is stored in an XML file (typically with .xml extension) which
name is configured in the WebApp. To use the correct Resource.Factory I
must update the Resource.Factory.Registry of the ResourceSet with the
configured filename and my Resource.Factory, but I don't know how :-(.
Maybe I have to extend an EditModel or something else, so here I need
some documentation, too.

Kind regards,
Daniel
Previous Topic:JBoss and WTP
Next Topic:WAS 6 issues with WTP 1.0
Goto Forum:
  


Current Time: Tue Apr 23 06:33:48 GMT 2024

Powered by FUDForum. Page generated in 0.03571 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top