程序包 org.xmeta.util
类 ThingUtil
java.lang.Object
org.xmeta.util.ThingUtil
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getAllDescriptorsAndExtends(Thing thing) static Thing如果文件是模型,那么返回模型。static void把目标模型粘贴到指定模型上。static voidpasteAsChild(Thing thing, Thing forPasteThing) 把目标模型粘贴为子模型。static voidreplaceCategory(Category category, String replaceFor, String replaceWidth) static voidreplaceThing(Thing thing, String replaceFor, String replaceWith) static voidreplaceThingManager(ThingManager tm, String replaceFor, String replaceWidth)
-
构造器详细资料
-
ThingUtil
public ThingUtil()
-
-
方法详细资料
-
pasteAsChild
把目标模型粘贴为子模型。- 参数:
thing- 模型forPasteThing- 要粘贴的模型
-
paste
把目标模型粘贴到指定模型上。- 参数:
thing-forPasteThing-
-
replaceCategory
-
replaceThingManager
-
replaceThing
-
getThing
如果文件是模型,那么返回模型。- 参数:
file- 文件- 返回:
- 模型
-
getAllDescriptorsAndExtends
-