public class GenerateRibbonFile extends ServiceableGenerator
Modifier and Type | Class and Description |
---|---|
(package private) class |
GenerateRibbonFile.Menu |
(package private) class |
GenerateRibbonFile.ParameterControl |
(package private) static interface |
GenerateRibbonFile.RibbonElement |
(package private) class |
GenerateRibbonFile.RibbonGroup |
(package private) class |
GenerateRibbonFile.RibbonTab |
Modifier and Type | Field and Description |
---|---|
private HashMap<Pattern,String> |
_glyphAssociations |
private I18nUtils |
_i18nUtils |
private SkinModelsManager |
_modelsManager |
private SkinFactoryComponent |
_skinFactoryManager |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
GenerateRibbonFile() |
Modifier and Type | Method and Description |
---|---|
private void |
_addGroupedParam(Map<String,GenerateRibbonFile.RibbonTab> tabs,
String tabId,
String groupId,
String controlId,
String itemId,
String subItemId) |
private Map<String,GenerateRibbonFile.RibbonTab> |
_getGroupedParams(Map<String,AbstractSkinParameter> skinParameters) |
private void |
_saxMenu(GenerateRibbonFile.Menu menu) |
private void |
_saxMenuIcons(GenerateRibbonFile.Menu menu,
AttributesImpl attrs) |
void |
generate() |
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private SkinFactoryComponent _skinFactoryManager
private SkinModelsManager _modelsManager
private I18nUtils _i18nUtils
private final HashMap<Pattern,String> _glyphAssociations
public GenerateRibbonFile()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxMenu(GenerateRibbonFile.Menu menu) throws SAXException
SAXException
private Map<String,GenerateRibbonFile.RibbonTab> _getGroupedParams(Map<String,AbstractSkinParameter> skinParameters)
private void _addGroupedParam(Map<String,GenerateRibbonFile.RibbonTab> tabs, String tabId, String groupId, String controlId, String itemId, String subItemId)
private void _saxMenuIcons(GenerateRibbonFile.Menu menu, AttributesImpl attrs)