IDEFrame

DIDE app frame

Constructors

this
this(Window window)
Undocumented in source.

Members

Functions

askForUnsavedEdits
void askForUnsavedEdits(void delegate() onConfirm)
Undocumented in source. Be warned that the author may not have intended to support it.
buildProject
void buildProject(BuildOperation buildOp)
Undocumented in source. Be warned that the author may not have intended to support it.
closeAllDocuments
void closeAllDocuments()

close all editor tabs

closeTab
void closeTab(string tabId)

close tab w/o confirmation

createBody
Widget createBody()

create app body widget

createFileDialog
FileDialog createFileDialog(UIString caption)
Undocumented in source. Be warned that the author may not have intended to support it.
createMainMenu
MainMenu createMainMenu()

create main menu

createNewWorkspaceForExistingProject
void createNewWorkspaceForExistingProject(Project project)
Undocumented in source. Be warned that the author may not have intended to support it.
createToolbars
ToolBarHost createToolbars()

create app toolbars

currentEditor
DSourceEdit currentEditor()
Undocumented in source. Be warned that the author may not have intended to support it.
focusEditor
void focusEditor(string id)

move focus to editor in currently selected tab

handleAction
bool handleAction(Action a)

override to handle specific actions

handleActionStateRequest
bool handleActionStateRequest(Action a)

override to handle specific actions state (e.g. change enabled state for supported actions)

hasUnsavedEdits
DSourceEdit hasUnsavedEdits()

returns first unsaved document

init
void init()
Undocumented in source. Be warned that the author may not have intended to support it.
onCanClose
bool onCanClose()

return false to prevent closing

onCompilerLogIssueClick
bool onCompilerLogIssueClick(dstring filename, int line, int column)
onFilesDropped
void onFilesDropped(string[] filenames)

handle files dropped to application window

onModifiedStateChange
void onModifiedStateChange(Widget source, bool modified)
Undocumented in source. Be warned that the author may not have intended to support it.
onSourceFileSelected
bool onSourceFileSelected(ProjectSourceFile file, bool activate)

source file selected in workspace tree

onTabChanged
void onTabChanged(string newActiveTabId, string previousTabId)
Undocumented in source. Be warned that the author may not have intended to support it.
onTabClose
void onTabClose(string tabId)
Undocumented in source. Be warned that the author may not have intended to support it.
onWindowClose
void onWindowClose()

called when main window is closing

openFileOrWorkspace
void openFileOrWorkspace(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
openSourceFile
bool openSourceFile(string filename, ProjectSourceFile file, bool activate)
Undocumented in source. Be warned that the author may not have intended to support it.
refreshWorkspace
void refreshWorkspace()
Undocumented in source. Be warned that the author may not have intended to support it.
setWorkspace
void setWorkspace(Workspace ws)
Undocumented in source. Be warned that the author may not have intended to support it.
showHomeScreen
void showHomeScreen()
Undocumented in source. Be warned that the author may not have intended to support it.
updateShortcuts
void updateShortcuts()

override it

Static variables

HOME_SCREEN_ID
auto HOME_SCREEN_ID;
Undocumented in source.

Variables

_dcdServer
DCDServer _dcdServer;
Undocumented in source.
_dockHost
DockHost _dockHost;
Undocumented in source.
_editorTool
EditorTool _editorTool;
Undocumented in source.
_logPanel
OutputPanel _logPanel;
Undocumented in source.
_tabs
TabWidget _tabs;
Undocumented in source.
_wsPanel
WorkspacePanel _wsPanel;
Undocumented in source.
frameWindowCaptionSuffix
dstring frameWindowCaptionSuffix;
Undocumented in source.
mainMenuItems
MenuItem mainMenuItems;
Undocumented in source.

Meta