Esempio n. 1
0
        private void InitTools()
        {
            toolsManager.Clear();

            var tool1 = new BaseUIStuff.OverloadedTools.SelectionTool();

            toolsManager.AddTool(tool1, new QuestsManipulatorWrapper(editingContext, tool1, flowView));

            var tool2 = new LinearShapeCreationTool(new Template("Link", templates.GetLinkTemplate()));

            toolsManager.AddTool(tool2, new AddLinkWrapper(editingContext, tool2, flowView));

            var tool3 = new PlanarShapeCreationTool(new Template("Quest", templates.GetQuestTemplate()));

            toolsManager.AddTool(tool3, new AddQuestWrapper(editingContext, tool3, flowView));
        }
Esempio n. 2
0
        private void InitTools()
        {
            toolsManager.Clear();

            var tool1 = new BaseUIStuff.OverloadedTools.SelectionTool();

            toolsManager.AddTool(tool1, new QuestActionManipulatorWrapper(context, tool1, flowView));
        }