Placeholders for future feature implementations
This commit is contained in:
parent
2e89b9e13c
commit
f06b776502
@ -14,6 +14,8 @@
|
||||
<CommandReference CommandID="FileRecentFiles" />
|
||||
<CommandReference CommandID="FileRecentProjects" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FileProperties" />
|
||||
<Separator />
|
||||
<CommandReference CommandID="FileRestart" />
|
||||
<CommandReference CommandID="FileExit" />
|
||||
</Items>
|
||||
@ -106,6 +108,7 @@
|
||||
<CommandPlaceholder PlaceholderID="RecentProjects" />
|
||||
</Items>
|
||||
</Command>
|
||||
<Command ID="FileProperties" />
|
||||
<Command ID="FileRestart" />
|
||||
<Command ID="FileExit" StockType="Quit">
|
||||
<Shortcut Modifiers="Control" Key="Q" />
|
||||
|
||||
@ -73,8 +73,10 @@
|
||||
<Command ID="FileCloseWindow" Title="_Window" />
|
||||
|
||||
<Command ID="FilePrint" Title="_Print..." />
|
||||
|
||||
<Command ID="FileProperties" Title="P_roperties..." />
|
||||
|
||||
<Command ID="FileRestart" Title="_Restart" />
|
||||
<Command ID="FileRestart" Title="Restart" />
|
||||
<Command ID="FileExit" Title="E_xit" />
|
||||
|
||||
<!-- Edit -->
|
||||
|
||||
@ -269,6 +269,10 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
LastWindow.PrintDocument();
|
||||
});
|
||||
Application.AttachCommandEventHandler("FileProperties", delegate (object sender, EventArgs e)
|
||||
{
|
||||
LastWindow.ShowDocumentPropertiesDialog();
|
||||
});
|
||||
Application.AttachCommandEventHandler("FileRestart", delegate(object sender, EventArgs e)
|
||||
{
|
||||
RestartApplication();
|
||||
|
||||
@ -39,7 +39,9 @@ namespace UniversalEditor.UserInterface
|
||||
void CloseWindow();
|
||||
|
||||
void PrintDocument();
|
||||
|
||||
|
||||
void ShowDocumentPropertiesDialog();
|
||||
|
||||
Editor GetCurrentEditor();
|
||||
|
||||
bool FullScreen { get; set; }
|
||||
|
||||
@ -812,23 +812,21 @@ namespace UniversalEditor.UserInterface
|
||||
public void SetWindowListVisible(bool visible, bool modal)
|
||||
{
|
||||
// this calls out to the DockingContainerControl in WF
|
||||
/*
|
||||
if (modal)
|
||||
{
|
||||
dcc.DisplayWindowListDialog();
|
||||
// dckContainer.ShowWindowListPopupDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (visible)
|
||||
{
|
||||
dcc.ShowWindowListPopupDialog();
|
||||
// dckContainer.ShowWindowListPopup();
|
||||
}
|
||||
else
|
||||
{
|
||||
dcc.HideWindowListPopupDialog();
|
||||
// dckContainer.HideWindowListPopup();
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
public event EventHandler WindowClosed;
|
||||
@ -838,5 +836,12 @@ namespace UniversalEditor.UserInterface
|
||||
public SolutionObjectModel CurrentSolution { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public void ShowDocumentPropertiesDialog()
|
||||
{
|
||||
MessageDialog.ShowDialog("TODO: Implement Document Properties dialog!", "Not Implemented", MessageDialogButtons.OK, MessageDialogIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user