Skip to main content



      Home
Home » Archived » Sapphire » overriding @Required in subclass
overriding @Required in subclass [message #839670] Sun, 08 April 2012 23:22 Go to next message
Eclipse UserFriend
Hey Sapphire team,

I have a model where normally a specify property is @Required but in some scenarios I would like the property not be required. So I'm trying to model this with a subclass of the original interface but don't see how to turn off the required property. Is this possible?
Re: overriding @Required in subclass [message #840057 is a reply to message #839670] Mon, 09 April 2012 12:07 Go to previous messageGo to next message
Eclipse UserFriend
There isn't a way to this today, but I can see supporting an optional @Required( expr = ... ) form.

- Konstantin
Re: overriding @Required in subclass [message #840064 is a reply to message #840057] Mon, 09 April 2012 12:16 Go to previous message
Eclipse UserFriend
Got it, makes sense. https://bugs.eclipse.org/bugs/show_bug.cgi?id=376330
Previous Topic:Vertical radio buttons with 2 columns
Next Topic:Equals and HashCode in ModelElements
Goto Forum:
  


Current Time: Tue Jul 22 22:40:22 EDT 2025

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

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

Back to the top