Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Different package explorer icons for classes, abstract classes, interfaces
Different package explorer icons for classes, abstract classes, interfaces [message #11640] Sat, 22 January 2005 04:54 Go to next message
Eclipse UserFriend
Originally posted by: dmerrillq.usaq.netq

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 #13008 is a reply to message #11640] Sun, 23 January 2005 03:29 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Multi-file replace
Next Topic:Using eclipse with an external application
Goto Forum:
  


Current Time: Fri Apr 26 05:38:22 GMT 2024

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

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

Back to the top