Customizing MarvinSketch GUI

You can personalize the user interface to better suit your needs or style.
For example, you can reorganize the menu bar, you can create, delete or modify toolbars, and many more.
Any changes you make will become your personal default environment, though you can restore the default settings any time.

Basic Changes

Moving Toolbars

To move a toolbar, drag it by its separator bar, which is located at the left edge of horizontal toolbars or at the top of vertical toolbars.
(Note, that depending on the Look&Feel you currently use, the separator bar might be harder to notice and drag.)
While dragging the toolbar, you can see a colored border around it, indicating the place and direction the toolbar will have if you finish dragging. Depending on the current Look&Feel the colors of the border are different. For example, using JGoodies SkyBluer Look&Feel theme, light-blue border means that the toolbar will float, while dark-blue shows that the toolbar will be docked. If you set a toolbar to be floating, you can dock it back by closing it.

Hide/Show Toolbars

You can change the visibility of toolbars in the View > Toolbars menu.

Hide/Show Menu Bar

To hide the Menubar, choose View > Menubar. To show it, press F11 after clicking on the canvas.

Hide/Show Status Bar

View > Status Bar turns the Status Bar on or off.

Advanced Changes

The graphical user interface of MarvinSketch can interactively be personalized using the View > Editor Style > Customize... dialog.
Note that the customization related functions usually do not ask for confirmation before taking action to make the procedure faster. The original interface can be restored any time by choosing View > Editor Style > Reset current configuration.

Menus



By choosing a menu from the Menus list, the contents of the selected menu will be listed in the Menu Contents.
With selecting a menu entry, its detailed help text will appear in the Details field. If a black triangle is visible on the right side of a menu entry, it means that this entry is a Submenu. To list the contents of the submenu, select it from the Menus list.

List of the available Menu commands

New Creates a new menu and places it at the end of the Menu Bar.
Menu > Move Allows altering the position of main menus.
Menu > Rename Renaming a menu in an appearing dialog.
Menu > Delete Removes a menu with all of its contents.

List of the available Menu Contents commands



Add Makes the above Add Commands dialog visible, where you can browse all available commands of MarvinSketch. The commands are organized to Categories, and are listed in alphabetical order.
Move Up/Down Moves a menu element by one position in the container menu.
Modify > Add Submenu Adds a new submenu after the currently selected element.
Modify > Begin a Group Adds a menu separator after the currently selected element.
Modify > Rename Renames a sumbenu or menu element. You can also change the mnemonics by replacing the & sign in the name.
Modify > Delete Removes the menu element or submenu.

Popups

The customization of Pop-up menus are similar to normal menus. However it is not possible to remove, rename or create a new Pop-up menu, you can only change the contents of the available Pop-up menus. The reason for this is that these menus are context-sensitive, and their name and existence are bound to the underlying contexts.

Toolbars


Note, that the Advanced Templates Toolbar is not possible to be customized.

List of the available Toolbar commands

Use Large Icons When checked, all toolbar buttons have 24x24 pixel sized icons, otherwise the 16x16 pixel versions. By default the large icons are used.
New Creates a new toolbar and places it north to the first row having some space on the right-hand side.
Toolbar > Rename Renaming a toolbar in an appearing dialog.
Toolbar > Delete Removes a toolbar with all of its contents.
Toolbar > Icons Only The buttons contained by this toolbar will be shown by icon only. Those commands that does not have a corresponding icon defined will be shown by text in this case too.
Toolbar > Text Only The buttons contained by this toolbar will be shown by text only.
Toolbar > Icons & Text Icon and text will also be shown for the buttons contained by this toolbar. The text is appearing below the icon.

List of the available Toolbar Contents commands

Add Makes the Add Commands dialog visible, where you can browse all available commands of MarvinSketch. The commands are organized to Categories, and are listed in alphabetical order.
Move Up/Down Moves a toolbar element by one position in the container toolbar.
Modify > Rename Renames an element. You can also change the mnemonics by replacing the & sign in the name.
Modify > Delete Removes the element or separator.
Modify > Begin a Group Adds a toolbar separator after the currently selected element.

Keymap

It is possible to define and switch between Keymap Shemes, where all Sheme is a different shortcut-set.
On the Keymap tab, you can browse all available commands of MarvinSketch to define shortcuts to any of the commands you would like to.


Only one scheme can be active at a time. A scheme can be made active by selecting and pressing the Activate button. If a scheme is based on another it means that all of the shortcuts are inherited from the base scheme, though they can be overwritten one-by-one. Duplicating a scheme will create and activate a new scheme which will be based upon the previously selected one. Shemes - except the default one - can also be Removed.

Adding shortcuts

A shortcut can be added by focusing the Shortcut field, and pressing the desired shortcut combination, for example F1. If the shortcut already exists, a warning message appears, and shows which command has the activated shortcut.


The Tab button is required if you would like to use the Tab key for a shortcut, because if you press Tab in the Shortcut field, it will loose the focus instead of defining the shortcut.
The Clear button helps you to remove the shortcut from the field, because pressing the Backspace button defines a new shortcut instead of removing it.

This document described the interactive way of customizing the user interface using the user interface itself. Another way of personalization is shown in the Configurations document.

The same method can be used on server side as well.

Special commands

There are a few elements which are not part of the default configuration of MarvinSketch but you can add it via the customization dialog. These are:

Changing the default Look & Feel

The default Look&Feel (skin) can be changed by editing the marvin.properties file (in the user's home/chemaxon directory) and inserting/changing the "skin=..." line to the following: