//AttributeFactory
AttributeRowFactory attributeRowFactory = null;
if (workspace != null) {
AttributeModel attributeModel = Lookup.getDefault().lookup(AttributeController.class).getModel(workspace);
if (attributeModel != null) {
attributeRowFactory = attributeModel.rowFactory();
}
}
factory = new GraphFactoryImpl(controller.getIDGen(), attributeRowFactory);
init();