|
|
Re: Different package explorer icons for classes, abstract classes, interfaces [message #13151 is a reply to message #13008] |
Sun, 23 January 2005 11:09   |
Eclipse User |
|
|
|
Originally posted by: dmerrillq.usaq.netq
Um, as you can see, I'm brand brand brand new to looking at java at all
(software developer a long time, but no java).
For some reason I was under the impression that each class and interface had
to be in its own file. As I remember it, I thought Eclipse had complained
about that in some of my noodlings. Obviously though, now that I check it
out, that's not so.
Any idea what similar alert I might have seen?
Dave
"Jeff Myers" wrote in message news:csv5ld$npq$1@www.eclipse.org...
>
> In the Package Explorer all .java files have the same icon. However you
> can expand the file within the Package explorer and it'll show the
> outline of the class(es) and/or interface(s) contained within the file.
> It's possible that more than one class and/or interface could be
> defined in a file, thus having a representative icon on the file
> wouldn't work.
>
> Hope this helps,
> - Jeff
>
> Dave Merrill wrote:
> > Is it possible to set up different package explorer icons for classes,
> > abstract classes, and interfaces? Right now they all look the same.
> >
> > Thanks,
> >
> > Dave Merrill
|
|
|
Re: Different package explorer icons for classes, abstract classes, interfaces [message #13234 is a reply to message #13151] |
Sun, 23 January 2005 15:47  |
Eclipse User |
|
|
|
Originally posted by: sander_ke.nospam.hotmail.com
"Dave Merrill" <dmerrillq@usaq.netq> wrote in message
news:ct0i8g$1t9$1@www.eclipse.org...
>
> For some reason I was under the impression that each class and interface
had
> to be in its own file. As I remember it, I thought Eclipse had complained
> about that in some of my noodlings. Obviously though, now that I check it
> out, that's not so.
>
> Any idea what similar alert I might have seen?
If I'm right, only one class per file can be public, i.e. visible from
outside that file.
May be your error occured because you was trying to access a non-public
class
from outside that file.
Sander
|
|
|
Powered by
FUDForum. Page generated in 0.11105 seconds