Namespace: Consultingwerk.Util
Class 
OpenEdgeArchitectHelper Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:OpenEdgeArchitectHelper
Purpose:Provides support for working with the OpenEdgeArchitect /
Progress Developer Studio for OpenEdge
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Jan 03 18:15:50 CET 2012
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
+ CHARACTER FindProjectNameForPath (character) Searches the Registry for the location of an PDSOE Project
+ CHARACTER FindProjectPath (character) Searches the Registry for the location of an PDSOE Project
+ LOGICAL LaunchedFromIde () Returns a logical value indicating if the current session was started from the IDE
+ SendRequest (character, integer) Sends a request/command to an OpenEdge Architect instance

Top Constructor Summary
Options Name Purpose
# OpenEdgeArchitectHelper () Disallow instance creation


Method Detail
Top

PUBLIC CHARACTER FindProjectNameForPath (character)

Purpose: Searches the Registry for the location of an PDSOE Project
Notes: Based on the registry values under HKEY_CURRENT_USER\Software\Consultingwerk Ltd.\IDE Support
that are created by the _idestartup.

Parameters:
pcPathName CHARACTER
The path to lookup
Returns CHARACTER
The name of the project or ? when no project is found
Top

PUBLIC CHARACTER FindProjectPath (character)

Purpose: Searches the Registry for the location of an PDSOE Project
Notes: Based on the registry values under HKEY_CURRENT_USER\Software\Consultingwerk Ltd.\IDE Support
that are created by the _idestartup.

Parameters:
pcPathName CHARACTER
The path to lookup
Returns CHARACTER
The path of the project or ? when no project is found
Top

PUBLIC LOGICAL LaunchedFromIde ()

Purpose: Returns a logical value indicating if the current session was started
from the IDE
Notes:

Returns LOGICAL
Logical value indicating if the current session was started from the IDE
Top

PUBLIC SendRequest (character, integer)

Purpose: Sends a request/command to an OpenEdge Architect instance
Notes: See adecomm/oeideservice.p for details

Parameters:
pcCommand CHARACTER
The request to send to OpenEdge Architect
piOEAPort INTEGER
The port number of the OpenEdge Architect instance


Constructor Detail
Top

PROTECTED OpenEdgeArchitectHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:57:46