diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/Executable/Commands.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/Executable/Commands.uexml
new file mode 100644
index 00000000..c6f0012c
--- /dev/null
+++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/Executable/Commands.uexml
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj
index 8d3c443e..8830e324 100644
--- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj
+++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/UniversalEditor.Content.PlatformIndependent.csproj
@@ -642,6 +642,7 @@
+
@@ -661,6 +662,7 @@
+
diff --git a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Executable.UserInterface/Editors/Executable/ExecutableEditor.cs b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Executable.UserInterface/Editors/Executable/ExecutableEditor.cs
index afd719c1..dde74583 100644
--- a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Executable.UserInterface/Editors/Executable/ExecutableEditor.cs
+++ b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Executable.UserInterface/Editors/Executable/ExecutableEditor.cs
@@ -60,6 +60,8 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
private Label lblAssemblyVersion = null;
private TextBox txtAssemblyVersion = null;
+ private DefaultTreeModel tmOtherInformation = null;
+
public ExecutableEditor()
{
this.Layout = new BoxLayout(Orientation.Vertical);
@@ -77,11 +79,10 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
tbs = new TabContainer();
TabPage tabSections = new TabPage("Sections (0)");
tabSections.Layout = new BoxLayout(Orientation.Vertical);
-
+
tabSections.Controls.Add(tvSections, new BoxLayout.Constraints(true, true));
tbs.TabPages.Add(tabSections);
-
-
+
TabPage tabManagedAssembly = new TabPage("Managed Assembly");
tabManagedAssembly.Layout = new BoxLayout(Orientation.Vertical);
@@ -107,13 +108,7 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
tbs.TabPages.Add(tabManagedAssembly);
-
- this.contextMenuItemSelected = new Menu();
- this.contextMenuItemSelected.Items.AddRange(new MBS.Framework.UserInterface.MenuItem[]
- {
- new MBS.Framework.UserInterface.CommandMenuItem("_Copy to", null, ContextMenu_CopyTo_Click)
- });
-
+ Application.AttachCommandEventHandler("ExecutableEditor_ContextMenu_Sections_Selected_CopyTo", ContextMenu_CopyTo_Click);
this.Controls.Add(tbs, new BoxLayout.Constraints(true, true));
}
@@ -149,7 +144,6 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
}
}
- private Menu contextMenuItemSelected = null;
void tvSections_BeforeContextMenu(object sender, EventArgs e)
{
bool selected = tvSections.SelectedRows.Count > 0;
@@ -163,11 +157,11 @@ namespace UniversalEditor.Plugins.Executable.UserInterface.Editors.Executable
if (selected)
{
- tvSections.ContextMenu = contextMenuItemSelected;
+ tvSections.ContextMenuCommandID = "ExecutableEditor_ContextMenu_Sections_Selected";
}
else
{
- tvSections.ContextMenu = null;
+ tvSections.ContextMenuCommandID = "ExecutableEditor_ContextMenu_Sections_Unselected";
}
}