how to edit a .wstcref file?
My .wstcref files in the Explorer have no "edit" or "open" on the menu.
I added "wstcref" to the "XML Object" list in the
Options window's IDE Configuration / System / Object Types.
I also tried it under the Textual Objects but neither added an "edit" or "open" to the
menu. Have I misunderstood the purpose of this entry?
Environment: NB 3.4RC1, apisupport 2.13.1, XML* 0.6, JDK 1.4.0_01
Thanks,
Roxie
# 1
By the way dev@openide.netbeans.org is the appropriate place for this,
not nbusers.
Roxie Rochat wrote:
> My .wstcref files in the Explorer have no "edit" or "open" on the menu.
> I added "wstcref" to the "XML Object" list in the
> Options window's IDE Configuration / System / Object Types.
> I also tried it under the Textual Objects but neither added an "edit" or "open" to the
> menu. Have I misunderstood the purpose of this entry?
No, but you probably didn't move XML Objects and/or Textual Objects
above Window System Objects. I don't think you can anyway.
It is unnecessary. I recommend you name the file *.xml in sources; only
internally in the system filesystem do you need the special extension.
So your layer could read e.g.:
<file name="mycomponent.wstcref" url="mycomponent.xml"/>
and you will have no problems.
-Jesse
--
Jesse Glick <mailto:jesse.glick@sun.com> x22801
NetBeans, Open APIs <http://www.netbeans.org/>