public NodeData() { children = new List<NodeData> (); data = new Hashtable (); parent = null; log = new LogUtil ("NodeData"); }
public TFStore() { log = new LogUtil ("TFStore"); log.SetHash (this); SolutionProviders = new List<ProviderData> (); }
public ContextData() { log = new LogUtil ("ContextData"); log.SetHash (this); documentStore = new DocumentStore (); Sessions = new List<TaskSession> (); }
public CommentWidget2() { this.Build (); log = new LogUtil ("CommentWidget2"); log.SetHash (this); addCommentButton.Clicked += AddCommentButtonClicked; }
public void ConstructBasicProvider(ProviderData _providerNode) { providerNode = _providerNode; log = new LogUtil ("LOCAL PROVIDER"); if (providerNode == null) { log.ERROR ("Provider is wrong!"); } }
public CommentWidget(List<CommentData> _comments) { log = new LogUtil ("CommentWidget"); this.Build (); log.DEBUG ("Recieved comments with size" + _comments.Count); Comments = _comments; replyButton.Sensitive = false; quoteButton.Sensitive = false; PopulateTreeView (); }
public TaskViewWidget() { log = new LogUtil ("TaskViewWidget"); this.Build (); TargetCore = new TaskCore (); this.ShowAll (); nameEntry.Changed += FormContentChanged; descriptionTextView.Buffer.Changed += FormContentChanged; priorityCombo.Changed += FormContentChanged; activateButton.Clicked += ActivateCurrentTask; }
public TaskView() { taskViewWidget = new TaskViewWidget (); taskViewWidget.TaskViewContent = this; log = new LogUtil ("TaskView"); taskViewWidget.Changed += TaskViewWidgetChanged; // not dirty by default this.IsDirty = false; this.taskViewWidget.Destroyed += TaskViewWidgetDestroyed; }
public ProviderData() : base() { log = new LogUtil ("ProviderData"); log.SetHash (this); // TODO: This is temporary ExtensionNodeList nodes = AddinManager.GetExtensionNodes ("/MonoDevelop/TaskForce/Providers"); log.INFO("Creating a new provider"); // take nodes[0] by default ProviderExtensionNode node = nodes[0] as ProviderExtensionNode; provider = (IProvider)Activator.CreateInstance (node.Class); }
public static string SerializeObjectToString(object o) { LogUtil log = new LogUtil ("Util.Serialization"); // log.DEBUG("Serializing - " + o.ToString()); //StringBuilder resultString; context.IncludeType (o.GetType ()); XmlDataSerializer ser = new XmlDataSerializer (context); //XmlTextWriter xtw = new XmlTextWriter(Console.Out); TextWriter serWriter = new StringWriter (); XmlTextWriter xtw = new XmlTextWriter (serWriter); ser.Serialize (xtw, o); string serializedString = serWriter.ToString (); //serializedString = serReader.ReadToEnd(); //log.DEBUG("The serialized string is - " + serializedString); return serializedString; }
public void OnNewCategoryContextMenu() { LogUtil log = new LogUtil ("ProviderNodeCommandHandler"); log.DEBUG ("Creating a new category"); if (this.CurrentNode.DataItem is ProviderData) { ProviderData self = this.CurrentNode.DataItem as ProviderData; // call the new category view self.provider.CreateNewCategory (); } }
public TaskNodeBuilder() : base() { log = new LogUtil ("TaskNodeBuilder"); }
public static void Initialize() { initialized = true; conn = new SqliteConnection (); log = new LogUtil ("DBHelper"); if (System.IO.File.Exists ("tasks.db")) { conn.ConnectionString = "Data Source=tasks.db;Synchronous=Off"; log.INFO ("Opening connection"); conn.Open (); } else { log.WARN ("Creating new database"); conn.ConnectionString = "Data Source=tasks.db;New=True;Synchronous=Off"; conn.Open (); CreateTables (); } }
public CategoryNodeBuilder() { log = new LogUtil ("CategoryNodeBuilder"); log.SetHash (this); }
public ProviderNodeBuilder() : base() { log = new MonoDevelop.TaskForce.Utilities.LogUtil ("ProviderNodeBuilder"); }
public void OnTrigger2Clicked() { if (this.CurrentNode.DataItem is ProviderData) { LogUtil log = new LogUtil ("OnTrigger1Clicked"); log.INFO ("Attempting to serialize provider"); ProviderData self = this.CurrentNode.DataItem as ProviderData; TaskForceMain tfMain = TaskForceMain.Instance; tfMain.TempAddNewProvider (self.serializedString); } }
public virtual void PostDeserializeHook() { // Re-enable anything that needs to be done in a constructor normally log = new LogUtil ("NodeData"); // Deserialize the CoreDataString into the CoreDataObject //CoreDataObject.DeSerialize(CoreDataSerializationString); // Free up the memory contained in the CoreDataSerializedString //CoreDataSerializationString = null; // if there are no children available, make sure that there's a new object for children if (children == null) { children = new List<NodeData> (); } else { foreach (NodeData child in children) { child.parent = this; // IMPORTANT: this assumes that the provider has been set already child.provider = this.provider; child.PostDeserializeHook (); } } }
public ProviderFrontend() { log = new LogUtil ("LOCAL PROVIDER"); }
public TaskSolutionPad() { log = new LogUtil ("TaskSolutionPad"); TaskForceMain.Instance.TaskPad = this; }
public BugzillaProviderMain() { log = new LogUtil("BugzillaProviderMain"); }
public void OnTrigger1Clicked() { LogUtil log = new LogUtil ("ProviderNodeCommandHandler"); if (this.CurrentNode.DataItem is ProviderData) { log.INFO ("Attempting to serialize provider"); ProviderData self = this.CurrentNode.DataItem as ProviderData; self.SerializeData (); } }
public NewTaskWidget() { log = new LogUtil (); this.Build (); }