Toolbar action for specific transformation scenario?

Is it possible to configure a toolbar action that will run a specific transformation scenario from the current framework? It's possible to make one scenario the default scenario, I know, but I'm looking at providing multiple transformation scenarios, and I'd prefer it if the eventual users could choose their actions without even having to go to the trouble of selecting and unselecting items in the 'Transformation Scenarios' view, if that's possible. Regards, Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@antenna.co.jp

Hi Tony, In the Transformation Scenario view, double clicking on a scenario will automatically run it. So the users don't have to use the check boxes to associate scenarios. If this is not enough, in the Author mode you can create author actions to run specific transformation scenario(s). The operation to use is: ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation After creating the author actions you could add them on the toolbar. You can also group them into a drop-down item. Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 3/12/2015 5:15 PM, Tony Graham wrote:
Is it possible to configure a toolbar action that will run a specific transformation scenario from the current framework?
It's possible to make one scenario the default scenario, I know, but I'm looking at providing multiple transformation scenarios, and I'd prefer it if the eventual users could choose their actions without even having to go to the trouble of selecting and unselecting items in the 'Transformation Scenarios' view, if that's possible.
Regards,
Tony Graham.

Sorry for the delay in getting back to you. On 13/03/2015 13:07, Alex Jitianu wrote:
In the Transformation Scenario view, double clicking on a scenario will automatically run it. So the users don't have to use the check boxes to associate scenarios. If this is not enough, in the Author mode you can create author actions to run specific transformation scenario(s). The operation to use is:
ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation
You know I read the manual closely, but though I'd read the manual page and expanded the dialog box for choosing actions so I could see them all at once, I'd still missed that. Works now, thank you.
After creating the author actions you could add them on the toolbar. You can also group them into a drop-down item.
Which leads me to want the option of being able to add an icon to a transformation scenario, where the icon could be automatically used in the toolbar customization but also used when the transformation scenario appears in the 'Transformation Scenarios' view and used in place of the 'Apply Transformation Scenario(s)' toolbar button when transformation scenario is the current (single) associated transformation scenario for the current document. Regards, Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@antenna.co.jp

Hello Tony, Currently the 'Transformation Scenarios' View presents an icon based on the scenario's storage location: global options, project or framework level. I will add an issue for providing an icon for a scenario based on your hints. Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 3/24/2015 8:04 PM, Tony Graham wrote:
Sorry for the delay in getting back to you.
On 13/03/2015 13:07, Alex Jitianu wrote:
In the Transformation Scenario view, double clicking on a scenario will automatically run it. So the users don't have to use the check boxes to associate scenarios. If this is not enough, in the Author mode you can create author actions to run specific transformation scenario(s). The operation to use is:
ro.sync.ecss.extensions.commons.operations.ExecuteTransformationScenariosOperation
You know I read the manual closely, but though I'd read the manual page and expanded the dialog box for choosing actions so I could see them all at once, I'd still missed that. Works now, thank you.
After creating the author actions you could add them on the toolbar. You can also group them into a drop-down item.
Which leads me to want the option of being able to add an icon to a transformation scenario, where the icon could be automatically used in the toolbar customization but also used when the transformation scenario appears in the 'Transformation Scenarios' view and used in place of the 'Apply Transformation Scenario(s)' toolbar button when transformation scenario is the current (single) associated transformation scenario for the current document.
Regards,
Tony Graham.
participants (2)
-
Alex Jitianu
-
Tony Graham