Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Static Public Member Functions | Static Public Attributes | List of all members
GuiItemActions Class Reference
Inheritance diagram for GuiItemActions:
CoreBaseType

Classes

struct  CreateItemNodalPosition
 

Static Public Member Functions

static void group_items (GuiWidget &active_widget)
 
static void combine_items (GuiWidget &active_widget, const unsigned int &mode=0)
 
static void contextualize_items (GuiWidget &active_widget)
 
static void create_shading_layer_for_items (GuiWidget &active_widget, int creation_mode)
 
static void delete_items (GuiWidget &active_widget)
 
static void trash_items (GuiWidget &active_widget)
 
static void instantiate_items (GuiWidget &active_widget)
 
static void context_to_reference (GuiWidget &active_widget)
 
static void reference_to_context (GuiWidget &active_widget)
 
static void revert_items_overrides (GuiWidget &active_widget)
 
static void revert_sub_items_overrides (GuiWidget &active_widget)
 
static void copy_items (GuiWidget &active_widget, bool include_dependencies=false)
 
static void paste_items (GuiWidget &active_widget)
 
static void cut_items (GuiWidget &active_widget)
 
static void make_local_items (GuiWidget &active_widget)
 
static OfItemHandle pick_source_for_instances (GuiApp &app, const CoreVector< OfItemHandle > &selection)
 
static void make_instance_items (GuiWidget &active_widget)
 
static void edit_items (GuiWidget &active_widget, bool make_editable, const CoreVector< OfItemHandle > *input_selection=0)
 
static void toggle_items_display (GuiWidget &active_widget, const bool &display)
 
static void enable_disable_items (GuiWidget &active_widget, const CoreVector< OfItemHandle > &selection, const bool &disable)
 
static void isolate_items (GuiWidget &active_widget, int mode=0)
 
static void isolate_more_items (GuiWidget &active_widget)
 
static void isolate_less_items (GuiWidget &active_widget)
 
static void isolate_swap_items (GuiWidget &active_widget)
 
static void colortag_items (GuiWidget &active_widget, const CoreString &tag)
 
static void isolate_items (GuiWidget &widget, int mode, const CoreVector< OfItemHandle > &selection)
 
static bool is_context_writable (const OfContext &context)
 
static bool is_item_action_instantiate_allowed (OfConstItemHandle item)
 
static bool is_item_action_localize_allowed (OfConstItemHandle item)
 
static bool is_item_action_make_instance_allowed (OfConstItemHandle item)
 
static bool is_item_action_edit_allowed (OfConstItemHandle item)
 
static bool is_item_action_unedit_allowed (OfConstItemHandle item)
 
static bool is_item_action_group_allowed (OfConstItemHandle item)
 
static bool is_item_action_combine_allowed (OfConstItemHandle item)
 
static bool is_item_action_create_shading_layer_allowed (OfConstItemHandle item)
 
static bool is_item_action_copy_allowed (OfConstItemHandle item)
 
static bool is_item_action_cut_allowed (OfConstItemHandle item)
 
static bool is_item_action_paste_allowed (OfConstItemHandle item)
 
static bool is_item_action_revert_overrides_allowed (OfConstItemHandle item)
 
static bool is_item_action_delete_allowed (OfConstItemHandle item)
 
static bool is_item_action_rename_allowed (OfConstItemHandle item)
 
static bool is_item_action_disable_allowed (OfConstItemHandle item)
 
static bool is_item_action_enable_allowed (OfConstItemHandle item)
 
static bool is_item_action_move_allowed (OfConstItemHandle item, const OfContext *destination_ctx)
 
static bool is_item_action_copy_to_allowed (OfConstItemHandle item, const OfContext &destination_ctx, const bool allow_in_parent_context)
 
static bool is_item_action_instantiate_allowed (OfConstItemHandle item, const OfContext &destination_ctx)
 
static void build_item_creation_menu (GuiMenu &menu, const OfClass *filter_class, const OfContext *creation_context=0, const bool &allow_context_creation=true, const bool &allow_scene_assembly=false, GuiAction::Function creation_function=(GuiAction::Function) GuiItemActions::on_create_item)
 
static void build_item_creation_menu (GuiMenu &menu, const CoreVector< const OfClass * > &filter_classes, const OfContext *creation_context=0, const bool &allow_context_creation=true, const bool &allow_scene_assembly=false, GuiAction::Function creation_function=(GuiAction::Function) GuiItemActions::on_create_item)
 
static GuiMenupopulate_classes_categories (GuiMenu &root_menu, GuiMenu &current_submenu, const CoreString &root_cat, const CoreVector< const OfClass * > &filter_classes, const OfContext *creation_context, GuiAction::Function creation_function=(GuiAction::Function) GuiItemActions::on_create_item)
 
static GuiMenupopulate_scene_assembly_content (GuiMenu &root_menu, bool enable_context, const OfContext *creation_context, GuiAction::Function creation_function)
 
static bool add_create_class (GuiMenu &menu, const OfClass &of_class, const OfContext *creation_context, GuiAction::Function creation_function=(GuiAction::Function) GuiItemActions::on_create_item)
 
static const CoreStringget_class_creation_shortcut (const OfClass &of_class)
 
static bool process_shortcut_creation_class (GuiWidget &widget_from, const CoreString &shortcut, const OfContext *creation_context=0)
 
static void on_create_item (GuiWidget &widget, const GuiAction &action, void *data)
 
static OfObjectHandle process_create_item (GuiWidget &widget_from, const OfClass &creation_class, const OfContext *input_context, bool feed_filename=false, const CoreVector< CoreString > &filenames=CoreVector< CoreString >())
 
static void on_create_context (GuiWidget &widget, const GuiAction &action, void *data)
 
static void on_create_reference (GuiWidget &widget, const GuiAction &action, void *data)
 
static void on_create_scene_assembly (GuiWidget &widget, const GuiAction &action, void *data)
 
static OfContextprocess_create_context (GuiWidget &widget_from, const OfContext *input_context, bool as_reference=false)
 
static OfContextprocess_create_scene_assembly_item (GuiWidget &widget_from, const OfContext *input_context, const CoreClassInfo *class_info, bool feed_filename=false, const CoreVector< CoreString > &filenames=CoreVector< CoreString >())
 
static bool import_build_package (GuiWidget &widget_from, OfContext &package)
 
static bool export_as_build_package (GuiWidget &active_widget, int mode)
 
static void get_browser_extensions (const CoreBasicArray< CoreString > &extensions, CoreString &filter)
 
static CreateItemNodalPositionhas_nodal_preferred_position (GuiWidget &widget)
 
static CoreVector< OfItemHandleget_selection (GuiWidget &active_widget)
 
- Static Public Member Functions inherited from CoreBaseType
static const CoreClassInfoclass_info ()
 Get the type descriptor of this instance.
 

Static Public Attributes

static CoreString s_custom_data_preselected_item = "menu_preselected_item"
 

Additional Inherited Members

- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 

Class Documentation

struct GuiItemActions::CreateItemNodalPosition
Class Members
GMathVec2i pos
CoreString slot