可以在这里添加名称和超类了。
减少了子类及其超类之间的耦合。
通常,导入对象的超类就足够了。
It is generally sufficient to import the superclass for your object.
帮助者超类提供了实际的帮助。
而有时则是直接从超类继承这一特性。
调用脚本中的helper超类方法。
超类方法——在运行时不需要其他实例。
Superclass methods — no additional instance needed at run time.
它指明注释的方法将覆盖超类中的方法。
It indicates that the annotated method is overriding a method in a superclass.
怎样利用脚本帮助器超类加强您的脚本?
How to enhance your scripts with the script helper superclass?
使用helper超类。
Kent讨论了如何为超类起一个好名字。
Kent discusses how to come up with a good name for a superclass.
然而,超类(父类)不一定要是抽象类。
However, super classes (parent classes) do not have to be abstract classes.
标准类作为超类是正常的。
调用超类的init方法。
超类的方法可以通过使用相同的名称声明属性来扩展。
A method of a superclass can be extended by declaring an attribute with the same name.
当然你不得不牺牲超类与其他类之间的关联。
Of course you have to sacrifice the association between the super class and other classes.
那篇文章是我见过的关于理解超类如何运行的最好的资源。
That article is the single best resource that I've seen for understanding how the superclass works.
类的API目前包含对于继承和超类方法调用的完善支持。
The class API now includes full support for inheritance and superclass method calls. (See Mislav's tutorial for more info.)
在我们的例子中,构造器接收了一个表示超类名称的字符串。
In the example shown here, the constructor accepts a string that represent the superclass name.
如果两个类需要支持相同的接口,它们都应该扩展相同的超类。
If two classes need to support the same interface, they should both extend the same superclass.
所以在创建对象之前,必须构造相同类或其超类的另一个对象。
So before an object is created, another object of the same class or of its superclass must be constructed.
然后,就可以从这个超类派生所有应用程序servlet。
Then you can extend all application servlets from this superclass.
这个默认的超类在功能测试的项目属性页面上有详细说明。
This default superclass is specified on the functional test project properties page.
在您创建自己的helper超类以后,在您的脚本中使用它。
After you create your own helper superclass, use it in your script.
超类将使用这个模型对象列表来创建对应的EditPart。
The superclass will use this list of model objects to create the corresponding EditParts.
因为该类是一个超类,所以只有三个应该被忽略的方法。
With this class as a super class, there are only three methods that should be overridden.
同样,您几乎总是在子代方法主体的开始或结束部分调用超类方法。
Likewise, you almost always call a superclass method at either the start or end of a descendent method body.
任何子类数据的修改都涉及两张表:超类的表和子类的表。
Also any data change on a subclass involves two tables: the super class table and the subclass table.
从超类复选框中选择Constructors并点击Finish。
Select the Constructors from superclass check box and click Finish.
这种情况下,最好的补救办法就是将这些被引用的字段也移到这个超类中。
The best remedy in this case is to move those referenced fields to the superclass, too.
应用推荐