public override void CopyFrom(PackageBuilder other) { base.CopyFrom(other); TarballDeployTarget target = other as TarballDeployTarget; targetDir = target.targetDir; defaultConfig = target.defaultConfig; generateFiles = target.generateFiles; generateAutotools = target.generateAutotools; switchs = new List <Switch> (target.GetSwitches()); }
public MakefileSwitchEditorWidget(TarballDeployTarget target) { this.target = target; this.Build(); InitTreeview (); store = new ListStore (typeof (string), typeof (string), typeof(string), typeof (Switch)); itemTv.Model = store; foreach (Switch s in target.GetSwitches ()) { store.AppendValues (s.SwitchName, s.Define, s.HelpStr, s); } this.ShowAll (); }
public MakefileSwitchEditorWidget(TarballDeployTarget target) { this.target = target; this.Build(); InitTreeview(); store = new ListStore(typeof(string), typeof(string), typeof(string), typeof(Switch)); itemTv.Model = store; foreach (Switch s in target.GetSwitches()) { store.AppendValues(s.SwitchName, s.Define, s.HelpStr, s); } this.ShowAll(); }