Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Extension Point Schema Definition Question(about mutual exclusion logic in 'choice')
icon5.gif  Extension Point Schema Definition Question [message #635908] Thu, 28 October 2010 15:09
Carusyte Missing name is currently offline Carusyte Missing nameFriend
Messages: 27
Registered: July 2009
Junior Member
I defined an element named "resolve" which has following DTD approximation:
(resolver , exception? , (redirect? | resolve*))

My question is pertaining to the '(redirect? | resolve*)' part. What I want to realize is: under a 'resolve' element, either 'redirect' (one and only one) or 'resolve' (one or multiple) can be added (not sure if this statement makes sense, I'm not a native English speaker).

But what I experience in the plugin.xml editor is, under a 'resolve' which has a 'redirect' as its child, 'resolve' still can be added (which is not what I expected); While in a 'resolve' that has a 'resolve' as its child, only 'resolve' can be added (which is what I expected).

Is there any problem with the logic? I've experimented some alternatives but with no solution.
Thanks in advance.

[Updated on: Fri, 29 October 2010 05:44]

Report message to a moderator

Previous Topic:editor area dynamically hiding/showing
Next Topic:Change menu text color
Goto Forum:

Current Time: Thu Apr 26 06:01:49 GMT 2018

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

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