Exemplo n.º 1
0
    private void ApplyFilter(ListCtrl.Row row)
    {
        ListCtrl.Item        mainItem = row.GetMainItem();
        EventLogger.EventLog eventLog = mainItem.Data as EventLogger.EventLog;

        row.Visible = IsVisible(eventLog);
    }
Exemplo n.º 2
0
    private void OnDblClickEvent(ListCtrl.Row row)
    {
        ListCtrl.Item mainItem = row.GetMainItem();
        eventLog = mainItem.Data as EventLogger.EventLog;

        if (eventLog != null && eventLog.locationList != null && eventLog.locationList.Count >= 0)
        {
            GotoEventLog(eventLog.locationList[0]);
        }
    }
Exemplo n.º 3
0
    private void OnRightClickEvent(ListCtrl.Row row)
    {
        ListCtrl.Item mainItem = row.GetMainItem();
        eventLog = mainItem.Data as EventLogger.EventLog;


        TextEditor te = new TextEditor();

        te.text = eventLog.message;
        te.OnFocus();
        te.Copy();
    }
Exemplo n.º 4
0
    private void OnDblClickScene(ListCtrl.Row row)
    {
        //if (EditorApplication.SaveCurrentSceneIfUserWantsTo())
        if (EditorSceneManager.SaveCurrentModifiedScenesIfUserWantsTo())
        {
            string scenePath = (string)row.GetMainItem().Data;
            //EditorApplication.OpenScene(scenePath);
            EditorSceneManager.OpenScene(scenePath);

            if (closeAfterOpenScene)
            {
                Close();
            }
        }
    }
Exemplo n.º 5
0
 private void OnClickScene(ListCtrl.Row row)
 {
     selectScenePath = (string)row.GetMainItem().Data;
 }
Exemplo n.º 6
0
 private void OnClickEvent(ListCtrl.Row row)
 {
     ListCtrl.Item mainItem = row.GetMainItem();
     eventLog = mainItem.Data as EventLogger.EventLog;
 }