/Freeplane_TabbedPanelMod

This add-on changes the tabs in the tabbed panel (Tool panel) to the right and changes the labels to icons.

Primary LanguageGroovyMIT LicenseMIT

TabbedPanelMod Add-on

This add-on changes the tabbed panel (Tool panel) layout.

It places its tabs to the right and changes the labels to icons.

  • Default (windows) Look&Feel
    • TabsToTheRight.png
  • Flat Darkula Look&Feel
    • Flat_Darkula.png

Menu:

  • Edo Tools->TabbedPanelMod->Tabbed panel mod

Video:

Image.005.mp4

Features

  • Tabs are placed at the right side of the Tabbed Panel and the labels are replaced by icons (to minimize screen space used)
  • The user can modify the tab panel's width for each tab independently
  • When clicking on a tab, its content is shown and resized to its own defined width
  • When clicking again on an already selected tab, the Tab panel minimizes itself hiding its content but tabs stay visible to show their content easily
  • To return to the standard TabbedPanel layout, execute the menu command again
    • Edo Tools->TabbedPanelMod->Tabbed panel mod

Images

Tabbed panel (tools panel)

  • in its standard layout
  • before executing the TabbedPanelMod command
  • Tabs are on the top side of the panel
  • Standard.png

After applying TabbedPanelMod

  • Menu:
    • Edo Tools->TabbedPanelMod->Tabbed panel mod
  • Tabs are now placed on the right side of the panel
  • The tabs labels are replaced with icons
  • The former text of the labels are now used as ToolTipText for the tabs
  • TabsToTheRight.png

Tabbed panel minimized

  • After clicking again on the selected tab.
  • Content is hidden
  • Tabs are still visible
  • minimizedClickedAgain.png

Works with different Look&Feels

- Flat LaF

L&F example L&F example
Flat Light Flat Light Flat IntelliJ Flat IntelliJ
Flat Solarized Flat Solarized Flat Dark Flat Dark
Flat Darkula Flat Darkula Atom One
Dark Contrast
Flat Dark Material

- Classic LaF

L&F example L&F example
Windows Windows Windows
Classic
Windows Classic
Nimbus Nimbus Metal Metal
CDE
Motif
CDE Motif

Additional information

  • the icons used for the tabs are placed in
    • Icons->User icons->TabbedPanelMod->...
  • the script selects the icon for the tab using this logic:
    • if there is an icon that is named equal than the tab's label text, then: use it
    • else: use the icon that is named as the tabs number
      • starting with 0
      • the first 4 (00.svg to 03.svg) are used for the standard tabs in Freeplane
  • if another add-on or script creates an additional tab, you can add an icon for it
    • for example, using the devtools addon
    • or adding it manually in the user directory
      • <userdirectory>/icons/tabbedPanelMod/
    • for its name you have to consider the logic explained in the previous point.

Best regards,

edoFro