Skip to main content



      Home
Home » Modeling » EMF » Child extenders when extending several packages with the same name.
Child extenders when extending several packages with the same name. [message #1712236] Thu, 22 October 2015 06:18 Go to next message
Eclipse UserFriend
Hi,

I have a package with two classes that extend superclasses from two
other packages. In both cases, I want to create child extenders so they
show up in the Create Child menu. The problem is that both the other
packages are named "Model", so I get two ModelChildCreationExtender
classes (implements IChildCreationExtender) in my
ItemProviderAdapterFactory. Yes, it's perhaps stupid to have packages
with the same name, but the generator should handle it, don't you think?

Hallvard
--
Hallvard Trætteberg (hal@xxxxxxxx.no)
Associate Professor, IS group, Dept. of Computer and Information
Science at the
Norwegian Univ. of Science and Technology
Re: Child extenders when extending several packages with the same name. [message #1712247 is a reply to message #1712236] Thu, 22 October 2015 07:08 Go to previous message
Eclipse UserFriend
Hallvard,

I suppose that should be handled yes, but "Model" is not a very
descriptive name for a package so kind of avoidable...


On 22/10/2015 12:18 PM, Hallvard Trætteberg wrote:
> Hi,
>
> I have a package with two classes that extend superclasses from two
> other packages. In both cases, I want to create child extenders so
> they show up in the Create Child menu. The problem is that both the
> other packages are named "Model", so I get two
> ModelChildCreationExtender classes (implements IChildCreationExtender)
> in my ItemProviderAdapterFactory. Yes, it's perhaps stupid to have
> packages with the same name, but the generator should handle it, don't
> you think?
>
> Hallvard
Previous Topic:Property editor for generic attribute does not get the type right
Next Topic:Display diagnostic
Goto Forum:
  


Current Time: Fri Nov 07 15:30:43 EST 2025

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

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

Back to the top