예제 #1
0
파일: Import.cs 프로젝트: codyn-net/studio
 public Import(Wrappers.Network network, Wrappers.Node parent, string id, string filename)
 {
     d_network  = network;
     d_parent   = parent;
     d_id       = id;
     d_filename = filename;
 }
예제 #2
0
        public Variable(Wrappers.Network network, Widgets.Window parent, Wrappers.Wrapper obj)
        {
            d_object = obj;

            DestroyWithParent = true;
            TransientFor      = parent;
            HasSeparator      = false;

            if (obj is Wrappers.Edge)
            {
                SetDefaultSize(600, 300);
            }
            else
            {
                SetDefaultSize(400, 300);
            }

            d_view             = new Widgets.Editors.Wrapper(d_object, parent.Actions, network);
            d_view.BorderWidth = 6;

            VBox.PackStart(d_view, true, true, 0);

            d_object.VariableChanged += delegate(Wrappers.Wrapper source, Cdn.Variable name) {
                UpdateTitle();
            };

            VBox.ShowAll();

            AddButton(Gtk.Stock.Close, ResponseType.Close);
            UpdateTitle();
        }
예제 #3
0
파일: Project.cs 프로젝트: codyn-net/studio
        public Project()
        {
            Clear();

            d_network = new Wrappers.Network();
            d_saveProjectExternally = false;
            d_shared = false;
        }
예제 #4
0
        public Wrapper(Wrappers.Wrapper wrapper, Actions actions, Wrappers.Network network) : base(false, 6)
        {
            d_wrapper = wrapper;
            d_actions = actions;
            d_network = network;

            Build();
        }
예제 #5
0
파일: Object.cs 프로젝트: codyn-net/studio
        public Object(Wrappers.Wrapper obj, Actions actions, Wrappers.Network network) : base(false, 6)
        {
            d_actions = actions;
            d_object  = obj;
            d_network = network;

            Build();

            Sensitive = (d_object != null);
            Connect();
        }
예제 #6
0
파일: Import.cs 프로젝트: codyn-net/studio
 public Import(Wrappers.Network network, Wrappers.Node parent, string id, string filename) : this(new Cdn.Import(network, parent, id, filename))
 {
 }
예제 #7
0
 public ModifyIntegrator(Wrappers.Network network, Cdn.Integrator integrator)
 {
     d_network        = network;
     d_prevIntegrator = network.Integrator;
     d_integrator     = integrator;
 }