Skip to main content



      Home
Home » Newcomers » Newcomers » What are the red X decorators on my classes' icons?
What are the red X decorators on my classes' icons? [message #649346] Tue, 18 January 2011 15:27 Go to next message
Eclipse UserFriend
Some of my class file have a red X decorator on the icon, and some do not. What does this mean? I thought that it might indicate an unsaved file or a file that won't build, but neither seem to be it. I googled for Eclipse Decorators, but found very little information describing their individual meanings. So another question is, where in the fine manual are the Eclipse icon decorators described?

Thanks!
Re: What are the red X decorators on my classes' icons? [message #649353 is a reply to message #649346] Tue, 18 January 2011 16:13 Go to previous messageGo to next message
Eclipse UserFriend
On 18-Jan-11 13:27, Dotan Cohen wrote:
> Some of my class file have a red X decorator on the icon, and some do
> not. What does this mean? I thought that it might indicate an unsaved
> file or a file that won't build, but neither seem to be it. I googled
> for Eclipse Decorators, but found very little information describing
> their individual meanings. So another question is, where in the fine
> manual are the Eclipse icon decorators described?
>
> Thanks!

Those should be errors:

http://www.windofkeltia.com/notes/eclipse.html#icons
Re: What are the red X decorators on my classes' icons? [message #649355 is a reply to message #649353] Tue, 18 January 2011 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, that is a great link. Bookmarked!

I figured they were errors, if I can't figure out what (now that I know for certain that they are errors) then I'll post back!

Have a great night!
Re: What are the red X decorators on my classes' icons? [message #649358 is a reply to message #649355] Tue, 18 January 2011 16:34 Go to previous messageGo to next message
Eclipse UserFriend
On 18-Jan-11 14:23, Dotan Cohen wrote:
> Thanks, that is a great link. Bookmarked!
>
> I figured they were errors, if I can't figure out what (now that I know
> for certain that they are errors) then I'll post back!
>
> Have a great night!

Your entries here in the forum have been associated with C++ stuff. I'm
a Java guy (having repented of decades of being a C/assembly guy), and
I've never done C/C++ in Eclipse. Don't therefore allow me to mislead
you. So, in Java...

In the file, you'll find decorations down the margins, reds, yellows,
etc. The reds correspond to lines with errors; the yellows to warnings.
Click to go to the line in question. Hover over either the margin
decoration or the red, squiggly line underneath the expression,
identifier, etc. to see what the compiler thinks is the problems.

Best of luck to you,

Russ
Re: What are the red X decorators on my classes' icons? [message #649693 is a reply to message #649358] Thu, 20 January 2011 06:04 Go to previous message
Eclipse UserFriend
Thank you Russ. I am in fact referring to Java, I should have made that clear.

It seems that my problem was that I had not yet defined constructors for some classes. I've since finished the project and I'm not sure which errors I was getting, but along the way I've learned a lot about the Eclipse environment. Thanks!
Previous Topic:Editor for SWT (or AWT or Swing)
Next Topic:Multiple classes in a single file?
Goto Forum:
  


Current Time: Sun Sep 21 12:07:41 EDT 2025

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

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

Back to the top