[
https://issues.jboss.org/browse/JBIDE-17232?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-17232:
----------------------------------------
[~maxandersen], please take a look at the linked PR. The current implementation registers
a shell listener which handles shell activation events. So we are able to get all open
wizards. Then we add a listener to the "Finish" button using java reflection
(the button is in a private field) to handle its selection. We also can add a listener to
the "Cancel" button if we want to track it too.
We can't rely on wizard IDs since not every wizard has it. But we could use the
wizard's class name:
!scr.png!
+For example:+
*Page*: /tools/usage/2.0.0
*Category*: jbt
*Action*: finishWizard
*Label*: org.jboss.tools.usage.test.SomeWizardClassName
*Value*: 10
Usage Stats for used wizards
----------------------------
Key: JBIDE-17232
URL:
https://issues.jboss.org/browse/JBIDE-17232
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: usage
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Labels: new_and_noteworthy
Fix For: 4.2.0.Beta2
Attachments: scr.png
The idea of this feature is to track all Eclipse/JBT wizards. We could use countEvent
method to send a request to GA once a day for every wizard: Wizard ID + how many times the
wizard was used during the day.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)