To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=74908 Issue #|74908 Summary|Extension Manager: Allow adding extensions through API | withou XCommandEnvironment Component|framework Version|680m202 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|jl Reported by|jl
------- Additional comments from [EMAIL PROTECTED] Tue Feb 27 12:16:31 +0000 2007 ------- The problem I see with the current Extension Manager implementation and in particular with the XPackageManager::addPackage is that, the implementation of the XCommandEnvironment determines if user interaction occurs through dialogs or in the console. In my opinion this piece of information should be separated from XCommandEnvironment. Then the user could call addPackage with a flag indicating the use of gui or not (or maybe this is already passed when creating the XPackageManager with the PackageManagerFactory, I do not know yet). If no XCommandEnvironment is supplied then the XPackageManager could use suitable "default" handler depending on the gui flag. Because the Extension Manager would always maintain the default-handler, it would always be safe for the user to pass "null". Implementing XCommandEnvironment would only make sense if the user would wish a different representation of the user interaction, for example, different dialogs, etc.) See also i74877 --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]