主权项 |
1. A method implemented at least in part by a computer, the method comprising:
registering a designer package with a software development tool, the registering configuring the software development tool to call a designer factory of the designer package to request a designer; receiving, from the software development tool, a request to provide a designer for an indicated file; searching for one or more designers, from a plurality of designers, that support the indicated file; in response to a determination that said searching results in the one or more designers being found:
creating, via the designer factory, a control that includes the one or more designers that support the indicated file; andproviding to the software development tool a reference to the control; and in response to a determination that said searching results in the one or more designers not being found, returning a code to the software development tool that indicates that the designer factory is unable to find the one or more designers. |