Class: UU::OS::MetaArtifact::MetaArtifactDefaultPresentationAttributes
- Inherits:
-
REST::DTO
- Object
- REST::DTO
- UU::OS::MetaArtifact::MetaArtifactDefaultPresentationAttributes
- Defined in:
- uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb
Overview
Attributes of the meta artifact template presentation setting.
Instance Attribute Summary (collapse)
-
- (Object) artifact_display_mode
Show simple or advanced context menu.
-
- (Object) artifact_width
Width of the artifact.
-
- (Object) comment_display_mode
Show/hide comments.
- - (Object) context_menu_display_mode deprecated Deprecated.
-
- (Object) control_bar_display_mode
Show/hide control bar.
-
- (Object) header_display_mode
Header type.
-
- (Object) lock_artifact_settings
This option forbids the modification of artifact presentation settings on artifacts created from this meta artifact.
-
- (Object) lock_personal_settings
This option forbids any change of artifact presentation through user settings.
-
- (Object) lock_settings
deprecated
Deprecated.
Use #lock_personal_settings and #lock_artifact_settings instead.
-
- (Object) meta_artifact_uri
Normalized UESURI of the meta artifact.
-
- (Object) navigation_area_display_mode
Show/hide navigation area when displaying sheet content.
-
- (Object) visual_style
Represents visual style.
Method Summary
Methods inherited from REST::DTO
#initialize, #to_hash, #to_json
Constructor Details
This class inherits a constructor from UU::OS::REST::DTO
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO
Instance Attribute Details
- (Object) artifact_display_mode
Show simple or advanced context menu. Never nil. Possible values see in Artifact::ArtifactDisplayMode.
28 29 30 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 28 def artifact_display_mode @artifact_display_mode end |
- (Object) artifact_width
Width of the artifact. Never nil. Possible values see in Artifact::ArtifactWidthType.
13 14 15 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 13 def artifact_width @artifact_width end |
- (Object) comment_display_mode
Show/hide comments. Never nil. Possible values see in Artifact::ArtifactCommentsDisplayMode.
22 23 24 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 22 def comment_display_mode @comment_display_mode end |
- (Object) context_menu_display_mode
25 26 27 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 25 def @context_menu_display_mode end |
- (Object) control_bar_display_mode
Show/hide control bar. Never nil. Possible values see in Artifact::ArtifactControlBarDisplayMode.
19 20 21 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 19 def @control_bar_display_mode end |
- (Object) header_display_mode
Header type. Never nil. Possible values see in Artifact::ArtifactHeaderDisplayMode.
16 17 18 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 16 def header_display_mode @header_display_mode end |
- (Object) lock_artifact_settings
This option forbids the modification of artifact presentation settings on artifacts created from this meta artifact. The artifacts will be displayed based on the meta artifact's presentation template and general user settings regardless of the artifact presentation settings.
37 38 39 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 37 def lock_artifact_settings @lock_artifact_settings end |
- (Object) lock_personal_settings
This option forbids any change of artifact presentation through user settings. The artifacts created from this meta artifact will be displayed based on the meta artifact's presentation template (or based on artifact presentation settings if they're not locked) regardless of the general user settings.
34 35 36 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 34 def lock_personal_settings @lock_personal_settings end |
- (Object) lock_settings
Use #lock_personal_settings and #lock_artifact_settings instead.
31 32 33 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 31 def lock_settings @lock_settings end |
- (Object) meta_artifact_uri
Normalized UESURI of the meta artifact. Never nil.
10 11 12 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 10 def @meta_artifact_uri end |
- (Object) navigation_area_display_mode
Show/hide navigation area when displaying sheet content. Navigation area contains navigation bar, header, heading and control bar. Possible values see in Artifact::ArtifactNavigationAreaDisplayMode.
44 45 46 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 44 def @navigation_area_display_mode end |
- (Object) visual_style
Represents visual style. Possible values see in Artifact::ArtifactVisualStyle.
40 41 42 |
# File 'uu_os-0.29.16/lib/uu/os/meta_artifact/meta_artifact_default_presentation_attributes.rb', line 40 def visual_style @visual_style end |