@@ -98,79 +98,287 @@ public interface IMainForm : IContainerControl, IWin32Window
9898 {
9999 #region IMainForm Methods
100100
101+ /// <summary>
102+ /// Refreshes the main form.
103+ /// </summary>
101104 void RefreshUI ( ) ;
105+ /// <summary>
106+ /// Stop the currently running process.
107+ /// </summary>
102108 void KillProcess ( ) ;
109+ /// <summary>
110+ /// Refreshes the scintilla configuration.
111+ /// </summary>
103112 void RefreshSciConfig ( ) ;
113+ /// <summary>
114+ /// Themes the controls from the parent.
115+ /// </summary>
104116 void ThemeControls ( Object control ) ;
117+ /// <summary>
118+ /// Clears the temporary file from disk.
119+ /// </summary>
105120 void ClearTemporaryFiles ( String file ) ;
121+ /// <summary>
122+ /// Shows the settings dialog.
123+ /// </summary>
106124 void ShowSettingsDialog ( String itemName ) ;
125+ /// <summary>
126+ /// Shows the error dialog if the sender is <see cref="Managers.ErrorManager"/>.
127+ /// </summary>
107128 void ShowErrorDialog ( Object sender , Exception ex ) ;
129+ /// <summary>
130+ /// Shows the settings dialog with a filter.
131+ /// </summary>
108132 void ShowSettingsDialog ( String itemName , String filter ) ;
133+ /// <summary>
134+ /// Lets you update menu items using the flag functionality.
135+ /// </summary>
109136 void AutoUpdateMenuItem ( ToolStripItem item , String action ) ;
137+ /// <summary>
138+ /// Registers a new menu item with the shortcut manager.
139+ /// </summary>
110140 void RegisterShortcutItem ( String id , Keys keys ) ;
141+ /// <summary>
142+ /// Registers a new menu item with the shortcut manager.
143+ /// </summary>
111144 void RegisterShortcutItem ( String id , ToolStripMenuItem item ) ;
145+ /// <summary>
146+ /// Registers a new secondary menu item with the shortcut manager.
147+ /// </summary>
112148 void RegisterSecondaryItem ( String id , ToolStripItem item ) ;
149+ /// <summary>
150+ /// Updates a registered secondary menu item in the shortcut manager
151+ /// - should be called when the tooltip changes.
152+ /// </summary>
113153 void ApplySecondaryShortcut ( ToolStripItem item ) ;
154+ /// <summary>
155+ /// Create the specified new document from the given template.
156+ /// </summary>
114157 void FileFromTemplate ( String templatePath , String newFilePath ) ;
158+ /// <summary>
159+ /// Opens an editable document.
160+ /// </summary>
115161 DockContent OpenEditableDocument ( String file , Boolean restoreFileState ) ;
162+ /// <summary>
163+ /// Opens an editable document.
164+ /// </summary>
116165 DockContent OpenEditableDocument ( String file ) ;
166+ /// <summary>
167+ /// Creates a new custom document.
168+ /// </summary>
117169 DockContent CreateCustomDocument ( Control ctrl ) ;
170+ /// <summary>
171+ /// Creates a new empty document.
172+ /// </summary>
118173 DockContent CreateEditableDocument ( String file , String text , Int32 codepage ) ;
174+ /// <summary>
175+ /// Creates a floating panel for the plugin.
176+ /// </summary>
119177 DockContent CreateDockablePanel ( Control form , String guid , Image image , DockState defaultDockState ) ;
178+ /// <summary>
179+ /// Calls a normal <see cref="IMainForm"/> method.
180+ /// </summary>
120181 Boolean CallCommand ( String command , String arguments ) ;
182+ /// <summary>
183+ /// Finds the menu items that have the specified name.
184+ /// </summary>
121185 List < ToolStripItem > FindMenuItems ( String name ) ;
186+ /// <summary>
187+ /// Finds the specified menu item by name.
188+ /// </summary>
122189 ToolStripItem FindMenuItem ( String name ) ;
190+ /// <summary>
191+ /// Processes the argument string variables.
192+ /// </summary>
123193 String ProcessArgString ( String args ) ;
194+ /// <summary>
195+ /// Gets the specified item's shortcut keys.
196+ /// </summary>
124197 Keys GetShortcutItemKeys ( String id ) ;
198+ /// <summary>
199+ /// Gets the specified item's id.
200+ /// </summary>
125201 String GetShortcutItemId ( Keys keys ) ;
202+ /// <summary>
203+ /// Gets a theme property value.
204+ /// </summary>
126205 String GetThemeValue ( String id ) ;
206+ /// <summary>
207+ /// Gets a theme property color.
208+ /// </summary>
127209 Color GetThemeColor ( String id ) ;
210+ /// <summary>
211+ /// Gets a theme flag value.
212+ /// </summary>
128213 Boolean GetThemeFlag ( String id ) ;
214+ /// <summary>
215+ /// Gets a theme flag value with a fallback.
216+ /// </summary>
129217 Boolean GetThemeFlag ( String id , Boolean fallback ) ;
218+ /// <summary>
219+ /// Gets a theme property value with a fallback.
220+ /// </summary>
130221 String GetThemeValue ( String id , String fallback ) ;
222+ /// <summary>
223+ /// Gets a theme property color with a fallback.
224+ /// </summary>
131225 Color GetThemeColor ( String id , Color fallback ) ;
226+ /// <summary>
227+ /// Finds the specified plugin.
228+ /// </summary>
132229 IPlugin FindPlugin ( String guid ) ;
230+ /// <summary>
231+ /// Adjusts the image for different themes.
232+ /// </summary>
133233 Image ImageSetAdjust ( Image image ) ;
234+ /// <summary>
235+ /// Finds the specified composed/ready image.
236+ /// </summary>
134237 Image FindImage ( String data ) ;
135238
136239 #endregion
137240
138241 #region IMainFrom Properties
139242
243+ /// <summary>
244+ /// Gets the <see cref="ISettings"/> interface.
245+ /// </summary>
140246 ISettings Settings { get ; }
247+ /// <summary>
248+ /// Gets the tool strip.
249+ /// </summary>
141250 ToolStrip ToolStrip { get ; }
251+ /// <summary>
252+ /// Gets the menu strip.
253+ /// </summary>
142254 MenuStrip MenuStrip { get ; }
255+ /// <summary>
256+ /// Gets the <see cref="Scintilla"/> configuration.
257+ /// </summary>
143258 Scintilla SciConfig { get ; }
259+ /// <summary>
260+ /// Gets the dock panel.
261+ /// </summary>
144262 DockPanel DockPanel { get ; }
263+ /// <summary>
264+ /// Gets the application start arguments.
265+ /// </summary>
145266 String [ ] StartArguments { get ; }
267+ /// <summary>
268+ /// Gets the application custom arguments.
269+ /// </summary>
146270 List < Argument > CustomArguments { get ; }
271+ /// <summary>
272+ /// Gets the status strip.
273+ /// </summary>
147274 StatusStrip StatusStrip { get ; }
275+ /// <summary>
276+ /// Gets or sets the working directory.
277+ /// </summary>
148278 String WorkingDirectory { get ; set ; }
279+ /// <summary>
280+ /// Gets the tool strip panel.
281+ /// </summary>
149282 ToolStripPanel ToolStripPanel { get ; }
283+ /// <summary>
284+ /// Gets the tool strip status label.
285+ /// </summary>
150286 ToolStripStatusLabel StatusLabel { get ; }
287+ /// <summary>
288+ /// Gets the tool strip progress label.
289+ /// </summary>
151290 ToolStripStatusLabel ProgressLabel { get ; }
291+ /// <summary>
292+ /// Gets the tool strip progress bar.
293+ /// </summary>
152294 ToolStripProgressBar ProgressBar { get ; }
295+ /// <summary>
296+ /// Gets the collection of controls contained within this control.
297+ /// </summary>
153298 Control . ControlCollection Controls { get ; }
299+ /// <summary>
300+ /// Gets the tab menu.
301+ /// </summary>
154302 ContextMenuStrip TabMenu { get ; }
303+ /// <summary>
304+ /// Gets the editor menu.
305+ /// </summary>
155306 ContextMenuStrip EditorMenu { get ; }
307+ /// <summary>
308+ /// Gets the current <see cref="ITabbedDocument"/> object.
309+ /// </summary>
156310 ITabbedDocument CurrentDocument { get ; }
311+ /// <summary>
312+ /// Gets all available documents.
313+ /// </summary>
157314 ITabbedDocument [ ] Documents { get ; }
315+ /// <summary>
316+ /// Gets whether FlashDevelop holds modified documents.
317+ /// </summary>
158318 Boolean HasModifiedDocuments { get ; }
319+ /// <summary>
320+ /// Gets whether FlashDevelop is closing.
321+ /// </summary>
159322 Boolean ClosingEntirely { get ; }
323+ /// <summary>
324+ /// Gets whether a process is running.
325+ /// </summary>
160326 Boolean ProcessIsRunning { get ; }
327+ /// <summary>
328+ /// Gets whether a document is reloading.
329+ /// </summary>
161330 Boolean ReloadingDocument { get ; }
331+ /// <summary>
332+ /// Gets whether contents are being processed.
333+ /// </summary>
162334 Boolean ProcessingContents { get ; }
335+ /// <summary>
336+ /// Gets whether contents are being restored.
337+ /// </summary>
163338 Boolean RestoringContents { get ; }
339+ /// <summary>
340+ /// Gets saving multiple.
341+ /// </summary>
164342 Boolean SavingMultiple { get ; }
343+ /// <summary>
344+ /// Gets whether the panel is active.
345+ /// </summary>
165346 Boolean PanelIsActive { get ; }
347+ /// <summary>
348+ /// Gets whether FlashDevelop is in full screen.
349+ /// </summary>
166350 Boolean IsFullScreen { get ; }
351+ /// <summary>
352+ /// Gets whether FlashDevelop is in standalone mode.
353+ /// </summary>
167354 Boolean StandaloneMode { get ; }
355+ /// <summary>
356+ /// Gets whether FlashDevelop is in multi-instance mode.
357+ /// </summary>
168358 Boolean MultiInstanceMode { get ; }
359+ /// <summary>
360+ /// Gets whether this <see cref="IMainForm"/> is the first instance.
361+ /// </summary>
169362 Boolean IsFirstInstance { get ; }
363+ /// <summary>
364+ /// Gets whether a restart is required.
365+ /// </summary>
170366 Boolean RestartRequested { get ; }
367+ /// <summary>
368+ /// Gets whether the config should be refreshed.
369+ /// </summary>
171370 Boolean RefreshConfig { get ; }
371+ /// <summary>
372+ /// Gets the ignored keys.
373+ /// </summary>
172374 List < Keys > IgnoredKeys { get ; }
375+ /// <summary>
376+ /// Gets the version of the application.
377+ /// </summary>
173378 String ProductVersion { get ; }
379+ /// <summary>
380+ /// Gets the full human readable version string.
381+ /// </summary>
174382 String ProductName { get ; }
175383
176384 #endregion
0 commit comments