IDEFrame

DIDE app frame

class IDEFrame : AppFrame, ProgramExecutionStatusListener {}

Constructors

this
this(Window window)
Undocumented in source.

Members

Functions

addProjectItem
void addProjectItem(Object obj)
Undocumented in source. Be warned that the author may not have intended to support it.
applySettings
void applySettings(IDESettings settings)
Undocumented in source. Be warned that the author may not have intended to support it.
applySettings
void applySettings(DSourceEdit editor, IDESettings settings)
Undocumented in source. Be warned that the author may not have intended to support it.
askForUnsavedEdits
void askForUnsavedEdits(void delegate() onConfirm)
Undocumented in source. Be warned that the author may not have intended to support it.
buildAndRunProject
void buildAndRunProject(Project project)
Undocumented in source. Be warned that the author may not have intended to support it.
buildProject
void buildProject(BuildOperation buildOp, Project project, BuildResultListener listener)
Undocumented in source. Be warned that the author may not have intended to support it.
closeAllDocuments
void closeAllDocuments()

close all editor tabs

closeRemovedDocuments
void closeRemovedDocuments()

close editor tabs for which files are removed from filesystem

closeTab
void closeTab(string tabId)

close tab w/o confirmation

closeWorkspace
void closeWorkspace()
Undocumented in source. Be warned that the author may not have intended to support it.
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

createNewProject
void createNewProject(bool newWorkspace)
Undocumented in source. Be warned that the author may not have intended to support it.
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

hideHomeScreen
void hideHomeScreen()
Undocumented in source. Be warned that the author may not have intended to support it.
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.
onProgramExecutionStatus
void onProgramExecutionStatus(ProgramExecution process, ExecutionStatus status, int exitCode)

called when program execution is stopped

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.
refreshProjectItem
void refreshProjectItem(Object obj)
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.
removeProjectItem
void removeProjectItem(Object obj)
Undocumented in source. Be warned that the author may not have intended to support it.
runProject
void runProject()
Undocumented in source. Be warned that the author may not have intended to support it.
setProjectConfigurations
void setProjectConfigurations(dstring[] items)

updates list of available configurations

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.
showPreferences
void showPreferences()
Undocumented in source. Be warned that the author may not have intended to support it.
showProjectSettings
void showProjectSettings()
Undocumented in source. Be warned that the author may not have intended to support it.
stopExecution
void stopExecution()

stop current program execution

updateShortcuts
void updateShortcuts()

override it

Properties

currentEditorSourceFile
ProjectSourceFile currentEditorSourceFile [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isExecutionActive
bool isExecutionActive [@property getter]

returns true if program execution or debugging is active

settings
IDESettings settings [@property getter]

returns global IDE settings

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.
_execution
ProgramExecution _execution;
Undocumented in source.
_logPanel
OutputPanel _logPanel;
Undocumented in source.
_settings
IDESettings _settings;
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.

Inherited Members

From ProgramExecutionStatusListener

onProgramExecutionStatus
void onProgramExecutionStatus(ProgramExecution process, ExecutionStatus status, int exitCode)

called when program execution is stopped

Meta