IDEFrame

DIDE app frame

class IDEFrame : AppFrame, ProgramExecutionStatusListener , BreakpointListChangeListener , BookmarkListChangeListener {}

Constructors

this
this(Window window)
Undocumented in source.

Destructor

~this
~this()
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.
allOpenedEditors
DSourceEdit[] allOpenedEditors()

returns array of all opened source editors

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

handleBuildError
void handleBuildError(int result, Project project)
Undocumented in source. Be warned that the author may not have intended to support it.
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.
initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
onBookmarkListChanged
void onBookmarkListChanged(ProjectSourceFile sourcefile, EditorBookmark[] bookmarks)
Undocumented in source. Be warned that the author may not have intended to support it.
onBreakpointListChanged
void onBreakpointListChanged(ProjectSourceFile sourcefile, Breakpoint[] breakpoints)
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.
refreshProject
void refreshProject(Project project)
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.
revealProjectInExplorer
void revealProjectInExplorer(Project project)
Undocumented in source. Be warned that the author may not have intended to support it.
runProject
void runProject(Project project)
Undocumented in source. Be warned that the author may not have intended to support it.
runWithRdmd
void runWithRdmd(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
setExecutableParameters
bool setExecutableParameters(ProgramExecution program, Project project, string executableFileName)
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

setStartupProject
void setStartupProject(Project project)
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.
showPreferences
void showPreferences()
Undocumented in source. Be warned that the author may not have intended to support it.
showProjectSettings
void showProjectSettings(Project project)
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.
dcdInterface
DCDInterface dcdInterface [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dockHost
DockHost dockHost [@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

isOpenedWorkspace
bool isOpenedWorkspace [@property getter]

Is any workspace already opened?

isOpenedWorkspace
bool isOpenedWorkspace [@property setter]

Is any workspace already opened?

logPanel
OutputPanel logPanel [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
settings
IDESettings settings [@property getter]

returns global IDE settings

Static variables

HOME_SCREEN_ID
auto HOME_SCREEN_ID;
Undocumented in source.

Variables

_debugHandler
DebuggerUIHandler _debugHandler;
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

From BreakpointListChangeListener

onBreakpointListChanged
void onBreakpointListChanged(ProjectSourceFile sourceFile, Breakpoint[] breakpoints)
Undocumented in source.

From BookmarkListChangeListener

onBookmarkListChanged
void onBookmarkListChanged(ProjectSourceFile sourceFile, EditorBookmark[] bookmarks)
Undocumented in source.

Meta