Add getBlockViewFactory to BlocklyController
We had a way to access the model factory but not he view factory. This
is useful for configureMutators() to avoid having to keep an extra
reference to the view factory.
@@ -477,6 +477,10 @@ public class BlocklyController {
return mModelFactory;
}
+ public BlockViewFactory getBlockViewFactory() {
+ return mViewFactory;
+ }
+
public WorkspaceHelper getWorkspaceHelper() {
return mHelper;
}
