Description of problem: SwitchYard UI editor ignore user settings for XML files formatting and always use 2 spaces for indentation. How reproducible: Set 'Indent using tabs' (or different settings then 2 spaces) in eclipse preferences - XML Files formatting, design SwitchYard composite with the SwitchYard UI editor and see generated switchyard.xml. Actual results: Generated switchyard.xml file has always 2 spaces for indentation. Expected results: Generated switchyard.xml file follows the specified setting of XML formatting.
Apparently there isn't a great way to handle this currently in EMF. Based on this thread in the EMF forum (http://www.eclipse.org/forums/index.php/t/340341/) it appears that we would need to specialize the serializer itself, e.g., in org.eclipse.emf.ecore.xmi.impl.XMLString.getElementIndent(int) and pick up the correct value from the preference.
*** Bug 1026391 has been marked as a duplicate of this bug. ***