public TutorialEmptyBlock()
        {
            Completion.AddCreateBlocksItem <TutorialUniversalBlock, TutorialEmptyBlock>("universal");

            CreateBlocksItem             createText        = Completion.AddCreateBlocksItem <TextBoxBlock>("text");
            MoreThan3TextBlocksCondition createTextVisible = new MoreThan3TextBlocksCondition(this);

            createText.VisibilityConditions.Add(createTextVisible);
        }
Esempio n. 2
0
 protected void AddItem <T>(string keyword)
 {
     Completion.AddCreateBlocksItem <T, EmptyNamespaceBlock>(keyword, Icons.CodeSnippet);
 }
Esempio n. 3
0
 private void AddItem <T>(string itemName)
 {
     Completion.AddCreateBlocksItem <T, EmptyClassMember>(itemName, Icons.CodeSnippet);
 }