Community
Participate
Working Groups
Registered a CALLBACK with Mouse click trigger like this: Action action = ActionImpl.create(ActionType.CALL_BACK_LITERAL, CallBackValueImpl.create(VerdictSummaryChart.class.getName())); Trigger tg = TriggerImpl.create(TriggerCondition.ONCLICK_LITERAL, action); sePie.getTriggers().add(tg); deviceRenderer.setProperty(IDeviceRenderer.UPDATE_NOTIFIER, this); When the callback(Object event, Object source, CallBackValue value) of the update notifier class is invoked, here are the variable values from the debugger: source= StructureSource (id=908) source= PieSeriesImpl (id=1080) type= StructureType (id=1081) type= "series" value= CallBackValueImpl (id=909) eAdapters= null eContainer= ActionImpl (id=907) eContainerFeatureID= -2 eFlags= 1 eProperties= null identifier= "org.eclipse.hyades.test.ui.forms.base.VerdictSummaryChart" So all I can get from the StructureSource is the PieSeries which does not tell me which slice of the pie was clicked on. There are project features that depends on getting pie slice mouse click and can not ship without this with eclipse 3.2.
Now pass DataPointHints object as the source object, and also added index property in DataPointHints.
fixed the SWT arc region type issue.
fixed.