本文整理汇总了Java中org.netbeans.modeler.widget.pin.info.PinWidgetInfo.setDocumentId方法的典型用法代码示例。如果您正苦于以下问题:Java PinWidgetInfo.setDocumentId方法的具体用法?Java PinWidgetInfo.setDocumentId怎么用?Java PinWidgetInfo.setDocumentId使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.netbeans.modeler.widget.pin.info.PinWidgetInfo
的用法示例。
在下文中一共展示了PinWidgetInfo.setDocumentId方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
private <W extends JSONNodeWidget> W create(String id, String name, IBaseElement baseElement, Class<W> widgetClass) {
PinWidgetInfo pinWidgetInfo = new PinWidgetInfo(id, baseElement);
pinWidgetInfo.setName(this.getModelerScene().transferPropertyName(name));
pinWidgetInfo.setDocumentId(widgetClass.getSimpleName());
W widget = (W) createPinWidget(pinWidgetInfo);
return widget;
}
示例2: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
private <W extends ColumnWidget> W create(String id, String name, IBaseElement baseElement, Class<W> widgetClass) {
PinWidgetInfo pinWidgetInfo = new PinWidgetInfo(id, baseElement);
pinWidgetInfo.setName(name);
pinWidgetInfo.setDocumentId(widgetClass.getSimpleName());
W widget = (W)createPinWidget(pinWidgetInfo);
return widget;
}
示例3: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name, IBaseElement baseElement) {
PinWidgetInfo pinWidgetInfo = new PinWidgetInfo(id, baseElement);
pinWidgetInfo.setName(name);
pinWidgetInfo.setDocumentId(EmbeddedAssociationJoinColumnWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例4: getInstance
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static <T> T getInstance(IPNodeWidget nodeWidget, String name, IBaseElement baseElement, Class documentId) {
PinWidgetInfo pinWidgetInfo = new PinWidgetInfo(baseElement.getId(), baseElement);
pinWidgetInfo.setName(name);
pinWidgetInfo.setDocumentId(documentId.getSimpleName());
return (T)nodeWidget.createPinWidget(pinWidgetInfo);
}
示例5: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(VersionAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例6: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(BasicAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例7: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(MultiValueEmbeddedAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例8: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(EmbeddedAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例9: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(BasicCollectionAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例10: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(EmbeddedIdAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例11: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(TransientAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例12: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(SingleValueEmbeddedAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例13: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(IdAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例14: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(OTORelationAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}
示例15: create
import org.netbeans.modeler.widget.pin.info.PinWidgetInfo; //导入方法依赖的package包/类
public static PinWidgetInfo create(String id, String name) {
PinWidgetInfo pinWidgetInfo = AttributeWidget.create(id, name);
pinWidgetInfo.setDocumentId(MTORelationAttributeWidget.class.getSimpleName());
return pinWidgetInfo;
}