Various updates to Unreal Engine editor

This commit is contained in:
Michael Becker 2014-07-18 16:36:55 -04:00
parent 6ff31faf04
commit dd1d95f2b2
6 changed files with 610 additions and 63 deletions

View File

@ -0,0 +1,356 @@
namespace UniversalEditor.Dialogs.UnrealEngine
{
partial class ExportTableEntryPropertiesDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.lblObjectName = new System.Windows.Forms.Label();
this.txtObjectName = new System.Windows.Forms.TextBox();
this.lblParentObjectName = new System.Windows.Forms.Label();
this.cboParentObjectName = new System.Windows.Forms.ComboBox();
this.lblClassName = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.fraFlags = new System.Windows.Forms.GroupBox();
this.cmdBrowse = new System.Windows.Forms.Button();
this.lblSourceData = new System.Windows.Forms.Label();
this.txtSourceData = new System.Windows.Forms.TextBox();
this.cmdCancel = new System.Windows.Forms.Button();
this.cmdOK = new System.Windows.Forms.Button();
this.chkTransactional = new System.Windows.Forms.CheckBox();
this.chkUnreachable = new System.Windows.Forms.CheckBox();
this.chkPublic = new System.Windows.Forms.CheckBox();
this.chkImporting = new System.Windows.Forms.CheckBox();
this.chkExporting = new System.Windows.Forms.CheckBox();
this.chkSourceModified = new System.Windows.Forms.CheckBox();
this.chkGarbageCollect = new System.Windows.Forms.CheckBox();
this.chkRequireLoad = new System.Windows.Forms.CheckBox();
this.chkHighlightName = new System.Windows.Forms.CheckBox();
this.chkRemappedName = new System.Windows.Forms.CheckBox();
this.chkSuppressed = new System.Windows.Forms.CheckBox();
this.fraFlags.SuspendLayout();
this.SuspendLayout();
//
// lblObjectName
//
this.lblObjectName.AutoSize = true;
this.lblObjectName.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.lblObjectName.Location = new System.Drawing.Point(12, 15);
this.lblObjectName.Name = "lblObjectName";
this.lblObjectName.Size = new System.Drawing.Size(70, 13);
this.lblObjectName.TabIndex = 0;
this.lblObjectName.Text = "Object &name:";
//
// txtObjectName
//
this.txtObjectName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtObjectName.Location = new System.Drawing.Point(120, 12);
this.txtObjectName.Name = "txtObjectName";
this.txtObjectName.Size = new System.Drawing.Size(260, 20);
this.txtObjectName.TabIndex = 1;
//
// lblParentObjectName
//
this.lblParentObjectName.AutoSize = true;
this.lblParentObjectName.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.lblParentObjectName.Location = new System.Drawing.Point(12, 41);
this.lblParentObjectName.Name = "lblParentObjectName";
this.lblParentObjectName.Size = new System.Drawing.Size(102, 13);
this.lblParentObjectName.TabIndex = 2;
this.lblParentObjectName.Text = "&Parent object name:";
//
// cboParentObjectName
//
this.cboParentObjectName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cboParentObjectName.FormattingEnabled = true;
this.cboParentObjectName.Location = new System.Drawing.Point(120, 38);
this.cboParentObjectName.Name = "cboParentObjectName";
this.cboParentObjectName.Size = new System.Drawing.Size(260, 21);
this.cboParentObjectName.TabIndex = 3;
//
// lblClassName
//
this.lblClassName.AutoSize = true;
this.lblClassName.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.lblClassName.Location = new System.Drawing.Point(12, 68);
this.lblClassName.Name = "lblClassName";
this.lblClassName.Size = new System.Drawing.Size(64, 13);
this.lblClassName.TabIndex = 4;
this.lblClassName.Text = "&Class name:";
//
// comboBox1
//
this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(120, 65);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(260, 21);
this.comboBox1.TabIndex = 5;
//
// fraFlags
//
this.fraFlags.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.fraFlags.Controls.Add(this.chkSuppressed);
this.fraFlags.Controls.Add(this.chkRemappedName);
this.fraFlags.Controls.Add(this.chkHighlightName);
this.fraFlags.Controls.Add(this.chkRequireLoad);
this.fraFlags.Controls.Add(this.chkExporting);
this.fraFlags.Controls.Add(this.chkImporting);
this.fraFlags.Controls.Add(this.chkGarbageCollect);
this.fraFlags.Controls.Add(this.chkSourceModified);
this.fraFlags.Controls.Add(this.chkPublic);
this.fraFlags.Controls.Add(this.chkUnreachable);
this.fraFlags.Controls.Add(this.chkTransactional);
this.fraFlags.Location = new System.Drawing.Point(12, 121);
this.fraFlags.Name = "fraFlags";
this.fraFlags.Size = new System.Drawing.Size(368, 188);
this.fraFlags.TabIndex = 9;
this.fraFlags.TabStop = false;
this.fraFlags.Text = "Flags";
//
// cmdBrowse
//
this.cmdBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cmdBrowse.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdBrowse.Location = new System.Drawing.Point(305, 92);
this.cmdBrowse.Name = "cmdBrowse";
this.cmdBrowse.Size = new System.Drawing.Size(75, 23);
this.cmdBrowse.TabIndex = 8;
this.cmdBrowse.Text = "&Browse...";
this.cmdBrowse.UseVisualStyleBackColor = true;
//
// lblSourceData
//
this.lblSourceData.AutoSize = true;
this.lblSourceData.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.lblSourceData.Location = new System.Drawing.Point(12, 97);
this.lblSourceData.Name = "lblSourceData";
this.lblSourceData.Size = new System.Drawing.Size(68, 13);
this.lblSourceData.TabIndex = 6;
this.lblSourceData.Text = "Source data:";
//
// txtSourceData
//
this.txtSourceData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtSourceData.Location = new System.Drawing.Point(120, 94);
this.txtSourceData.Name = "txtSourceData";
this.txtSourceData.ReadOnly = true;
this.txtSourceData.Size = new System.Drawing.Size(179, 20);
this.txtSourceData.TabIndex = 7;
this.txtSourceData.Text = "(0 bytes)";
//
// cmdCancel
//
this.cmdCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdCancel.Location = new System.Drawing.Point(305, 315);
this.cmdCancel.Name = "cmdCancel";
this.cmdCancel.Size = new System.Drawing.Size(75, 23);
this.cmdCancel.TabIndex = 11;
this.cmdCancel.Text = "Cancel";
this.cmdCancel.UseVisualStyleBackColor = true;
//
// cmdOK
//
this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.cmdOK.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdOK.Location = new System.Drawing.Point(224, 315);
this.cmdOK.Name = "cmdOK";
this.cmdOK.Size = new System.Drawing.Size(75, 23);
this.cmdOK.TabIndex = 10;
this.cmdOK.Text = "&OK";
this.cmdOK.UseVisualStyleBackColor = true;
//
// chkTransactional
//
this.chkTransactional.AutoSize = true;
this.chkTransactional.Location = new System.Drawing.Point(22, 19);
this.chkTransactional.Name = "chkTransactional";
this.chkTransactional.Size = new System.Drawing.Size(90, 17);
this.chkTransactional.TabIndex = 0;
this.chkTransactional.Text = "&Transactional";
this.chkTransactional.UseVisualStyleBackColor = true;
//
// chkUnreachable
//
this.chkUnreachable.AutoSize = true;
this.chkUnreachable.Location = new System.Drawing.Point(22, 42);
this.chkUnreachable.Name = "chkUnreachable";
this.chkUnreachable.Size = new System.Drawing.Size(87, 17);
this.chkUnreachable.TabIndex = 0;
this.chkUnreachable.Text = "Un&reachable";
this.chkUnreachable.UseVisualStyleBackColor = true;
//
// chkPublic
//
this.chkPublic.AutoSize = true;
this.chkPublic.Location = new System.Drawing.Point(22, 65);
this.chkPublic.Name = "chkPublic";
this.chkPublic.Size = new System.Drawing.Size(55, 17);
this.chkPublic.TabIndex = 0;
this.chkPublic.Text = "P&ublic";
this.chkPublic.UseVisualStyleBackColor = true;
//
// chkImporting
//
this.chkImporting.AutoSize = true;
this.chkImporting.Location = new System.Drawing.Point(142, 19);
this.chkImporting.Name = "chkImporting";
this.chkImporting.Size = new System.Drawing.Size(69, 17);
this.chkImporting.TabIndex = 0;
this.chkImporting.Text = "&Importing";
this.chkImporting.UseVisualStyleBackColor = true;
//
// chkExporting
//
this.chkExporting.AutoSize = true;
this.chkExporting.Location = new System.Drawing.Point(142, 42);
this.chkExporting.Name = "chkExporting";
this.chkExporting.Size = new System.Drawing.Size(70, 17);
this.chkExporting.TabIndex = 0;
this.chkExporting.Text = "&Exporting";
this.chkExporting.UseVisualStyleBackColor = true;
//
// chkSourceModified
//
this.chkSourceModified.AutoSize = true;
this.chkSourceModified.Location = new System.Drawing.Point(22, 88);
this.chkSourceModified.Name = "chkSourceModified";
this.chkSourceModified.Size = new System.Drawing.Size(102, 17);
this.chkSourceModified.TabIndex = 0;
this.chkSourceModified.Text = "Source &modified";
this.chkSourceModified.UseVisualStyleBackColor = true;
//
// chkGarbageCollect
//
this.chkGarbageCollect.AutoSize = true;
this.chkGarbageCollect.Location = new System.Drawing.Point(22, 111);
this.chkGarbageCollect.Name = "chkGarbageCollect";
this.chkGarbageCollect.Size = new System.Drawing.Size(101, 17);
this.chkGarbageCollect.TabIndex = 0;
this.chkGarbageCollect.Text = "Gar&bage collect";
this.chkGarbageCollect.UseVisualStyleBackColor = true;
//
// chkRequireLoad
//
this.chkRequireLoad.AutoSize = true;
this.chkRequireLoad.Location = new System.Drawing.Point(142, 65);
this.chkRequireLoad.Name = "chkRequireLoad";
this.chkRequireLoad.Size = new System.Drawing.Size(86, 17);
this.chkRequireLoad.TabIndex = 0;
this.chkRequireLoad.Text = "Re&quire load";
this.chkRequireLoad.UseVisualStyleBackColor = true;
//
// chkHighlightName
//
this.chkHighlightName.AutoSize = true;
this.chkHighlightName.Location = new System.Drawing.Point(142, 88);
this.chkHighlightName.Name = "chkHighlightName";
this.chkHighlightName.Size = new System.Drawing.Size(174, 17);
this.chkHighlightName.TabIndex = 0;
this.chkHighlightName.Text = "&Highlight name/eliminate object";
this.chkHighlightName.UseVisualStyleBackColor = true;
//
// chkRemappedName
//
this.chkRemappedName.AutoSize = true;
this.chkRemappedName.Location = new System.Drawing.Point(142, 111);
this.chkRemappedName.Name = "chkRemappedName";
this.chkRemappedName.Size = new System.Drawing.Size(189, 17);
this.chkRemappedName.TabIndex = 0;
this.chkRemappedName.Text = "Remappe&d name/singular function";
this.chkRemappedName.UseVisualStyleBackColor = true;
//
// chkSuppressed
//
this.chkSuppressed.AutoSize = true;
this.chkSuppressed.Location = new System.Drawing.Point(142, 134);
this.chkSuppressed.Name = "chkSuppressed";
this.chkSuppressed.Size = new System.Drawing.Size(155, 17);
this.chkSuppressed.TabIndex = 0;
this.chkSuppressed.Text = "&Suppressed/state changed";
this.chkSuppressed.UseVisualStyleBackColor = true;
//
// ExportTableEntryPropertiesDialog
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(392, 350);
this.Controls.Add(this.cmdOK);
this.Controls.Add(this.cmdCancel);
this.Controls.Add(this.lblSourceData);
this.Controls.Add(this.cmdBrowse);
this.Controls.Add(this.fraFlags);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.cboParentObjectName);
this.Controls.Add(this.lblClassName);
this.Controls.Add(this.txtSourceData);
this.Controls.Add(this.txtObjectName);
this.Controls.Add(this.lblParentObjectName);
this.Controls.Add(this.lblObjectName);
this.MinimumSize = new System.Drawing.Size(400, 272);
this.Name = "ExportTableEntryPropertiesDialog";
this.Text = "Export Table Entry Properties";
this.fraFlags.ResumeLayout(false);
this.fraFlags.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label lblObjectName;
private System.Windows.Forms.Label lblParentObjectName;
private System.Windows.Forms.Label lblClassName;
private System.Windows.Forms.GroupBox fraFlags;
private System.Windows.Forms.Button cmdBrowse;
private System.Windows.Forms.Label lblSourceData;
private System.Windows.Forms.Button cmdCancel;
private System.Windows.Forms.Button cmdOK;
internal System.Windows.Forms.TextBox txtObjectName;
internal System.Windows.Forms.ComboBox cboParentObjectName;
internal System.Windows.Forms.ComboBox comboBox1;
internal System.Windows.Forms.TextBox txtSourceData;
private System.Windows.Forms.CheckBox chkTransactional;
private System.Windows.Forms.CheckBox chkUnreachable;
private System.Windows.Forms.CheckBox chkPublic;
private System.Windows.Forms.CheckBox chkExporting;
private System.Windows.Forms.CheckBox chkImporting;
private System.Windows.Forms.CheckBox chkSourceModified;
private System.Windows.Forms.CheckBox chkGarbageCollect;
private System.Windows.Forms.CheckBox chkRequireLoad;
private System.Windows.Forms.CheckBox chkHighlightName;
private System.Windows.Forms.CheckBox chkRemappedName;
private System.Windows.Forms.CheckBox chkSuppressed;
}
}

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace UniversalEditor.Dialogs.UnrealEngine
{
public partial class ExportTableEntryPropertiesDialog : Form
{
public ExportTableEntryPropertiesDialog()
{
InitializeComponent();
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -32,10 +32,10 @@
this.tv = new System.Windows.Forms.TreeView();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.pnlExportTable = new System.Windows.Forms.Panel();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.cmdExportTableEntryClear = new System.Windows.Forms.Button();
this.cmdExportTableEntryRemove = new System.Windows.Forms.Button();
this.cmdExportTableEntryModify = new System.Windows.Forms.Button();
this.cmdExportTableEntryAdd = new System.Windows.Forms.Button();
this.lvExportTable = new System.Windows.Forms.ListView();
this.chExportObjectName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chExportObjectParent = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@ -43,6 +43,8 @@
this.chExportObjectFlags = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chExportObjectOffset = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chExportObjectSize = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.mnuContextExportTable = new AwesomeControls.CommandBars.CBContextMenu(this.components);
this.mnuExportTableCopyTo = new System.Windows.Forms.ToolStripMenuItem();
this.pnlHeritageTable = new System.Windows.Forms.Panel();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
@ -67,16 +69,14 @@
this.lvNameTable = new System.Windows.Forms.ListView();
this.chName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chFlags = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.mnuContextExportTable = new AwesomeControls.CommandBars.CBContextMenu(this.components);
this.mnuExportTableCopyTo = new System.Windows.Forms.ToolStripMenuItem();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.pnlExportTable.SuspendLayout();
this.mnuContextExportTable.SuspendLayout();
this.pnlHeritageTable.SuspendLayout();
this.pnlImportTable.SuspendLayout();
this.pnlNameTable.SuspendLayout();
this.mnuContextExportTable.SuspendLayout();
this.SuspendLayout();
//
// tv
@ -113,10 +113,10 @@
//
// pnlExportTable
//
this.pnlExportTable.Controls.Add(this.button5);
this.pnlExportTable.Controls.Add(this.button6);
this.pnlExportTable.Controls.Add(this.button7);
this.pnlExportTable.Controls.Add(this.button8);
this.pnlExportTable.Controls.Add(this.cmdExportTableEntryClear);
this.pnlExportTable.Controls.Add(this.cmdExportTableEntryRemove);
this.pnlExportTable.Controls.Add(this.cmdExportTableEntryModify);
this.pnlExportTable.Controls.Add(this.cmdExportTableEntryAdd);
this.pnlExportTable.Controls.Add(this.lvExportTable);
this.pnlExportTable.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlExportTable.Enabled = false;
@ -126,46 +126,53 @@
this.pnlExportTable.TabIndex = 2;
this.pnlExportTable.Visible = false;
//
// button5
// cmdExportTableEntryClear
//
this.button5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.button5.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.button5.Location = new System.Drawing.Point(306, 3);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 23);
this.button5.TabIndex = 1;
this.button5.Text = "&Clear";
this.button5.UseVisualStyleBackColor = true;
this.cmdExportTableEntryClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.cmdExportTableEntryClear.Enabled = false;
this.cmdExportTableEntryClear.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdExportTableEntryClear.Location = new System.Drawing.Point(306, 3);
this.cmdExportTableEntryClear.Name = "cmdExportTableEntryClear";
this.cmdExportTableEntryClear.Size = new System.Drawing.Size(75, 23);
this.cmdExportTableEntryClear.TabIndex = 1;
this.cmdExportTableEntryClear.Text = "&Clear";
this.cmdExportTableEntryClear.UseVisualStyleBackColor = true;
this.cmdExportTableEntryClear.Click += new System.EventHandler(this.cmdExportTableEntryClear_Click);
//
// button6
// cmdExportTableEntryRemove
//
this.button6.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.button6.Location = new System.Drawing.Point(165, 3);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 23);
this.button6.TabIndex = 1;
this.button6.Text = "&Remove...";
this.button6.UseVisualStyleBackColor = true;
this.cmdExportTableEntryRemove.Enabled = false;
this.cmdExportTableEntryRemove.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdExportTableEntryRemove.Location = new System.Drawing.Point(165, 3);
this.cmdExportTableEntryRemove.Name = "cmdExportTableEntryRemove";
this.cmdExportTableEntryRemove.Size = new System.Drawing.Size(75, 23);
this.cmdExportTableEntryRemove.TabIndex = 1;
this.cmdExportTableEntryRemove.Text = "&Remove...";
this.cmdExportTableEntryRemove.UseVisualStyleBackColor = true;
this.cmdExportTableEntryRemove.Click += new System.EventHandler(this.cmdExportTableEntryRemove_Click);
//
// button7
// cmdExportTableEntryModify
//
this.button7.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.button7.Location = new System.Drawing.Point(84, 3);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 23);
this.button7.TabIndex = 1;
this.button7.Text = "&Modify...";
this.button7.UseVisualStyleBackColor = true;
this.cmdExportTableEntryModify.Enabled = false;
this.cmdExportTableEntryModify.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdExportTableEntryModify.Location = new System.Drawing.Point(84, 3);
this.cmdExportTableEntryModify.Name = "cmdExportTableEntryModify";
this.cmdExportTableEntryModify.Size = new System.Drawing.Size(75, 23);
this.cmdExportTableEntryModify.TabIndex = 1;
this.cmdExportTableEntryModify.Text = "&Modify...";
this.cmdExportTableEntryModify.UseVisualStyleBackColor = true;
this.cmdExportTableEntryModify.Click += new System.EventHandler(this.cmdExportTableEntryModify_Click);
//
// button8
// cmdExportTableEntryAdd
//
this.button8.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.button8.Location = new System.Drawing.Point(3, 3);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(75, 23);
this.button8.TabIndex = 1;
this.button8.Text = "&Add...";
this.button8.UseVisualStyleBackColor = true;
this.cmdExportTableEntryAdd.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmdExportTableEntryAdd.Location = new System.Drawing.Point(3, 3);
this.cmdExportTableEntryAdd.Name = "cmdExportTableEntryAdd";
this.cmdExportTableEntryAdd.Size = new System.Drawing.Size(75, 23);
this.cmdExportTableEntryAdd.TabIndex = 1;
this.cmdExportTableEntryAdd.Text = "&Add...";
this.cmdExportTableEntryAdd.UseVisualStyleBackColor = true;
this.cmdExportTableEntryAdd.Click += new System.EventHandler(this.cmdExportTableEntryAdd_Click);
//
// lvExportTable
//
@ -190,6 +197,7 @@
this.lvExportTable.UseCompatibleStateImageBehavior = false;
this.lvExportTable.View = System.Windows.Forms.View.Details;
this.lvExportTable.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.lvExportTable_ItemDrag);
this.lvExportTable.SelectedIndexChanged += new System.EventHandler(this.lvExportTable_SelectedIndexChanged);
//
// chExportObjectName
//
@ -220,6 +228,20 @@
//
this.chExportObjectSize.Text = "Size";
//
// mnuContextExportTable
//
this.mnuContextExportTable.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuExportTableCopyTo});
this.mnuContextExportTable.Name = "mnuContextExportTable";
this.mnuContextExportTable.Size = new System.Drawing.Size(127, 26);
//
// mnuExportTableCopyTo
//
this.mnuExportTableCopyTo.Name = "mnuExportTableCopyTo";
this.mnuExportTableCopyTo.Size = new System.Drawing.Size(126, 22);
this.mnuExportTableCopyTo.Text = "&Copy To...";
this.mnuExportTableCopyTo.Click += new System.EventHandler(this.mnuExportTableCopyTo_Click);
//
// pnlHeritageTable
//
this.pnlHeritageTable.Controls.Add(this.button9);
@ -472,20 +494,6 @@
this.chFlags.Text = "Flags";
this.chFlags.Width = 134;
//
// mnuContextExportTable
//
this.mnuContextExportTable.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuExportTableCopyTo});
this.mnuContextExportTable.Name = "mnuContextExportTable";
this.mnuContextExportTable.Size = new System.Drawing.Size(153, 48);
//
// mnuExportTableCopyTo
//
this.mnuExportTableCopyTo.Name = "mnuExportTableCopyTo";
this.mnuExportTableCopyTo.Size = new System.Drawing.Size(152, 22);
this.mnuExportTableCopyTo.Text = "&Copy To...";
this.mnuExportTableCopyTo.Click += new System.EventHandler(this.mnuExportTableCopyTo_Click);
//
// UnrealPackageEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -497,10 +505,10 @@
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.pnlExportTable.ResumeLayout(false);
this.mnuContextExportTable.ResumeLayout(false);
this.pnlHeritageTable.ResumeLayout(false);
this.pnlImportTable.ResumeLayout(false);
this.pnlNameTable.ResumeLayout(false);
this.mnuContextExportTable.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -527,10 +535,10 @@
private System.Windows.Forms.ColumnHeader chImportObjectName;
private System.Windows.Forms.ColumnHeader chImportClassName;
private System.Windows.Forms.Panel pnlExportTable;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button cmdExportTableEntryClear;
private System.Windows.Forms.Button cmdExportTableEntryRemove;
private System.Windows.Forms.Button cmdExportTableEntryModify;
private System.Windows.Forms.Button cmdExportTableEntryAdd;
private System.Windows.Forms.ListView lvExportTable;
private System.Windows.Forms.ColumnHeader chExportObjectParent;
private System.Windows.Forms.ColumnHeader chExportObjectClass;

