#28 Previous and Next buttons doesn't run well all times

Carlos SS

Hello Santiago:
I'm testing history navigation with Previous and Next buttons and seems doesn't run well. When I go up in directory structure (through ".." item) doesn't get saved.

Studying "Historical" class I can see you are using an ArrayList with an iterator. This structure works in a way positionis always in the middle of two elements (or two paths) and I think this can be wrong. I think we need a simpler structure which its position is over an element (or path) directly.

What do you think about this?


  • Carlos SS

    Carlos SS - 2014-04-25

    I've made a little patch to fix this but I want also show as a tooltip which path will be next or previous. With this last I have problems to fix.

  • Carlos SS

    Carlos SS - 2014-05-02

    Hi Santiago, now this seems to run fine. "PreviousAction" has a little mode code to add current path when we are reversing history but all remains in a familiar way to you.
    I'm not using iterator to move through history because I think best and clear solution is place over an element (=history path) in place of your old style between two elements.
    Please, tell me if you like this solution to have a more precise history with tooltips.



Cancel  Add attachments

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks