Skip to main content



      Home
Home » Newcomers » Newcomers » Package within package?
Package within package? [message #53429] Mon, 18 April 2005 06:00 Go to next message
Eclipse UserFriend
Originally posted by: nobody.tellus.orb

How do I create a package within a package?
I would like to create a structure like
javax.swing.border but with my own packages
like
myPackage.myGraphics.myBorder
but eclipse doesn't allow me to create
subpackages.

What's the common way to solve this?

Thanks
Daniel
Re: Package within package? [message #54051 is a reply to message #53429] Mon, 18 April 2005 18:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

What do you mean it doesn't allow you? If you open the package wizard,
and type in a package name that is a sub-package of an existing package,
it should work fine. If it's not working, what error or message do you
see? What build are you using (see Help > About).
--

DeMarcus wrote:
>
> I would like to create a structure like
> javax.swing.border but with my own packages
> like
> myPackage.myGraphics.myBorder
> but eclipse doesn't allow me to create
> subpackages.
Re: Package within package? [message #55364 is a reply to message #54051] Wed, 20 April 2005 04:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nobody.tellus.orb

John Arthorne wrote:
> What do you mean it doesn't allow you? If you open the package wizard,
> and type in a package name that is a sub-package of an existing package,
> it should work fine. If it's not working, what error or message do you
> see? What build are you using (see Help > About).
> --
>

Ok, I now understand that I have to type the complete subpackage name
myself when creating it, e.g. myPackage.myGraphics
I thought myGraphics would be a subdirectory to myPackage in the eclipse
Package Explorer, but apparently not.

Why isn't it a nice tree structure of the packages so one could have an
easy overview?



> DeMarcus wrote:
>
>>
>> I would like to create a structure like
>> javax.swing.border but with my own packages
>> like
>> myPackage.myGraphics.myBorder
>> but eclipse doesn't allow me to create
>> subpackages.
Re: Package within package? [message #55707 is a reply to message #55364] Wed, 20 April 2005 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.eclipsefaq.org

From the drop down menu (little black triangle in tool bar), select
Layout > Hierarchical to see a tree view.
--

DeMarcus wrote:
> Why isn't it a nice tree structure of the packages so one could have an
> easy overview?
Re: Package within package? [message #55994 is a reply to message #55707] Thu, 21 April 2005 05:14 Go to previous message
Eclipse UserFriend
Originally posted by: nobody.tellus.orb

John Arthorne wrote:

> From the drop down menu (little black triangle in tool bar), select
> Layout > Hierarchical to see a tree view.
> --
>
> DeMarcus wrote:
>
>> Why isn't it a nice tree structure of the packages so one could have an
>> easy overview?

Cool, great thanks. I know eclipse is really powerful, it just takes
some time to master it.
Previous Topic:How to rebuild plug-in project??
Next Topic:printing as TEXT
Goto Forum:
  


Current Time: Wed May 07 23:43:32 EDT 2025

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

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

Back to the top