indexing description: "Resource valid for the system tool."; date: "$Date$"; revision: "$Revision$" class SYSTEM_PREF_CAT inherit EB_CONSTANTS rename System_resources as associated_category export {NONE} all end; PREFERENCE_CATEGORY redefine init_colors end create make feature {NONE} -- Initialization update_resources is -- Update `resources'. do create tool_width.make (associated_category.tool_width); create tool_height.make (associated_category.tool_height); create command_bar.make (associated_category.command_bar); create parse_ace_after_saving.make (associated_category.parse_ace_after_saving); --!! arr_hidden_clusters.make (associated_category.hidden_clusters); resources.extend (tool_width) resources.extend (tool_height) resources.extend (command_bar) resources.extend (parse_ace_after_saving) --resources.extend (arr_hidden_clusters) end; init_colors is -- Initialize the colors of the page. local att: WINDOW_ATTRIBUTES do create att; att.set_composite_attributes (Current) end feature {PREFERENCE_TOOL} -- Initialization init_visual_aspects (a_menu: MENU_PULL; a_button_parent, a_parent: COMPOSITE) is -- Initialize Currrent's visual aspects. local button: EB_PREFERENCE_BUTTON; menu_entry: PREFERENCE_TICKABLE_MENU_ENTRY do create button.make (Current, a_button_parent); create menu_entry.make (Current, a_menu); create holder.make (button, menu_entry); make_row_column (name, a_parent) end feature -- Properties name: STRING is "System tool preferences" -- Current's name symbol: PIXMAP is once Result := Pixmaps.bm_System end; feature {NONE} -- Resources tool_width, tool_height: INTEGER_PREF_RES; command_bar, parse_ace_after_saving: BOOLEAN_PREF_RES; --arr_hidden_clusters: ARRAY_PREF_RES end -- class SYSTEM_PREF_CAT