• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

scroling in an eclipse editor

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
I'm not sure I'm posting in the correct place.

I have a plugin which displays pdf files. Then the file content is displayed in the editor and a treeView of its pages is displayed in the viewer.
I've 2 questions and the 2nd is really important for me:

1-User can't scroll in the editor by keyboard( scrolling is possible just by scroll bar) How I can add scrolling by keyboard to it?

2- User can scroll down or up until going to the next or previous page.How can I understand when the user enters a new page?


The editor class extends EditorPart(maybe it's the only way).
I'm using eclipse 3.3

Anything's really appreciated
 
On top of spaghetti all covered in cheese, there was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic