I am a bit new to Java. I have developed a simple RCP application using Eclipse Ganymede. Simple GUI in which you can type some text. I created an exit command (exitFileHandler) and then added the extension "org.eclipse.ui.menus". Created a "File" menu, and then referenced the exitHandler in the file menu. This works fine. Found an example for "save" and created a command for this, and put it in the File menu. So question is, would any of you have a good example for saving text to file from a Java developed GUI?
Save to file in RCP application
Page 1 of 13 Replies - 1837 Views - Last Post: 05 August 2010 - 09:10 AM
Replies To: Save to file in RCP application
#2
Re: Save to file in RCP application
Posted 05 August 2010 - 09:04 AM
If you can access the text from the GUI Components, you just need to pass it off to your OutputStream. Take a look at this tutorial on File I/O for more information.
#4
Re: Save to file in RCP application
Posted 05 August 2010 - 09:10 AM
Glad I could help!
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|