The following linked properties are supported by the Eclipse function package:
Linked Property Name | Value Type | Content |
---|---|---|
Is Auto Build | Boolean | Auto build attribute of an Eclipse project. |
Content Type ID | String | Content type ID of an Eclipse resource, for example, value: org.eclipse.core.runtime.text |
Derived | Boolean | Determines whether the Eclipse resource is derived. |
Editable | Boolean | Read-only attribute of an Eclipse resource. |
Error Count | Numeric | Error count attribute of an Eclipse resource. |
Last Modified | Numeric | Last modified attribute of an Eclipse resource in the UNIX system time format, for example, value: 1442839802634 |
Last Modified (Formatted) | String | Last modified attribute of an Eclipse resource in the local OS date format, for example, value: 9/21/15 2:50 PM |
Linked | Boolean | Determines whether the resource is a linked to another resource, folder or file. |
Location | String | Absolute path to the Eclipse resource, for example, value: C:\EclipseWorkspaces\MyWorkspace\TestProject\TestFolder\TestFile.txt |
Name | String | Name of the Eclipse resource, for example, value: TestFile.txt |
Name With Remote Location | String | Name of the Eclipse resource with a remote location in brackets for remote resources. |
Paste Allowed | Boolean | Determines whether a paste action on this resource is permitted. |
Path | String | Workspace relative path of a resource, for example, value: \TestProject\TestFolder\TestFile.txt |
Project Natures | String | Natures of an Eclipse project concatenated by the pipe sign (|), for example, value: com.microfocus.eclipse.project.cobolNature|com.microfocus.eclipse.edt.core.edtNature |
Project Open | Boolean | Attribute indicating whether an Eclipse project is open or closed. |
Size | Numeric | Size of an Eclipse file in bytes; returns “0” for Eclipse projects and folders. |
Suffix | String | Suffix of an Eclipse file (without dot), for example, value: txt |
Warning Count | Numeric | Warning Count attribute of an Eclipse resource. |
The values of the Eclipse linked properties are managed by Eclipse and AWM internally. The Eclipse function package does not provide modeled update operations to change a value of such a linked property directly.
All those linked properties depend on an Eclipse resource. It is necessary to define the correct Resource Identifier attribute in the property definition.