reorganize ListView source into its own sub-namespace
This commit is contained in:
parent
53e9f00269
commit
abd4992fbe
@ -25,6 +25,7 @@ using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Collections.Generic;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Controls
|
||||
{
|
||||
@ -39,7 +40,7 @@ namespace UniversalEditor.UserInterface.Controls
|
||||
|
||||
public event EventHandler SelectionChanged;
|
||||
|
||||
private ListView lv = null;
|
||||
private ListViewControl lv = null;
|
||||
private DefaultTreeModel tm = null;
|
||||
public Collection<TRef> AvailableObjects { get; } = new Collection<TRef>();
|
||||
|
||||
@ -91,7 +92,7 @@ namespace UniversalEditor.UserInterface.Controls
|
||||
|
||||
tm = new DefaultTreeModel (new Type[] { typeof(string), typeof(string) });
|
||||
|
||||
lv = new ListView ();
|
||||
lv = new ListViewControl();
|
||||
lv.Model = tm;
|
||||
lv.Columns.Add (new ListViewColumnText (lv.Model.Columns [0], "Name"));
|
||||
lv.Columns.Add (new ListViewColumnText (lv.Model.Columns [1], "Description"));
|
||||
|
||||
@ -23,6 +23,7 @@ using System;
|
||||
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Dialogs
|
||||
{
|
||||
@ -33,7 +34,7 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
[ContainerLayout("~/Dialogs/AboutDialog.glade", "GtkDialog")]
|
||||
public class AboutDialog : Dialog
|
||||
{
|
||||
private ListView tvComponents;
|
||||
private ListViewControl tvComponents;
|
||||
private DefaultTreeModel tmComponents;
|
||||
|
||||
public AboutDialog()
|
||||
|
||||
@ -23,6 +23,7 @@ using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
using MBS.Framework.Drawing;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Dialogs
|
||||
{
|
||||
@ -33,7 +34,7 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
private Button cmdReset = null;
|
||||
private Button cmdNone = null;
|
||||
private TextBox txtSearch = null;
|
||||
private ListView lv = null;
|
||||
private ListViewControl lv = null;
|
||||
|
||||
private Container ctSearchAndShowAll = null;
|
||||
private DefaultTreeModel tm = null;
|
||||
@ -66,7 +67,7 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
|
||||
this.tm = new DefaultTreeModel(new Type[] { typeof(string), typeof(string) });
|
||||
|
||||
this.lv = new ListView();
|
||||
this.lv = new ListViewControl();
|
||||
lv.Columns.Add(new ListViewColumnText(tm.Columns[0], "Name"));
|
||||
lv.Columns.Add(new ListViewColumnText(tm.Columns[1], "Description"));
|
||||
lv.RowActivated += this.lv_RowActivated;
|
||||
|
||||
@ -24,6 +24,7 @@ using System.Collections.ObjectModel;
|
||||
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Input.Keyboard;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Dialogs
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Input.Keyboard;
|
||||
|
||||
@ -33,7 +34,7 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
[ContainerLayout("~/Dialogs/ManageBookmarksDialog.glade")]
|
||||
public class ManageBookmarksDialog : CustomDialog
|
||||
{
|
||||
private ListView tv;
|
||||
private ListViewControl tv;
|
||||
private DefaultTreeModel tm;
|
||||
private Button cmdOK;
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Dialogs
|
||||
@ -47,10 +48,10 @@ namespace UniversalEditor.UserInterface.Dialogs
|
||||
private CheckBox chkAddToSolution;
|
||||
private TextBox txtSolutionName;
|
||||
|
||||
private ListView tvObjectModel;
|
||||
private ListViewControl tvObjectModel;
|
||||
private DefaultTreeModel tmObjectModel;
|
||||
|
||||
private ListView tvTemplate;
|
||||
private ListViewControl tvTemplate;
|
||||
private DefaultTreeModel tmTemplate;
|
||||
private TextBox txtSearch;
|
||||
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
using System;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.UserInterface
|
||||
{
|
||||
@ -37,7 +38,7 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
get
|
||||
{
|
||||
ListView lv = ((MainWindow)HostApplication.CurrentWindow).DocumentExplorerPanel.ListView;
|
||||
ListViewControl lv = ((MainWindow)HostApplication.CurrentWindow).DocumentExplorerPanel.ListView;
|
||||
if (lv.SelectedRows.Count > 0)
|
||||
{
|
||||
return lv.SelectedRows[0].GetExtraData<EditorDocumentExplorerNode>("node");
|
||||
|
||||
@ -27,6 +27,7 @@ using MBS.Framework.Drawing;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.HexEditor;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
|
||||
@ -47,7 +48,7 @@ namespace UniversalEditor.Editors.Binary
|
||||
private TabContainer tabs = null;
|
||||
|
||||
private Toolbar tbFieldDefinitions;
|
||||
private ListView lvFieldDefinitions;
|
||||
private ListViewControl lvFieldDefinitions;
|
||||
private DefaultTreeModel tmFieldDefinitions;
|
||||
|
||||
private ComboBox cboEndianness;
|
||||
|
||||
@ -32,7 +32,7 @@ namespace UniversalEditor.Editors.Database.Views
|
||||
private TextBox txtName;
|
||||
private TextBox txtDescription;
|
||||
private Toolbar tbColumns;
|
||||
private ListView tvColumns;
|
||||
private MBS.Framework.UserInterface.Controls.ListView.ListViewControl tvColumns;
|
||||
|
||||
private DatabaseTable _Table = null;
|
||||
public DatabaseTable Table { get { return _Table; } set { _Table = value; Update(); } }
|
||||
|
||||
@ -22,6 +22,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using UniversalEditor.ObjectModels.Database;
|
||||
using UniversalEditor.UserInterface;
|
||||
@ -32,7 +33,7 @@ namespace UniversalEditor.Editors.Database.Views
|
||||
public class ScriptView : View
|
||||
{
|
||||
private SyntaxTextBox txtQuery;
|
||||
private ListView lvResults;
|
||||
private ListViewControl lvResults;
|
||||
|
||||
private string ScriptTable(DatabaseTable dt, ScriptTableMode mode)
|
||||
{
|
||||
|
||||
@ -27,7 +27,7 @@ using UniversalEditor.ObjectModels.FileSystem;
|
||||
using UniversalEditor.UserInterface;
|
||||
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.DragDrop;
|
||||
using MBS.Framework.UserInterface.Input.Keyboard;
|
||||
@ -38,7 +38,7 @@ namespace UniversalEditor.Editors.FileSystem
|
||||
[ContainerLayout("~/Editors/FileSystem/FileSystemEditor.glade")]
|
||||
public class FileSystemEditor : Editor
|
||||
{
|
||||
private ListView tv = null;
|
||||
private ListViewControl tv = null;
|
||||
private DefaultTreeModel tm = null;
|
||||
|
||||
internal void ClearSelectionContent(FileSystemSelection sel)
|
||||
|
||||
@ -23,6 +23,7 @@ using System;
|
||||
using System.Text;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
using UniversalEditor.ObjectModels.Markup;
|
||||
using UniversalEditor.UserInterface;
|
||||
@ -32,7 +33,7 @@ namespace UniversalEditor.Editors.Markup
|
||||
[ContainerLayout("~/Editors/Markup/MarkupEditor.glade")]
|
||||
public class MarkupEditor : Editor
|
||||
{
|
||||
private ListView tv;
|
||||
private ListViewControl tv;
|
||||
private DefaultTreeModel tm;
|
||||
private TextBox txtValue;
|
||||
private SplitContainer scAttributesValue;
|
||||
|
||||
@ -23,7 +23,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
using UniversalEditor.ObjectModels.PropertyList;
|
||||
using UniversalEditor.UserInterface;
|
||||
@ -33,7 +33,7 @@ namespace UniversalEditor.Editors.PropertyList
|
||||
[ContainerLayout("~/Editors/PropertyList/PropertyListEditor.glade")]
|
||||
public class PropertyListEditor : Editor
|
||||
{
|
||||
private ListView tv = null;
|
||||
private ListViewControl tv = null;
|
||||
private DefaultTreeModel tm = null;
|
||||
|
||||
private static EditorReference _er = null;
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
using System;
|
||||
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using UniversalEditor.ObjectModels.Chunked;
|
||||
using UniversalEditor.UserInterface;
|
||||
@ -33,7 +33,7 @@ namespace UniversalEditor.Editors.RIFF
|
||||
[ContainerLayout("~/Editors/RIFF/RIFFEditor.glade")]
|
||||
public class RIFFEditor : Editor
|
||||
{
|
||||
private ListView tv;
|
||||
private ListViewControl tv;
|
||||
private DefaultTreeModel tm;
|
||||
|
||||
public override void UpdateSelections()
|
||||
|
||||
@ -21,6 +21,7 @@ using MBS.Framework.Drawing;
|
||||
using UniversalEditor.UserInterface.Panels;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.Docking;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.UserInterface
|
||||
{
|
||||
@ -429,7 +430,7 @@ namespace UniversalEditor.UserInterface
|
||||
else
|
||||
{
|
||||
Control ctl = LastWindow.ActiveControl;
|
||||
if (ctl is ListView && ctl.Parent is SolutionExplorerPanel)
|
||||
if (ctl is ListViewControl && ctl.Parent is SolutionExplorerPanel)
|
||||
{
|
||||
(ctl.Parent as SolutionExplorerPanel).Delete();
|
||||
}
|
||||
|
||||
@ -1,21 +1,22 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Panels
|
||||
{
|
||||
public class DocumentExplorerPanel : Panel
|
||||
{
|
||||
private ListView lv = null;
|
||||
public ListView ListView { get { return lv; } }
|
||||
private ListViewControl lv = null;
|
||||
public ListViewControl ListView { get { return lv; } }
|
||||
|
||||
private DefaultTreeModel tm = null;
|
||||
|
||||
public DocumentExplorerPanel()
|
||||
{
|
||||
Layout = new BoxLayout(Orientation.Vertical);
|
||||
lv = new ListView();
|
||||
lv = new ListViewControl();
|
||||
lv.BeforeContextMenu += lv_BeforeContextMenu;
|
||||
lv.SelectionChanged += lv_SelectionChanged;
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Panels
|
||||
@ -28,7 +29,7 @@ namespace UniversalEditor.UserInterface.Panels
|
||||
public class ErrorListPanel : Panel
|
||||
{
|
||||
private Toolbar tbErrorList = new Toolbar();
|
||||
private ListView tvErrorList = new ListView();
|
||||
private ListViewControl tvErrorList = new ListViewControl();
|
||||
|
||||
private DefaultTreeModel tm = new DefaultTreeModel(new Type[] { typeof(int), typeof(string), typeof(string), typeof(string), typeof(string), typeof(string) });
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
|
||||
namespace UniversalEditor.UserInterface.Panels
|
||||
@ -29,7 +30,7 @@ namespace UniversalEditor.UserInterface.Panels
|
||||
{
|
||||
private ComboBox cboObject = null;
|
||||
private SplitContainer scPropertiesDescription = null;
|
||||
private ListView lvPropertyGrid = null;
|
||||
private ListViewControl lvPropertyGrid = null;
|
||||
private TextBox txtCommands = null;
|
||||
private TextBox txtDescription = null;
|
||||
private DefaultTreeModel tmPropertyGrid = null;
|
||||
@ -56,7 +57,7 @@ namespace UniversalEditor.UserInterface.Panels
|
||||
|
||||
tmPropertyGrid = new DefaultTreeModel(new Type[] { typeof(string), typeof(string) });
|
||||
|
||||
lvPropertyGrid = new ListView();
|
||||
lvPropertyGrid = new ListViewControl();
|
||||
lvPropertyGrid.SelectionChanged += lvPropertyGrid_SelectionChanged; ;
|
||||
lvPropertyGrid.Model = tmPropertyGrid;
|
||||
lvPropertyGrid.Columns.Add(new ListViewColumnText(tmPropertyGrid.Columns[0], "Name"));
|
||||
|
||||
@ -22,6 +22,7 @@ using System;
|
||||
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
using UniversalEditor.ObjectModels.Project;
|
||||
@ -32,7 +33,7 @@ namespace UniversalEditor.UserInterface.Panels
|
||||
public class SolutionExplorerPanel : Panel
|
||||
{
|
||||
private DefaultTreeModel tmSolutionExplorer = null;
|
||||
private ListView tvSolutionExplorer = new ListView();
|
||||
private ListViewControl tvSolutionExplorer = new ListViewControl();
|
||||
|
||||
private SolutionObjectModel _Solution = null;
|
||||
public SolutionObjectModel Solution
|
||||
|
||||
@ -27,6 +27,7 @@ using MBS.Framework.UserInterface.Layouts;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.Drawing;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.Editors.Contact
|
||||
{
|
||||
@ -49,7 +50,7 @@ namespace UniversalEditor.Editors.Contact
|
||||
|
||||
private DefaultTreeModel tmAddresses;
|
||||
|
||||
private ListView lvPhysicalAddresses;
|
||||
private ListViewControl lvPhysicalAddresses;
|
||||
private Container ct;
|
||||
private Container ctName;
|
||||
|
||||
@ -145,7 +146,7 @@ namespace UniversalEditor.Editors.Contact
|
||||
|
||||
tmAddresses = new DefaultTreeModel(new Type[] { typeof(string) });
|
||||
|
||||
lvPhysicalAddresses = new ListView();
|
||||
lvPhysicalAddresses = new ListViewControl();
|
||||
lvPhysicalAddresses.Columns.Add(new ListViewColumnText(tmAddresses.Columns[0], "Address"));
|
||||
lvPhysicalAddresses.Model = tmAddresses;
|
||||
ct.Controls.Add(lvPhysicalAddresses, new BoxLayout.Constraints(true, true));
|
||||
@ -164,7 +165,7 @@ namespace UniversalEditor.Editors.Contact
|
||||
|
||||
tmAddresses = new DefaultTreeModel(new Type[] { typeof(string) });
|
||||
|
||||
ListView lvAddresses = new ListView();
|
||||
ListViewControl lvAddresses = new ListViewControl();
|
||||
lvAddresses.Columns.Add(new ListViewColumnText(tmAddresses.Columns[0], "Address"));
|
||||
ct.Controls.Add(lvAddresses, new BoxLayout.Constraints(true, true));
|
||||
|
||||
@ -182,7 +183,7 @@ namespace UniversalEditor.Editors.Contact
|
||||
|
||||
tmAddresses = new DefaultTreeModel(new Type[] { typeof(string) });
|
||||
|
||||
ListView lvAddresses = new ListView();
|
||||
ListViewControl lvAddresses = new ListViewControl();
|
||||
lvAddresses.Columns.Add(new ListViewColumnText(tmAddresses.Columns[0], "Address"));
|
||||
ct.Controls.Add(lvAddresses, new BoxLayout.Constraints(true, true));
|
||||
|
||||
|
||||
@ -41,6 +41,12 @@ namespace UniversalEditor.Plugins.Designer.UserInterface.Editors.Designer.Contro
|
||||
private Design _SelectedDesign = null;
|
||||
public Design SelectedDesign { get { return _SelectedDesign; } set { _SelectedDesign = value; Refresh(); } }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a collection of <see cref="Library" /> instances representing the libraries to load into this <see cref="DesignerControl" />.
|
||||
/// </summary>
|
||||
/// <value>The libraries.</value>
|
||||
public Library.LibraryCollection Libraries { get; } = new Library.LibraryCollection();
|
||||
|
||||
public ComponentInstance.ComponentInstanceCollection SelectedComponents { get; } = new ComponentInstance.ComponentInstanceCollection();
|
||||
|
||||
private int margin_x = 13, margin_y = 13, margin_r = 13, margin_b = 13;
|
||||
|
||||
@ -27,6 +27,7 @@ using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Input.Mouse;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
|
||||
namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
|
||||
{
|
||||
@ -55,7 +56,7 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
private ListView tvSections = null;
|
||||
private ListViewControl tvSections = null;
|
||||
private DefaultTreeModel tmSections = null;
|
||||
private TabContainer tbs = null;
|
||||
|
||||
@ -72,7 +73,7 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
|
||||
this.Layout = new BoxLayout(Orientation.Vertical);
|
||||
|
||||
tmSections = new DefaultTreeModel(new Type[] { typeof(string), typeof(string), typeof(string), typeof(string) });
|
||||
tvSections = new ListView();
|
||||
tvSections = new ListViewControl();
|
||||
tvSections.Model = tmSections;
|
||||
|
||||
tvSections.Columns.Add(new ListViewColumnText(tmSections.Columns[0], "Name"));
|
||||
@ -122,7 +123,7 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
|
||||
|
||||
tmOtherInformation = new DefaultTreeModel(new Type[] { typeof(string), typeof(string) });
|
||||
|
||||
ListView lvOtherInformation = new ListView();
|
||||
ListViewControl lvOtherInformation = new ListViewControl();
|
||||
lvOtherInformation.Model = tmOtherInformation;
|
||||
lvOtherInformation.Columns.Add(new ListViewColumnText(tmOtherInformation.Columns[0], "Name"));
|
||||
lvOtherInformation.Columns.Add(new ListViewColumnText(tmOtherInformation.Columns[1], "Value"));
|
||||
|
||||
@ -24,6 +24,7 @@ using System.Reflection;
|
||||
using System.Text;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
|
||||
@ -35,7 +36,7 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
|
||||
public class ManagedAssemblyPanel : Container
|
||||
{
|
||||
private TextBox txtSearch = null;
|
||||
private ListView tvTypes = null;
|
||||
private ListViewControl tvTypes = null;
|
||||
private DefaultTreeModel tmTypes = null;
|
||||
private TextBox txtSource = null;
|
||||
|
||||
@ -252,7 +253,7 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
|
||||
scLeftRight.Panel1.Layout = new BoxLayout(Orientation.Vertical);
|
||||
scLeftRight.Panel1.Controls.Add(txtSearch, new BoxLayout.Constraints(false, true));
|
||||
|
||||
tvTypes = new ListView();
|
||||
tvTypes = new ListViewControl();
|
||||
tvTypes.SelectionChanged += tvTypes_SelectionChanged;
|
||||
|
||||
tmTypes = new DefaultTreeModel(new Type[] { typeof(string), typeof(string) });
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
using UniversalEditor.ObjectModels.Multimedia.Audio.Voicebank;
|
||||
@ -35,7 +36,7 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Au
|
||||
public class VoicebankEditor : Editor
|
||||
{
|
||||
private DefaultTreeModel tmSamples = null;
|
||||
private ListView lvSamples = null;
|
||||
private ListViewControl lvSamples = null;
|
||||
|
||||
public VoicebankEditor()
|
||||
{
|
||||
@ -43,7 +44,7 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Au
|
||||
|
||||
tmSamples = new DefaultTreeModel(new Type[] { typeof(string), typeof(string), typeof(string), typeof(string) });
|
||||
|
||||
lvSamples = new ListView();
|
||||
lvSamples = new ListViewControl();
|
||||
lvSamples.SelectionMode = SelectionMode.Multiple;
|
||||
lvSamples.BeforeContextMenu += lvSamples_BeforeContextMenu;
|
||||
lvSamples.Columns.Add(new ListViewColumnText(tmSamples.Columns[0], "Name"));
|
||||
|
||||
@ -23,6 +23,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using UniversalEditor.ObjectModels.Multimedia.Picture.Collection;
|
||||
|
||||
@ -33,7 +34,7 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Pi
|
||||
{
|
||||
private TextBox txtAnimationName;
|
||||
private Toolbar tbAnimationFrames;
|
||||
private ListView tvAnimationFrames;
|
||||
private ListViewControl tvAnimationFrames;
|
||||
private DefaultTreeModel tmAnimationFrames;
|
||||
|
||||
private Button cmdOK;
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
using UniversalEditor.Accessors;
|
||||
@ -52,7 +53,7 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Pi
|
||||
|
||||
private Toolbar tbAnimations;
|
||||
|
||||
private ListView tvAnimations;
|
||||
private ListViewControl tvAnimations;
|
||||
private DefaultTreeModel tmAnimations;
|
||||
|
||||
private static EditorReference _er = null;
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using UniversalEditor.UserInterface;
|
||||
|
||||
namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Playlist
|
||||
@ -29,7 +30,7 @@ namespace UniversalEditor.Plugins.Multimedia.UserInterface.Editors.Multimedia.Pl
|
||||
[ContainerLayout("~/Editors/Multimedia/Playlist/PlaylistEditor.glade", "GtkWindow")]
|
||||
partial class PlaylistEditor : Editor
|
||||
{
|
||||
private ListView lvPlaylist = null;
|
||||
private ListViewControl lvPlaylist = null;
|
||||
private DefaultTreeModel tmPlaylist = null;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Layouts;
|
||||
|
||||
namespace UniversalEditor.Plugins.RavenSoftware.UserInterface.Editors.Icarus
|
||||
@ -40,7 +41,7 @@ namespace UniversalEditor.Plugins.RavenSoftware.UserInterface.Editors.Icarus
|
||||
|
||||
this.tm = new DefaultTreeModel(new Type[] { typeof(string) });
|
||||
|
||||
this.tv = new ListView();
|
||||
this.tv = new ListViewControl();
|
||||
this.tv.ContextMenuCommandID = "Icarus_ContextMenu";
|
||||
this.tv.Model = this.tm;
|
||||
this.tv.Columns.Add(new ListViewColumnText(this.tm.Columns[0], "Command"));
|
||||
@ -49,6 +50,6 @@ namespace UniversalEditor.Plugins.RavenSoftware.UserInterface.Editors.Icarus
|
||||
}
|
||||
|
||||
private DefaultTreeModel tm;
|
||||
private ListView tv;
|
||||
private ListViewControl tv;
|
||||
}
|
||||
}
|
||||
|
||||
@ -26,6 +26,7 @@ using System.Text;
|
||||
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
|
||||
using UniversalEditor.ObjectModels.Icarus;
|
||||
|
||||
@ -22,6 +22,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using UniversalEditor.ObjectModels.Setup.Microsoft.ACME.BootstrapScript;
|
||||
using UniversalEditor.UserInterface;
|
||||
@ -32,9 +33,9 @@ namespace UniversalEditor.Plugins.Setup.UserInterface
|
||||
[ContainerLayout("~/Editors/Setup/BootstrapScript/BootstrapScriptEditor.glade")]
|
||||
public class BootstrapScriptEditor : Editor
|
||||
{
|
||||
private ListView tvPlatforms;
|
||||
private ListView tvParameters;
|
||||
private ListView tvFiles;
|
||||
private ListViewControl tvPlatforms;
|
||||
private ListViewControl tvParameters;
|
||||
private ListViewControl tvFiles;
|
||||
|
||||
private Toolbar tbPlatforms;
|
||||
private Toolbar tbParameters;
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
using System;
|
||||
using MBS.Framework.UserInterface;
|
||||
using MBS.Framework.UserInterface.Controls;
|
||||
using MBS.Framework.UserInterface.Controls.ListView;
|
||||
using MBS.Framework.UserInterface.Dialogs;
|
||||
using UniversalEditor.ObjectModels.UnrealEngine;
|
||||
using UniversalEditor.Plugins.UnrealEngine.UserInterface.Dialogs.Unreal.Package;
|
||||
@ -35,8 +36,8 @@ namespace UniversalEditor.Plugins.UnrealEngine.UserInterface.Editors.Unreal.Pack
|
||||
[ContainerLayout("~/Editors/Unreal/Package/UnrealPackageEditor.glade")]
|
||||
public class UnrealPackageEditor : Editor
|
||||
{
|
||||
private ListView tvImports;
|
||||
private ListView tvExports;
|
||||
private ListViewControl tvImports;
|
||||
private ListViewControl tvExports;
|
||||
|
||||
private static EditorReference _er = null;
|
||||
public override EditorReference MakeReference()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user