View File

@ -5,6 +5,7 @@ using System.Drawing;
using System.Text;
using System.Windows.Forms;
using UniversalEditor.Accessors;
using UniversalEditor.Dialogs.UnrealEngine;
using UniversalEditor.ObjectModels.UnrealEngine;
using UniversalEditor.UserInterface.WindowsForms;
@ -274,5 +275,41 @@ namespace UniversalEditor.Editors.UnrealEngine
}
}
}
private void cmdExportTableEntryAdd_Click(object sender, EventArgs e)
{
ExportTableEntryPropertiesDialog dlg = new ExportTableEntryPropertiesDialog();
if (dlg.ShowDialog() == DialogResult.OK)
{
}
}
private void cmdExportTableEntryModify_Click(object sender, EventArgs e)
{
if (lvExportTable.SelectedItems.Count == 1)
{
ExportTableEntryPropertiesDialog dlg = new ExportTableEntryPropertiesDialog();
if (dlg.ShowDialog() == DialogResult.OK)
{
}
}
}
private void cmdExportTableEntryRemove_Click(object sender, EventArgs e)
{
}
private void cmdExportTableEntryClear_Click(object sender, EventArgs e)
{
}
private void lvExportTable_SelectedIndexChanged(object sender, EventArgs e)
{
cmdExportTableEntryModify.Enabled = (lvExportTable.SelectedItems.Count == 1);
cmdExportTableEntryRemove.Enabled = (lvExportTable.SelectedItems.Count > 0);
}
}
}

View File

@ -41,6 +41,12 @@
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<Compile Include="Dialogs\UnrealEngine\ExportTableEntryPropertiesDialog.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialogs\UnrealEngine\ExportTableEntryPropertiesDialog.Designer.cs">
<DependentUpon>ExportTableEntryPropertiesDialog.cs</DependentUpon>
</Compile>
<Compile Include="Editors\UnrealEngine\UnrealPackageEditor.cs">
<SubType>UserControl</SubType>
</Compile>
@ -73,6 +79,9 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Dialogs\UnrealEngine\ExportTableEntryPropertiesDialog.resx">
<DependentUpon>ExportTableEntryPropertiesDialog.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Editors\UnrealEngine\UnrealPackageEditor.resx">
<DependentUpon>UnrealPackageEditor.cs</DependentUpon>
</EmbeddedResource>