[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: Restoring property values
|
What is this default value? Is it something in the model or something that
the EditPart conjures up? Set a breakpoint in the refreshVisuals() method
of the concerned EditPart and see what are the values that it retrieves from
the model when it's first created.
"Jason" <jduley@xxxxxxxxxxxxxxxxx> wrote in message
news:d1ve48$i2d$1@xxxxxxxxxxxxxxxxxxx
> Hi,
> I am having a problem restoring the state of my figures based on the
> last values sepcified in the property view. In my application, I am
> able to update a label on a Figure object using the property view. The
> problem occurs when I save the shapes file and close it, then reopen it.
> The label text gets reset to it's default value but when I select the
> Figure, all the saved values are in the property sheet. What do I need
> to do to get the last saved property value into my figures when
> restored? I examined the examples and am not sure where to look for
> hints. Thanks.
> Jason