public void DrawToolbar()
        {
            GUILayout.BeginHorizontal(EditorStyles.toolbar, GUILayout.Height(EditorGUIUtility.singleLineHeight), GUILayout.ExpandWidth(true));

            GUILayout.FlexibleSpace();

            if (GUILayout.Button(new GUIContent("Compile", Resources.Load <Texture>("Images/compile_icon"), "Generates the Interfaces needed to implement this state machine"), EditorStyles.toolbarButton, GUILayout.ExpandWidth(false)))
            {
                CodeGeneratorUtility.GenerateInterfaceFromModel(selectedModel);
                CodeGeneratorUtility.GeneratePropertiesFromModel(selectedModel);
            }

            GUILayout.EndHorizontal();
        }
 public static void CreateStateModel()
 {
     CodeGeneratorUtility.GenerateModel("New");
 }