Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » modify listener for OleClientSite
modify listener for OleClientSite [message #448032] Mon, 27 December 2004 17:36 Go to next message
Kalman Hazins is currently offline Kalman HazinsFriend
Messages: 76
Registered: July 2009
Member
Hi, group.

I am working with OleClientSite class to embed a Microsoft Word document
into my application.

I see that OleClientSite has an isDirty() method which seems to work fine
when I save the document to file. Unfortunately though, I can't seem to
figure out a listener that would let me know when the OleClientSite gets
dirty so that I can set my editor window in which the document resides to
dirty.

Any help is appreciated.

- Kalman
Re: modify listener for OleClientSite [message #448161 is a reply to message #448032] Tue, 04 January 2005 17:08 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
You could use Display.timerExec() to poll isDirty().

"Kalman" <kalman@zikal.com> wrote in message
news:cqpgvr$hki$1@www.eclipse.org...
> Hi, group.
>
> I am working with OleClientSite class to embed a Microsoft Word document
> into my application.
>
> I see that OleClientSite has an isDirty() method which seems to work fine
> when I save the document to file. Unfortunately though, I can't seem to
> figure out a listener that would let me know when the OleClientSite gets
> dirty so that I can set my editor window in which the document resides to
> dirty.
>
> Any help is appreciated.
>
> - Kalman
>
>
Previous Topic:ScrolledComposite Problems
Next Topic:Solaris GTK 3.1M4 and libgcc dependancy
Goto Forum:
  


Current Time: Thu Mar 28 21:34:12 GMT 2024

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

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

Back to the top