Editor.Panel

Methods

Editor.Panel.close (panelID)

  • panelID string - The panel ID

Close a panel via panelID.

Editor.Panel.dock (panelID, frameEL)

  • panelID string - The panel ID
  • frameEL HTMLElement - The panel frame

Cache a panel frame and send editor:panel-dock to main

Editor.Panel.dumpLayout ()

Dump the layout of the panels in current window.

Editor.Panel.newFrame (panelID, cb)

  • panelID string - The panel ID
  • cb function

Create a simple panel frame via panelID.

Editor.Panel.extend (proto)

  • proto object

Extends a panel.

Editor.Panel.find (panelID)

  • panelID string - The panel ID

Find panel frame via panelID.

Editor.Panel.focus (panelID)

  • panelID string - The panel ID

Focus panel via panelID.

Editor.Panel.getFocusedPanel ()

Get current focused panel.

Editor.Panel.getPanelInfo (panelID)

  • panelID string - The panel ID

Get panel info via panelID.

Editor.Panel.isDirty (panelID)

  • panelID string - The panel ID

Check if the specific panel is dirty.

Editor.Panel.open (panelID, argv)

  • panelID string - The panel ID
  • argv object

Open a panel via panelID.

Editor.Panel.popup (panelID)

  • panelID string - The panel ID

Popup an exists panel via panelID.

Editor.Panel.undock (panelID)

  • panelID string - The panel ID

Remove a panel element from document but do not close it.

Properties

Editor.Panel.panels

Get panels docked in current window.

IPC Messages

Message: 'editor:panel-run'

Message: 'editor:panel-unload'

Message: 'editor:panel-out-of-date'

条与 "" 相匹配的结果

    没有与 "" 匹配的结果