Element types

The extensions differentiate between element types that describe projects, folders, and files within the workspace.
Element Type MF_ELE_PROJECT
Has Property #1 -> MFProp_WorkspaceName
Has Property #2 -> MFProp_WorkspacePath
Has Property #3 -> MFProp_CanCompile
Has Property #4 -> PROP_ElementType
Has Property #5 -> MFProp_ErrorCount
Has Property #6 -> MFProp_WarningCount
Element Type MF_ELE_FOLDER
Has Property #1 -> MFProp_WorkspaceName
Has Property #2 -> MFProp_WorkspacePath
Has Property #3 -> PROP_ElementType
Has Property #4 -> MFProp_CanCompile
Has Property #5 -> MFProp_ErrorCount
Has Property #6 -> MFProp_WarningCount
Element Type MF_ELE_FILE
Has Property #1 -> MFProp_WorkspaceName
Has Property #2 -> MFProp_WorkspacePath
Has Property #3 -> PROP_ElementType
Has Property #4 -> MFProp_CanCompile
Has Property #5 -> MFProp_ContentType
Has Property #6 -> PROP_Suffix
Has Property #7 -> MFProp_ErrorCount
Has Property #8 -> MFProp_WarningCount
Element Type MF_ELE_FILE_BMS
Has Property #1 -> MFProp_WorkspaceName
Has Property #2 -> MFProp_WorkspacePath
Has Property #3 -> PROP_ElementType
Has Property #4 -> MFProp_CanCompile
Has Property #5 -> MFProp_ContentType
Has Property #6 -> PROP_Suffix
Has Property #7 -> MFProp_ErrorCount
Has Property #8 -> MFProp_WarningCount
Element Type MF_ELE_FILE_JCL
Has Property #1 -> MFProp_WorkspaceName
Has Property #2 -> MFProp_WorkspacePath
Has Property #3 -> PROP_ElementType
Has Property #4 -> MFProp_CanCompile
Has Property #5 -> MFProp_ContentType
Has Property #6 -> PROP_Suffix
Has Property #7 -> MFProp_ErrorCount
Has Property #8 -> MFProp_WarningCount
Element Type MF_ELE_FILE_DATA
Has Property #1 -> MFProp_WorkspaceName
Has Property #2 -> MFProp_WorkspacePath
Has Property #3 -> PROP_ElementType
Has Property #4 -> MFProp_CanCompile
Has Property #5 -> MFProp_ContentType
Has Property #6 -> PROP_Suffix
Has Property #7 -> MFProp_ErrorCount
Has Property #8 -> MFProp_WarningCount
Element type/relationship Attribute Meaning
MF_ELE_PROJECT

ID_Definition = ID_WorkspaceProject

Matchname = WKSP_PROJECT

Workspace project
MF_ELE_FOLDER

ID_Definition = ID_WorkspaceFolder

Matchname = WKSP_FOLDER

Workspace folder
MF_ELE_FILE

ID_Definition = ID_WorkspaceFile

Matchname = WKSP_FILE

Workspace file
MF_ELE_FILE_BMS

ID_Definition = ID_WorkspaceFile

Matchname = WKSP_FILE_BMS

Workspace BMS file
MF_ELE_FILE_JCL

ID_Definition = ID_WorkspaceFile

Matchname = WKSP_FILE_JCL

Workspace JCL file
MF_ELE_FILE_DATA

ID_Definition = ID_WorkspaceFile

Matchname = WKSP_FILE_DATA

Workspace data file
  • MF_ELE_PROJECT,
  • MF_ELE_FOLDER,
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property MFProp_WorkspaceName

TreeView_Label = True The name of the workspace resource, without any path.
  • MF_ELE_PROJECT,
  • MF_ELE_FOLDER,
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property MFProp_WorkspacePath

- The full workspace path to the resource.
  • MF_ELE_PROJECT,
  • MF_ELE_FOLDER,
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property MFProp_CanCompile

- Boolean property which indicates whether single file compile is allowed on the resource.
  • MF_ELE_PROJECT,
  • MF_ELE_FOLDER,
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property PROP_ElementType

Special Property = Element_Type This is needed so that the model interpreter can assign the Element Type for each Element in a Element list. As the Element Type of an Element can already be seen from the Icon, the table column can be hidden.
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property MFProp_ContentType

- Eclipse content type ID.
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property PROP_Suffix

- File extension
  • MF_ELE_PROJECT,
  • MF_ELE_FOLDER,
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property MFProp_ErrorCount

- The number of errors in a file, a folder or a project.
  • MF_ELE_PROJECT,
  • MF_ELE_FOLDER,
  • MF_ELE_FILE,
  • MF_ELE_FILE_BMS,
  • MF_ELE_FILE_JCL,
  • MF_ELE_FILE_DATA

has Property MFProp_WarningCount

- The number of warnings in a file, a folder or a project.

Configuration notes

An action associated with the MF_GetWorkspaceContents tool would be expected to be configured as the Get Children action on the workspace project element type (MF_ELE_PROJECT). This action must be configured to have an element list of MF_ELIST_WorkspaceListStructure.