ARB
|
#include "SEC_root.hxx"
#include "SEC_graphic.hxx"
#include "SEC_helix.hxx"
#include "SEC_drawn_pos.hxx"
#include "SEC_toggle.hxx"
#include <BufferedFileReader.h>
#include <aw_awars.hxx>
#include <aw_preset.hxx>
#include <aw_file.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <aw_question.hxx>
#include <mode_text.h>
#include <arb_file.h>
#include <awt_config_manager.hxx>
#include <ad_cb_prot.h>
Go to the source code of this file.
Macros | |
#define | ASS "ARB secondary structure v1" |
#define | ASS_START "[" ASS "]" |
#define | ASS_EOS "[end of structure]" |
#define | ASS_EOF "[end of " ASS "]" |
Enumerations | |
enum | SyncColors { COLOR_SYNC_SEARCH = 1, COLOR_SYNC_RANGE = 2, COLOR_SYNC_REST = 4, COLOR_SYNC_ALL = (COLOR_SYNC_SEARCH|COLOR_SYNC_RANGE|COLOR_SYNC_REST) } |
Variables | |
static AWT_config_mapping_def | secedit_display_config_mapping [] |
#define ASS "ARB secondary structure v1" |
Definition at line 242 of file SEC_main.cxx.
#define ASS_START "[" ASS "]" |
Definition at line 243 of file SEC_main.cxx.
Referenced by export_structure_to_file(), and import_structure_from_file().
#define ASS_EOS "[end of structure]" |
Definition at line 244 of file SEC_main.cxx.
Referenced by export_structure_to_file(), and import_structure_from_file().
#define ASS_EOF "[end of " ASS "]" |
Definition at line 245 of file SEC_main.cxx.
Referenced by export_structure_to_file(), and import_structure_from_file().
enum SyncColors |
Enumerator | |
---|---|
COLOR_SYNC_SEARCH | |
COLOR_SYNC_RANGE | |
COLOR_SYNC_REST | |
COLOR_SYNC_ALL |
Definition at line 517 of file SEC_main.cxx.
|
static |
Definition at line 179 of file SEC_main.cxx.
References aw_message(), SEC_db_interface::canvas(), error(), SEC_structure_toggler::next(), AWT_canvas::request_refresh(), and SEC_db_interface::structure().
Referenced by start_SECEDIT_plugin().
Definition at line 186 of file SEC_main.cxx.
References SEC_root::position_cursor().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 190 of file SEC_main.cxx.
References SEC_db_interface::canvas(), and AWT_canvas::request_zoom_reset().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 195 of file SEC_main.cxx.
References AW_root::awar(), AWAR_FOOTER, AWAR_FOOTER_MAX_LEN, AWT_MODE_CURSOR, AWT_MODE_EDIT, AWT_MODE_FOLD, AWT_MODE_PINFO, AWT_MODE_ROTATE, AWT_MODE_SETROOT, AWT_MODE_STRETCH, AWT_MODE_ZOOM, SEC_db_interface::canvas(), SEC_root::get_db(), AW_window::get_root(), MODE_TEXT_1BUTTON, MODE_TEXT_2BUTTONS, MODE_TEXT_STANDARD_ZOOMMODE, no_mode_text_defined(), NULp, AWT_canvas::request_refresh(), SEC_ANY_TYPE, sec_assert, SEC_NO_TYPE, AWT_canvas::set_mode(), SEC_root::set_show_constraints(), and AW_awar::write_string().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 226 of file SEC_main.cxx.
References aw_message(), SEC_db_interface::canvas(), error(), GB_begin_transaction(), GB_commit_transaction(), gb_main, GB_undo(), SEC_db_interface::gbmain(), and AWT_canvas::request_refresh().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 247 of file SEC_main.cxx.
References ASS_EOF, ASS_EOS, ASS_START, aw_message(), AW_root::awar(), AWAR_SECEDIT_SAVEDIR, SEC_db_interface::awroot(), SEC_root::buildStructureString(), error(), fputc(), fputs(), GB_export_errorf(), GB_unlink_or_warn(), SEC_root::get_helixDef(), SEC_root::get_root_loop(), XString::get_x_string(), XString::get_x_string_length(), SEC_root::get_xString(), NULp, AW_awar::read_string(), sec_assert, SEC_xstring_to_foldedHelixList(), and SEC_db_interface::secroot().
Referenced by SEC_importExport().
Definition at line 294 of file SEC_main.cxx.
References GBS_global_string().
Referenced by expectContent(), expectToken(), and import_structure_from_file().
|
inline |
Definition at line 297 of file SEC_main.cxx.
References error(), expectedError(), LineReader::getLine(), line, and NULp.
Referenced by import_structure_from_file().
|
static |
Definition at line 306 of file SEC_main.cxx.
References LineReader::getLine(), line, and sec_assert.
Referenced by expectToken(), and import_structure_from_file().
|
static |
Definition at line 329 of file SEC_main.cxx.
References error(), expectedError(), NULp, and scanToken().
Referenced by import_structure_from_file().
|
static |
Definition at line 336 of file SEC_main.cxx.
References ASS_EOF, ASS_EOS, ASS_START, aw_message(), AW_root::awar(), AWAR_SECEDIT_SAVEDIR, SEC_db_interface::awroot(), SEC_db_interface::canvas(), error(), expectContent(), expectedError(), expectToken(), GB_export_errorf(), GBS_global_string(), GBS_static_string(), SEC_root::get_helixDef(), SEC_root::get_xString(), XString::getLength(), LineReader::getLine(), SEC_db_interface::graphic(), SEC_root::has_xString(), line, LineReader::lineError(), NULp, old_decode_xstring_rel_helix(), AW_awar::read_string(), AWT_canvas::request_refresh(), scanToken(), SEC_foldedHelixList_to_xstring(), and SEC_db_interface::secroot().
Referenced by SEC_importExport().
|
static |
Definition at line 418 of file SEC_main.cxx.
References AW_create_standard_fileselection(), AW_POPDOWN(), AWAR_SECEDIT_SAVEDIR, export_structure_to_file(), import_structure_from_file(), AW_window::load_xfig(), and makeHelpCallback().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 449 of file SEC_main.cxx.
References aw_input(), SEC_db_interface::canvas(), SEC_structure_toggler::name(), AWT_canvas::request_refresh(), and SEC_db_interface::structure().
Referenced by SEC_new_structure(), and start_SECEDIT_plugin().
|
static |
Definition at line 461 of file SEC_main.cxx.
References aw_question(), SEC_db_interface::canvas(), SEC_structure_toggler::copyTo(), SEC_root::create_default_bone(), error(), GBS_global_string(), SEC_db_interface::graphic(), SEC_db_interface::init_toggler(), SEC_structure_toggler::name(), NULp, AWT_canvas::request_zoom_reset(), sec_assert, SEC_rename_structure(), SEC_db_interface::secroot(), and SEC_db_interface::structure().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 501 of file SEC_main.cxx.
References aw_ask_sure(), aw_message(), SEC_db_interface::canvas(), error(), GBS_global_string(), SEC_structure_toggler::getCount(), SEC_structure_toggler::name(), SEC_structure_toggler::remove(), AWT_canvas::request_refresh(), and SEC_db_interface::structure().
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 525 of file SEC_main.cxx.
References AW_copy_GC_colors(), COLOR_SYNC_RANGE, COLOR_SYNC_REST, COLOR_SYNC_SEARCH, AW_window::get_root(), and NULp.
Referenced by start_SECEDIT_plugin().
Definition at line 551 of file SEC_main.cxx.
References AW_POPDOWN(), AWAR_SECEDIT_BOND_SYMBOLS_EDIT4, AWAR_SECEDIT_BOND_SYMBOLS_TRANS, makeHelpCallback(), and AW_window::reset_layout().
Referenced by SEC_create_display_window().
Definition at line 603 of file SEC_main.cxx.
References AW_POPDOWN(), AW_ROOT_DEFAULT, AW_SCALER_EXP_LOWER, AWAR_SECEDIT_BOND_THICKNESS, AWAR_SECEDIT_DISPLAY_SAI, AWAR_SECEDIT_DISPLAY_SEARCH, AWAR_SECEDIT_DISPPOS_BINDING, AWAR_SECEDIT_DISPPOS_ECOLI, AWAR_SECEDIT_DIST_BETW_STRANDS, AWAR_SECEDIT_HIDE_BASES, AWAR_SECEDIT_SHOW_BONDS, AWAR_SECEDIT_SHOW_CURPOS, AWAR_SECEDIT_SHOW_DEBUG, AWAR_SECEDIT_SHOW_ECOLI_POS, AWAR_SECEDIT_SHOW_HELIX_NRS, AWAR_SECEDIT_SHOW_STR_SKELETON, AWAR_SECEDIT_SKELETON_THICKNESS, AWT_insert_config_manager(), makeHelpCallback(), NULp, SCALER_WIDTH, SEC_create_bonddef_window(), SHOW_ABS_CURPOS, SHOW_BASE_CURPOS, SHOW_ECOLI_CURPOS, SHOW_HELIX_BONDS, SHOW_NHELIX_BONDS, SHOW_NO_BONDS, and SHOW_NO_CURPOS.
Referenced by start_SECEDIT_plugin().
Definition at line 712 of file SEC_main.cxx.
Referenced by start_SECEDIT_plugin().
|
static |
Definition at line 717 of file SEC_main.cxx.
References AW_create_gc_window_named().
Referenced by start_SECEDIT_plugin().
AW_window* start_SECEDIT_plugin | ( | ED4_plugin_host & | host | ) |
Definition at line 721 of file SEC_main.cxx.
References AW_window::at(), AW_window::at_newline(), AW_window::auto_space(), AW_AT_MAXSIZE, AW_help_entry_pressed(), AW_POPDOWN(), AWAR_FOOTER, AWAR_FOOTER_MAX_LEN, awm, AWM_ALL, AWT_MODE_CURSOR, AWT_MODE_EDIT, AWT_MODE_FOLD, AWT_MODE_PINFO, AWT_MODE_ROTATE, AWT_MODE_SETROOT, AWT_MODE_STRETCH, AWT_MODE_ZOOM, AWT_popup_print_window(), AWT_popup_sec_export_window(), AW_window::button_length(), AW_window::callback(), COLOR_SYNC_ALL, COLOR_SYNC_RANGE, COLOR_SYNC_REST, COLOR_SYNC_SEARCH, AW_window::create_button(), AW_window::create_menu(), AW_window::create_mode(), GB_atclose_callback(), gb_main, GB_UNDO_REDO, GB_UNDO_UNDO, AWT_canvas::gc_manager, ED4_plugin_host::get_application_root(), AW_window::get_at_yposition(), ED4_plugin_host::get_database(), SEC_root::get_db(), AW_window::get_window_id(), AW_window::help_text(), AW_window_menu_modes::init(), SEC_root::init(), AW_window::insert_menu_topic(), AW_at_storage::make(), makeHelpCallback(), NULp, AWT_canvas::request_resize(), AW_window::restore_at_from(), SEC_center_cb(), SEC_create_display_window(), SEC_create_gc_window(), SEC_delete_structure(), SEC_exit(), SEC_fit_window_cb(), SEC_importExport(), sec_mode_event(), SEC_new_structure(), SEC_rename_structure(), SEC_sync_colors(), SEC_toggle_cb(), SEC_undo_cb(), AW_window::sep______________(), AW_window::set_info_area_height(), and AWT_canvas::set_mode().
|
static |
Definition at line 581 of file SEC_main.cxx.