PhaseUi is the representation of a LogiKal phase and provides methods with user interactions. The children are of type ElevationUi. The children can be received from the InfoList (CoreObject<T>.Infos).
More...
|
| new ElevationUi | GetElevation (ElevationInfo elevationInfo) |
| | Returns the corresponding elevation based on the given info object. More...
|
| |
| ElevationInfo | RestoreElevation (ElevationInfo elevationInfo) |
| | Restore and return the corresponding elevationInfo based on the given information data. A UI window pops when the elevationInfo number of the deleted elevationInfo already exists or when a phase is required More...
|
| |
| ElevationInfo | CreateLkElevation (string elevationName, ElementType elementType) |
| | Creates a new Elevation to the LogiKal projectvia user interface. More...
|
| |
| ElevationInfo | CopyElevationFrom (ElevationInfo sourceElevationInfo, string elevationName) |
| | Copies the specified elevation into the calling phase. More...
|
| |
| ElevationInfo | MoveElevationFrom (ElevationInfo sourceElevationInfo, string elevationName) |
| | Moves the specified elevation into the calling phase. More...
|
| |
| | Phase (IApiService apiService, Guid coreObjectId, Project parent, PhaseInfo coreInfo) |
| | Creates a new phase. More...
|
| |
| Elevation | GetElevation (ElevationInfo elevationInfo) |
| | Returns the corresponding elevation based on the given info object. More...
|
| |
| ElevationInfo | CreateLkElevation (string elevationName, ElementType elementType, string shortDescription, double amount, bool isAlternative) |
| | Creates a new Elevation in this phase via user interface. More...
|
| |
| void | DeleteLkElevation (ElevationInfo elevationInfo) |
| | Deletes the corresponding logikal elevation based on the given information data. More...
|
| |
| string | GetNextPositionNumber () |
| | Retrieves the next available position number of this phase. More...
|
| |
| PhaseInfo | SetParameter (string key, object value) |
| | Takes the parameter to update the phase. More...
|
| |
|
override Elevation | GetChild (ElevationInfo elevationInfo) |
| |
|
virtual OperationInfo | CanEdit (string key, object value) |
| |
| virtual TOwnInfo | Edit (string key, object value) |
| |
PhaseUi is the representation of a LogiKal phase and provides methods with user interactions. The children are of type ElevationUi. The children can be received from the InfoList (CoreObject<T>.Infos).
◆ CopyElevationFrom()
Copies the specified elevation into the calling phase.
- Parameters
-
| sourceElevationInfo | The ElevationInfo of the elevation be copied. |
| elevationName | The name of the copied elevation. |
- Returns
- The ElevationInfo of the copied elevation.
◆ CreateLkElevation()
Creates a new Elevation to the LogiKal projectvia user interface.
- Parameters
-
| elevationName | The name of the new elevation |
| elementType | The type of the new elevation (ElementType) |
- Returns
- The ElevationInfo to the created elevation or NULL if the user rejected the dialog.
- Exceptions
-
| Exception | contains api error message |
◆ GetElevation()
Returns the corresponding elevation based on the given info object.
- Parameters
-
| elevationInfo | The elevation information obtained through the CoreObject<T>.Infos function. |
- Returns
- Returns an ElevationUi created based on the given information.
- Exceptions
-
| ApiException | Throw if getting elevation failed. |
◆ MoveElevationFrom()
Moves the specified elevation into the calling phase.
- Parameters
-
| sourceElevationInfo | The ElevationInfo of the elevation be copied. |
| elevationName | The name of the copied elevation. |
- Returns
- The ElevationInfo of the copied elevation.
◆ RestoreElevation()
Restore and return the corresponding elevationInfo based on the given information data. A UI window pops when the elevationInfo number of the deleted elevationInfo already exists or when a phase is required
- Parameters
-
| elevationInfo | The elevation information obtained through the CoreObject<T>.Infos function. |
- Returns
- ElevationInfo
- Exceptions
-
| Exception | If restore elevation failed or the passed elevationInfo is not deleted |
The documentation for this class was generated from the following file: