Home » Newcomers » Newcomers » Different package explorer icons for classes, abstract classes, interfaces
|
Re: Different package explorer icons for classes, abstract classes, interfaces [message #13008 is a reply to message #11640] |
Sun, 23 January 2005 03:29 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
Dave,
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 #13151 is a reply to message #13008] |
Sun, 23 January 2005 16: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 20: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
|
|
|
Goto Forum:
Current Time: Fri Apr 26 05:38:22 GMT 2024
Powered by FUDForum. Page generated in 0.09023 seconds
|