Namespace: Consultingwerk.Studio.IdeSupport
Class 
AbstractIdeService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Inherited by: Consultingwerk.Studio.IdeSupport.Pdsoe.PdsoeSupportService Consultingwerk.Studio.IdeSupport.VsCode.VsCodeSupportService
ABSTRACT

File:AbstractIdeService
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Mar 15 19:53:42 EDT 2022
Purpose: Locates the workspace either on disk or in the configuration
Notes: Throws an error, when the workspace cannot be found



Top Method Summary
Options Name Purpose
+ CHARACTER GetWorkspace () Locates the workspace either on disk or in the configuration
+ A CHARACTER GetWorkspaceFromConfiguration () Obtains the workspace location from configuration
+ A CHARACTER LocateWorkspace () Locates the workspace closest to the current working directory
+ OpenFile (character, character) Opens a file in a workspace
+ OpenFile (character, character, integer) Opens a file in a workspace
+ A OpenFile (character, character, integer, integer) Opens a file in a workspace


Method Detail
Top

PUBLIC CHARACTER GetWorkspace ()

Purpose: Locates the workspace either on disk or in the configuration
Notes: Throws an error, when the workspace cannot be found

Returns CHARACTER
The workspace folder or file name
Top

PUBLIC CHARACTER GetWorkspaceFromConfiguration ()

Purpose: Obtains the workspace location from configuration
Notes: Returns ? when no workspace is defined in the configuration file

Returns CHARACTER
The workspace folder or file name
Top

PUBLIC CHARACTER LocateWorkspace ()

Purpose: Locates the workspace closest to the current working directory
Notes: Returns ? when no workspace can be found

Returns CHARACTER
The workspace folder or file name
Top

PUBLIC OpenFile (character, character)

Purpose: Opens a file in a workspace
Notes: When the workspace is not provided, attempts to locate workspace
and then obtain it from configuration

Parameters:
pcWorkspace CHARACTER
The folder of file name representing the workspace configuration
pcFileName CHARACTER
The name of the file to open
Top

PUBLIC OpenFile (character, character, integer)

Purpose: Opens a file in a workspace
Notes: When the workspace is not provided, attempts to locate workspace
and then obtain it from configuration

Parameters:
pcWorkspace CHARACTER
The folder of file name representing the workspace configuration
pcFileName CHARACTER
The name of the file to open
piLineNumber INTEGER
The line number to jump to
Top

PUBLIC OpenFile (character, character, integer, integer)

Purpose: Opens a file in a workspace
Notes: When the workspace is not provided, attempts to locate workspace
and then obtain it from configuration

Parameters:
pcWorkspace CHARACTER
The folder of file name representing the workspace configuration
pcFileName CHARACTER
The name of the file to open
piLineNumber INTEGER
The line number to jump to
piColumnNumber INTEGER
The column to jump to


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:22:21