public void RegisterNodeType(Type type, string name, Image icon, ICustomNodeConverter converter, ICustomCodeGenerator generator)
        {
            CustomNodeConvert.RegisterCustomType(converter);
            CustomCodeGenerator.RegisterCustomType(generator);

            MainWindow.RegisterNodeType(type, name, icon ?? Properties.Resources.B16x16_Plugin);
        }
        public void DeregisterNodeType(Type type, ICustomNodeConverter converter, ICustomCodeGenerator generator)
        {
            CustomNodeConvert.DeregisterCustomType(converter);
            CustomCodeGenerator.DeregisterCustomType(generator);

            MainWindow.DeregisterNodeType(type);
        }
Exemple #3
0
        public void DeregisterNodeType(Type type, ICustomNodeConverter converter, ICustomCodeGenerator generator)
        {
            Contract.Requires(type != null);
            Contract.Requires(converter != null);
            Contract.Requires(generator != null);

            throw new NotImplementedException();
        }
Exemple #4
0
        public static void DeregisterCustomType(ICustomNodeConverter converter)
        {
            Contract.Requires(converter != null);

            converters.Remove(converter);
        }