Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [gef-dev] Re: gef-dev digest, Vol 1 #245 - 1 msg

 


From: gef-dev-admin@xxxxxxxxxxx [mailto:gef-dev-admin@xxxxxxxxxxx] On Behalf Of Mithun Ruikar
Sent: Friday, March 04, 2005 3:10 PM
To: gef-dev@xxxxxxxxxxx
Subject: [gef-dev] Re: gef-dev digest, Vol 1 #245 - 1 msg

Hello Gunjan ,
you can use setContents method of editor.
Make all models you draw on viewer serializable , define proper editPartFactory for these model editPart.
now u can save models to file ( as they are serializable) and while loading them ,
use setContents to set this models saved last time.
U can add these models to some collection and can save and set this single object.
 
-- mithun ruikar


gef-dev-request@xxxxxxxxxxx wrote:
Send gef-dev mailing list submissions to
gef-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://dev.eclipse.org/mailman/listinfo/gef-dev
or, via email, send a message with subject or body 'help' to
gef-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
gef-dev-admin@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gef-dev digest..."


Today's Topics:

1. how to save the workspace (GUNJAN SINGH)

--__--__--

Message: 1
Date: Thu, 3 Mar 2005 05:20:46 -0800 (PST)
From: GUNJAN SINGH
To: gef-dev@xxxxxxxxxxx
Subject: [gef-dev] how to save the workspace
Reply-To: gef-dev@xxxxxxxxxxx

--0-495806161-1109856046=:91560
Content-Type: text/plain; charset=us-ascii

Hi! All< BR>This is my frist mail to the forum...
Im devloping a pluging whose view is based on GEF.I have to provide the funtionality of save the workspace.
can any one tell me wht are the steps needed to do this?
More particularly how to get back the object of the saved workspace when that file is opened again...

thanking all u wizards out there




Ved Gunjan
SCJP1.4


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-495806161-1109856046=:91560
Content-Type: text/html; charset=us-ascii

Hi! All

This is my frist mail to the forum...

Im devloping a pluging whose view is based on GEF.I have to provide the funtionality of save the workspace.

can any one tell me wht are the steps needed to do this?

More particularly how to get back the object of the saved workspace when that file is opened again...

 

thanking all u wizards out there

 

 



Ved Gunjan
SCJP1.4

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-495806161-1109856046=:91560--


--__--__--

_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/gef-dev


End of gef-dev Digest


Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web

Back to the top