IDEFrame

DIDE app frame

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

addProjectItem
void addProjectItem(Object obj)

add new file to project

allOpenedEditors
DSourceEdit[] allOpenedEditors()

returns array of all opened source editors

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

createBody
Widget createBody()

create app body widget

createMainMenu
MainMenu createMainMenu()

create main menu

createToolbars
ToolBarHost createToolbars()

create app toolbars

focusEditor
void focusEditor(string id)

move focus to editor in currently selected tab

handleAction
bool handleAction(const Action a)

override to handle specific actions

handleActionStateRequest
bool handleActionStateRequest(const Action a)

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

hasUnsavedEdits
DSourceEdit hasUnsavedEdits()

returns first unsaved document

onCanClose
bool onCanClose()

return false to prevent closing

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

handle files dropped to application window

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

onWindowClose
void onWindowClose()

called when main window is closing

stopExecution
void stopExecution()

stop current program execution

updateShortcuts
void updateShortcuts()

override it

Properties

isExecutionActive
bool isExecutionActive [@property getter]

returns true if program execution or debugging is active

isOpenedWorkspace
bool isOpenedWorkspace [@property getter]

Is any workspace already opened?

isOpenedWorkspace
bool isOpenedWorkspace [@property setter]

Is any workspace already opened?

settings
IDESettings settings [@property getter]

returns global IDE settings

Inherited Members

From ProgramExecutionStatusListener

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

called when program execution is stopped

Meta