This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Databinding, or Ilistener2 or other and Data Retention post application shutdown.

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reading. I've been stuck on this for quite some time. I'm relatively new and seem to be plateauing in the next step(s) of my application.

The application attempts to model itself after the Eclipse Task List (Right Click - Opens a new Task (as an editor) with a user input SWT text widget to enter a new task.

When the user enters text I have marked the editor as dirty and have implemented the dirtyStateChanged() method. This in turn provides a prompt when I attempt to close the editor without saving! So far so good.

1. The first problem I am having is how to update the task tree that I originally clicked on to build a new task. I've read a number of articles from Vogella's databinding tutorial to many to IListeners etc. One item I learned is that SWT Tree Widget is not supported in data binding(at least I think). What is the best approach here!?!

2. The second problem I'm having is that I have no concept of where to save that data to retain it after the application is closed. Text file? What is standard practice.

Thanks for any advice, links etc!

- Jason
What a stench! Central nervous system shutting down. Save yourself tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!