Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-dd-dev] Force Tab Label Update

I tried to fire the property change event but firePropertyChangedEvent()
is a protected interface. I could call
AbstractTableRendering.updateLabels() but I want to put the label in my
own format. Any suggestion?

-----Original Message-----
From: Samantha Chan [mailto:chanskw@xxxxxxxxxx] 
Sent: Friday, November 03, 2006 2:46 PM
To: Lee, Alain
Cc: Device Debugging developer discussions; Williams, Ted
Subject: RE: Need new API in Traditional Rendering

Hi,

I do not think there needs to be an API to allow clients to force a tab
label update.  The same can be achieved by firing a property change
event:

firePropertyChangedEvent(new PropertyChangeEvent(rendering,
IBasicPropertyConstants.P_TEXT, null, "new label"));

The tab listens for property change events and will update the tab label
for the rendering upon this event.

Regarding the #goToAddress API, my concern is that not all renderings
can
perform a "go to address" operation.  This is similar to the #reset API
that is provided by the IResettableMemoryRendering.  If we want to
provide
such API, it will most likely be another interface that a rendering
needs
to implement  (e.g. IGoToAddressRendering or something) and the method
will
be defined in this interface.

There is another request to have a gobal "go to address bar" in the
Memory
View.  (https://bugs.eclipse.org/bugs/show_bug.cgi?id=126909) The
address
bar needs to be put inside the Monitors pane and will direct all visible
renderings to go to a certain address.This new interface will be
required
in order to implement this global address bar.

Thanks...
Samantha


Back to the top