Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JFace snippet doesn't compile
JFace snippet doesn't compile [message #330391] Mon, 28 July 2008 10:00 Go to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Hi,

Even though I'm using Eclipse 3.4, the following snippet doesn't compile:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet044NoColumnTableViewerKeyboardEditing.java? view=markup


This is the error I get:

FocusBorderCellHighlighter cannot be resolved to a type
line 148

I've search unluckily for this class in the documentation and the Eclipse
source code.
Re: JFace snippet doesn't compile [message #330395 is a reply to message #330391] Mon, 28 July 2008 10:07 Go to previous messageGo to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
By replacing FocusBorderCellHighlighter with
FocusCellOwnerDrawHighlighter, I can get it to compile. :-)

David Perez wrote:

> Hi,

> Even though I'm using Eclipse 3.4, the following snippet doesn't compile:

>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet044NoColumnTableViewerKeyboardEditing.java? view=markup


> This is the error I get:

> FocusBorderCellHighlighter cannot be resolved to a type
> line 148

> I've search unluckily for this class in the documentation and the Eclipse
> source code.
Re: JFace snippet doesn't compile [message #330414 is a reply to message #330391] Mon, 28 July 2008 12:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

David Perez wrote:
> Hi,
>
> Even though I'm using Eclipse 3.4, the following snippet doesn't compile:
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet044NoColumnTableViewerKeyboardEditing.java? view=markup
>
>
>
> This is the error I get:
>
> FocusBorderCellHighlighter cannot be resolved to a type
> line 148
>
> I've search unluckily for this class in the documentation and the
> Eclipse source code.
>

It's possible that this snippet has already been updated to use the code
from the 3.5 development stream, and that FocusBorderCellHighlighter is
a new class in 3.5.
If you checked out the snippets project from CVS, I'd recommend to
replace the project with a tag that marked the release of 3.4

Hope this helps,
Eric
Re: JFace snippet doesn't compile [message #330419 is a reply to message #330414] Mon, 28 July 2008 12:47 Go to previous messageGo to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Hi Eric,

I haven't taken directly from CVS, but from the wiki:

http://wiki.eclipse.org/index.php/JFaceSnippets#Snippet021Ce llEditorsOnDoubleClick

Eric Rizzo wrote:

> It's possible that this snippet has already been updated to use the code
> from the 3.5 development stream, and that FocusBorderCellHighlighter is
> a new class in 3.5.
> If you checked out the snippets project from CVS, I'd recommend to
> replace the project with a tag that marked the release of 3.4
Re: JFace snippet doesn't compile [message #330581 is a reply to message #330414] Mon, 04 August 2008 12:26 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
No the class he wants is also part of the snippet package! It's much
better to checkout the code directly from CVS!

Tom

Eric Rizzo schrieb:
> David Perez wrote:
>> Hi,
>>
>> Even though I'm using Eclipse 3.4, the following snippet doesn't compile:
>>
>> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet044NoColumnTableViewerKeyboardEditing.java? view=markup
>>
>>
>>
>> This is the error I get:
>>
>> FocusBorderCellHighlighter cannot be resolved to a type
>> line 148
>>
>> I've search unluckily for this class in the documentation and the
>> Eclipse source code.
>>
>
> It's possible that this snippet has already been updated to use the code
> from the 3.5 development stream, and that FocusBorderCellHighlighter is
> a new class in 3.5.
> If you checked out the snippets project from CVS, I'd recommend to
> replace the project with a tag that marked the release of 3.4
>
> Hope this helps,
> Eric


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Why ColumnViewerEditorActivationListener isn't called
Next Topic:Links in quick fix hovers
Goto Forum:
  


Current Time: Thu Nov 14 11:32:17 GMT 2024

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

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

Back to the top