Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » IJavaModel.copy
IJavaModel.copy [message #15058] Tue, 06 May 2003 11:11 Go to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

the doc says that a JavaModeException is thrown if
* <li> A container is of an incompatible type (<code>INVALID_DESTINATION</code>)</li>

Is it documented anywhere what 'compatible container type' means?

a.
--
eclipse.org
Re: IJavaModel.copy [message #16092 is a reply to message #15058] Wed, 07 May 2003 05:04 Go to previous messageGo to next message
Eclipse UserFriend
It means that the element is being copied in a container that cannot be its
parent. E.g. trying to copy an IMethod in an IPackageFragment.

Jerome

"Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> wrote in message
news:b98jar$c72$1@rogue.oti.com...
> the doc says that a JavaModeException is thrown if
> * <li> A container is of an incompatible type
(<code>INVALID_DESTINATION</code>)</li>
>
> Is it documented anywhere what 'compatible container type' means?
>
> a.
> --
> eclipse.org
>
>
Re: IJavaModel.copy [message #16110 is a reply to message #16092] Wed, 07 May 2003 05:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adam_kiezun.ch.ibm.spam.protection.com

and is 'cannot be its parent' relationship documented anywhere?
e.g. can i copy a cu to a java project or package fragment root?
(i can find out by trial and error but a list of what is allowed and what is not would be really nice)

should i enter a bugzilla request for that doc?
thanks Jerome

a.
--
eclipse.org
Re: IJavaModel.copy [message #16435 is a reply to message #16110] Wed, 07 May 2003 05:59 Go to previous message
Eclipse UserFriend
Sure. If you don't find it clear, other won't.

Jerome

"Adam Kiezun" <adam_kiezun@ch.ibm.spam.protection.com> wrote in message
news:b9aj56$nk5$1@rogue.oti.com...
> and is 'cannot be its parent' relationship documented anywhere?
> e.g. can i copy a cu to a java project or package fragment root?
> (i can find out by trial and error but a list of what is allowed and what
is not would be really nice)
>
> should i enter a bugzilla request for that doc?
> thanks Jerome
>
> a.
> --
> eclipse.org
>
>
Previous Topic:Generating constructors
Next Topic:loggin argument list ?
Goto Forum:
  


Current Time: Sun Jun 08 17:59:38 EDT 2025

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

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

Back to the top