Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [Xtend] protected/public extensions not visible to subclasses
[Xtend] protected/public extensions not visible to subclasses [message #768259] Mon, 19 December 2011 20:16 Go to next message
Edwin Park is currently offline Edwin ParkFriend
Messages: 124
Registered: July 2009
Senior Member
Hi,

I noticed if I declare an injected extension as protected or public, it is still not available to subclasses. I think it would be useful if extensions could be made available to subclasses. If the intent is for extensions to always be private, being able to declare visibility modifiers for injected extensions doesn't make sense either..

Edwin

[Updated on: Mon, 19 December 2011 20:17]

Report message to a moderator

Re: [Xtend] protected/public extensions not visible to subclasses [message #768268 is a reply to message #768259] Mon, 19 December 2011 20:24 Go to previous messageGo to next message
Meinte Boersma is currently offline Meinte BoersmaFriend
Messages: 434
Registered: July 2009
Location: Leiden, Netherlands
Senior Member
Sounds right: feel free to file it as a bug.

Re: [Xtend] protected/public extensions not visible to subclasses [message #768270 is a reply to message #768259] Mon, 19 December 2011 20:24 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Edwin,

please file an enhancement request.

Thanks,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 19.12.11 21:16, schrieb Edwin Park:
> Hi,
>
> I noticed if I declare an injected extension as protected or public, it
> is still not available to subclasses. I think it would be useful if
> extensions could be made available to subclasses. If the intent is for
> extensions to always be private, being able to declare visibility
> modifiers for injected extensions doesn't make sense either..
>
> Edwin
>
Re: [Xtend] protected/public extensions not visible to subclasses [message #768537 is a reply to message #768268] Tue, 20 December 2011 10:31 Go to previous message
Edwin Park is currently offline Edwin ParkFriend
Messages: 124
Registered: July 2009
Senior Member
Thanks, I filed a bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=367165

Edwin
Previous Topic:Problems with scoping
Next Topic:Outline Filters
Goto Forum:
  


Current Time: Thu Sep 19 10:50:53 GMT 2024

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

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

Back to the top