Project |
[Missing <summary> documentation for "T:Altaxo.Dom.ProjectServiceBase"]
public abstract class ProjectServiceBase : IProjectService
The ProjectServiceBase type exposes the following members.
Name | Description | |
---|---|---|
ProjectServiceBase | Initializes a new instance of the ProjectServiceBase class |
Name | Description | |
---|---|---|
CurrentProject | Returns the currently open project. For setting, call SetCurrentProject(IProject, Boolean). | |
CurrentProjectArchiveManager | Gets or sets the current project archive manager. | |
CurrentProjectFileName | Gets the file name for the currently open project. Is null if the project has not got a file name for now. For setting, call SetCurrentProject(IProject, Boolean). | |
ProjectFileExtensions | Gets all possible file extensions for acceptable project files. |
Name | Description | |
---|---|---|
AskForSavingOfProject | Asks the user whether or not the project should be saved, and saves it in case the user answers with yes. | |
CloseDocumentViews | ||
CloseProject | ||
CloseViewContent | This will remove the controller and its view from the Gui. | |
CreateInitialProject | ||
CreateNewViewContent_Unsynchronized | ||
DeleteDocument | This function will delete a project item and close the corresponding views. | |
DeleteDocument_Unsynchronized | ||
DisposeProjectAndSetToNull | ||
EhFileOrFolderNameChanged | ||
EhProjectDirtyChanged | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
ExchangeCurrentProjectArchiveManagerTemporarilyWithoutDisposing | Exchanges the current project archive manager without disposing the old manager. This function is intended to be used twice in succession: 1st to temporarily exchange the current archive manager by another on, and then to change back the new archive manager with the old one. | |
ExecuteActionsImmediatelyBeforeRunningApplication | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetMainWindowTitle | Gets the title that should be shown as the main window title. | |
GetMainWindowTitleWithComManagerInEmbeddedMode | Gets the main window title if the Com manager is in embedded mode. | |
GetMainWindowTitleWithoutComManagerInEmbeddedMode | Gets the main window title without being COM manager in embedded mode. | |
GetOpenDocuments | ||
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GetViewContentsForDocument |
Returns all currently open views that show the given document object C# document | |
HasDocumentAnOpenView | ||
InternalCreateNewProject | Create a new project, and returns it, without wiring any infrastructure to it yet. | |
InternalCreateProjectArchiveManagerFromFileOrFolderLocation | Enumerates the registered types for a manager that implements IFileBasedProjectArchiveManager and searches for the type that can handle the provided file or folder. | |
InternalLoadProjectAndWindowsStateFromArchive | Loads the project and the state of the windows from a project archive. | |
InternalSave | Internal routine to save a project under a given name. | |
IsProjectFileExtension | Determines whether the provided file extension is a project file extension. This function uses the abstract function ProjectFileExtensions to determine if the given argument is a project file extension | |
LoadProjectFromFileOrFolder | Opens a Altaxo project from a project file (without asking the user). The old project is closed without asking the user. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OnProjectChanged | Fires the ProjectChanged event. This occurs after the events ProjectOpened, ProjectClosed, ProjectRenamed, and ProjectDirtyChanged event. Usefull if you not want to subscribe to the above mentioned single events. | |
OpenOrCreateViewContentForDocument | Opens a view that shows the document. If no view for the document can be found, a new default view is created. | |
OpenOrCreateViewContentForDocument_Unsynchronized | ||
OpenProject | Opens a project. If the current project is dirty, and showUserInteraction is true, the user is ask to save the current project before. | |
OpenProjectFromArchive | Loads the project from project archive. | |
SaveProject | Saves a project under the current file name. | |
SaveProject(IProjectArchive) | Saves a project. | |
SaveProject(PathName) | Saves the current project under a provided file name. If the provided file name differs from the current file name, a project renaming event is triggered. | |
SaveProjectAndWindowsState | Saves a project. | |
SaveProjectAs | Asks the user for a file name for the current project, and then saves the project under the given name. | |
SaveProjectCopyAs | This command is used if in embedded object mode. It saves the current project to a file, but don't set the current file name of the project (in project service). Furthermore, the title in the title bar is not influenced by the saving. | |
SelectFirstAvailableView | ||
SetCurrentProject | Sets the current project instance, and set it's file name to null. No events raised (events should be raised by the caller). The old project instance will be disposed of. | |
ShowDocumentView | ||
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryOpenProjectItemFile | Tests if the provided file name to have an extension that is associated with the extension of a project item (a specific item of the project), and if it is, tries to open the project item and adds it to the current project. |
Name | Description | |
---|---|---|
ProjectChanged | ||
ProjectClosed | ||
ProjectDirtyChanged | ||
ProjectOpened | ||
ProjectRenamed |
Name | Description | |
---|---|---|
_applicationName | ||
_currentProject | ||
_currentProjectArchiveManager |