在这里我仅添加另一样东西,即“类修饰”,这是很多插件创作者都使用的。
I'll just add one other thing here, and that's the idea of "class decoration," which so many plug-in authors have taken to using as well.
我用同样的方法对所有外墙也进行了修饰,这确实花了我一段时间,但我认为这是完全值得的,因为我找不到可以做到这点的其他任何插件或方法。
I used the same method for all facades so it took a while but it was totally worth it because I couldn't get this close with any other plugin or method.
获得一个用于修饰对象的图标这样简单的动作都可以导致引起插件类的加载,从而到引起插件的启动。
Something as simple as obtaining an icon to decorate an object can cause one of your plug-in's classes to be loaded, thus starting your plug-in.
应用推荐