|
Nemiver
0.3
|
#include <nmv-dbg-perspective.h>
Public Member Functions | |
| IDBGPerspective (DynamicModule *a_dynmod) | |
| virtual | ~IDBGPerspective () |
| virtual void | do_init (IWorkbench *a_workbench)=0 |
| virtual const UString & | get_perspective_identifier ()=0 |
| virtual void | get_toolbars (list< Gtk::Widget * > &a_tbs)=0 |
| virtual Gtk::Widget * | get_body ()=0 |
| virtual Gtk::Widget & | get_source_view_widget ()=0 |
| virtual IWorkbench & | get_workbench ()=0 |
| virtual void | edit_workbench_menu ()=0 |
| virtual void | open_file ()=0 |
| open a source file More... | |
| virtual bool | open_file (const UString &a_uri, int current_line=-1)=0 |
| open a source file from a url More... | |
| virtual void | close_current_file ()=0 |
| close the currently selected file More... | |
| virtual void | close_file (const UString &a_uri)=0 |
| closes a file More... | |
| virtual Gtk::Widget * | load_menu (const UString &a_filename, const UString &a_widget_name)=0 |
| load a menu file More... | |
| virtual void | close_opened_files ()=0 |
| virtual ISessMgr & | session_manager ()=0 |
| virtual void | execute_session (ISessMgr::Session &a_session)=0 |
| virtual void | execute_program ()=0 |
| virtual void | execute_program (const UString &a_prog, const vector< UString > &a_args, const map< UString, UString > &a_env, const UString &a_cwd=".", bool a_close_opened_files=false, bool a_break_in_main_run=true)=0 |
| virtual void | execute_program (const UString &a_prog, const vector< UString > &a_args, const map< UString, UString > &a_env, const UString &a_cwd, const vector< IDebugger::Breakpoint > &a_breaks, bool a_check_is_new_program=true, bool a_close_opened_files=false, bool a_break_in_main_run=true)=0 |
| virtual void | attach_to_program (unsigned int a_pid, bool a_close_open_files=false)=0 |
| virtual void | connect_to_remote_target (const UString &a_server_address, unsigned a_server_port, const UString &a_prog_path, const UString &a_solib_prefix)=0 |
| virtual void | connect_to_remote_target (const UString &a_serial_line, const UString &a_prog_path, const UString &a_solib_prefix)=0 |
| virtual void | load_core_file ()=0 |
| virtual void | load_core_file (const UString &a_prog_path, const UString &a_core_file_path)=0 |
| virtual void | run ()=0 |
| virtual void | step_over ()=0 |
| virtual void | step_into ()=0 |
| virtual void | step_out ()=0 |
| virtual void | do_continue ()=0 |
| virtual void | set_breakpoint ()=0 |
| virtual void | set_breakpoint (const UString &a_file, int a_line, const UString &a_condition, bool a_is_count_point)=0 |
| virtual void | set_breakpoint (const UString &a_func_name, const UString &a_condition, bool a_is_count_point)=0 |
| virtual void | set_breakpoint (const IDebugger::Breakpoint &a_breakpoint)=0 |
| virtual void | append_breakpoints (const map< string, IDebugger::Breakpoint > &a_breaks)=0 |
| virtual bool | delete_breakpoint ()=0 |
| virtual bool | delete_breakpoint (const string &a_breakpoint_num)=0 |
| virtual bool | delete_breakpoint (const UString &a_file_uri, int a_linenum)=0 |
| virtual IDebuggerSafePtr & | debugger ()=0 |
| virtual bool | set_where (const UString &a_uri, int line, bool a_do_scroll=true)=0 |
| virtual Gtk::Widget * | get_contextual_menu ()=0 |
| virtual IConfMgr & | get_conf_mgr ()=0 |
| virtual bool | uses_launch_terminal () const =0 |
| virtual void | uses_launch_terminal (bool a_flag)=0 |
| virtual sigc::signal< void, bool > & | activated_signal ()=0 |
| virtual sigc::signal< void > & | layout_changed_signal ()=0 |
| virtual bool | agree_to_shutdown ()=0 |
| Should return true to allow shutdown. This Method will be called for each perspective before workbench initiates a shutdown (). This is a chance given to the perspective to veto the shutdown (). Each perspective has to implement this function wherein it can decide for itself whether it wants to veto the shutdown or not. Returning 'true' from here means that the perspective is ok with the shutdown returning 'false' vetoes the shutdown and nemiver does not go down. More... | |
signals | |
Public Member Functions inherited from nemiver::common::Plugin::EntryPoint | |
| bool | build_absolute_resource_path (const UString &a_relative_path, std::string &a_absolute_path) |
| const UString & | plugin_path () |
| virtual | ~EntryPoint () |
| DescriptorSafePtr | descriptor () |
Public Member Functions inherited from nemiver::common::DynModIface | |
| DynModIface (DynamicModuleSafePtr &a_dynmod) | |
| DynModIface (DynamicModule *a_dynmod) | |
| DynamicModule & | get_dynamic_module () const |
Public Member Functions inherited from nemiver::common::Object | |
| Object () | |
| Object (Object const &) | |
| Object & | operator= (Object const &) |
| virtual | ~Object () |
| void | ref () |
| void | unref () |
| void | enable_refcount (bool a_enabled=true) |
| bool | is_refcount_enabled () const |
| long | get_refcount () const |
| void | attach_object (const UString &a_key, const Object *a_object) |
| bool | get_attached_object (const UString &a_key, const Object *&a_object) |
Additional Inherited Members | |
Public Types inherited from nemiver::common::Plugin::EntryPoint | |
| typedef SafePtr< Loader, ObjectRef, ObjectUnref > | LoaderSafePtr |
Protected Member Functions inherited from nemiver::IPerspective | |
| IPerspective (DynamicModule *a_dynmod) | |
Protected Member Functions inherited from nemiver::common::Plugin::EntryPoint | |
| Plugin::EntryPoint::LoaderSafePtr | plugin_entry_point_loader () |
| void | plugin_entry_point_loader (Plugin::EntryPoint::LoaderSafePtr &) |
| EntryPoint (DynamicModuleSafePtr &a_module) | |
| EntryPoint (DynamicModule *a_module) | |
| virtual void | activate (bool a_activate, ObjectSafePtr &a_activation_context) |
| virtual bool | is_activated () |
| void | descriptor (DescriptorSafePtr &a_desc) |
Protected Attributes inherited from nemiver::common::Object | |
| SafePtr< ObjectPriv > | m_priv |
|
inline |
|
inlinevirtual |
|
pure virtual |
This signal is emited to notify the perspective about its activation state (whether it is activated or not).
Implements nemiver::IPerspective.
|
pure virtual |
Should return true to allow shutdown. This Method will be called for each perspective before workbench initiates a shutdown (). This is a chance given to the perspective to veto the shutdown (). Each perspective has to implement this function wherein it can decide for itself whether it wants to veto the shutdown or not. Returning 'true' from here means that the perspective is ok with the shutdown returning 'false' vetoes the shutdown and nemiver does not go down.
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
|
pure virtual |
close the currently selected file
Implements nemiver::IPerspective.
|
pure virtual |
closes a file
| a_uri | the uri that identifies the file to close |
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
initialize the perspective within the context of of the workbench that loads it.
| a_workbench,the | workbench that loaded the current perspective. |
Implements nemiver::IPerspective.
|
pure virtual |
This method is only called once, during the perspective's initialisation time, by the workbench.
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Get a unique identifier of the perspective. It is a good practice that this remains legible.
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
this method is called by the Workbench when the perspective is first set in it. \params a_tbs the list of toolbars. The implementation of this method must fill this parameter with the list of toolbars it wants the workbench to display when this perspective becomes active.
Implements nemiver::IPerspective.
|
pure virtual |
Implements nemiver::IPerspective.
|
pure virtual |
This signal is emited to notify the workbench when the layout of the perspective changes.
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
|
pure virtual |
load a menu file
| a_filename | the file name of the menu file. It's relative to the "menus" subdirectory of the perspective |
| a_widget_name | the name of the widget to return as the root of the menu. |
Implements nemiver::IPerspective.
|
pure virtual |
open a source file
Let the user choose the set of files to open via a file chooser dialog and open them.
Implements nemiver::IPerspective.
|
pure virtual |
open a source file from a url
| a_uri | the uri of the file to open |
| a_cur_line | the line to flag as being the current exceution line if set to -1, this parameter is ignored. |
Implements nemiver::IPerspective.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
1.8.17