Package peppy :: Package plugins :: Module graphviz_mode :: Class GraphvizViewMinorMode
[frames] | no frames]

Class GraphvizViewMinorMode

                   object --+        
                            |        
    lib.userparams.ClassPrefs --+    
                                |    
                   object --+   |    
                            |   |    
             debug.debugmixin --+    
                                |    
                  minor.MinorMode --+
                                    |
                       object --+   |
                                |   |
lib.processmanager.JobOutputMixin --+
                                    |
           object --+               |
                    |               |
      wx._core.Object --+           |
                        |           |
      wx._core.EvtHandler --+       |
                            |       |
              wx._core.Window --+   |
                                |   |
                wx._windows.Panel --+
                                    |
                       object --+   |
                                |   |
                 debug.debugmixin --+
                                    |
                                   GraphvizViewMinorMode

Display the graphical view of the DOT file.

This displays the graphic image that is represented by the .dot file. It calls the external graphviz program and displays a bitmap version of the graph.

Nested Classes

Inherited from lib.userparams.ClassPrefs: __metaclass__

Instance Methods
EvtHandler
__init__(self, major, parent)
Classes using this mixin should call this method, or at least save the major mode.
 
deletePreHook(self)
Hook to clean up any resources before anything else is deleted.
 
busy(self, busy)
 
OnRegenerate(self, event)
 
startupCallback(self, job)
 
stdoutCallback(self, job, text)
 
finishedCallback(self, job)
 
createImage(self)
 
OnSize(self, evt)

Inherited from minor.MinorMode: getDefaultPaneInfo, getPaneInfo, paneInfoHook, setup

Inherited from lib.processmanager.JobOutputMixin: startupFailureCallback, stderrCallback

Inherited from wx._windows.Panel: Create, SetFocusIgnoringChildren, __repr__

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AdjustForLayoutDirection, AssociateHandle, CacheBestSize, CanSetTransparent, CaptureMouse, Center, CenterOnParent, Centre, CentreOnParent, ClearBackground, ClientToScreen, ClientToScreenXY, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDefaultAttributes, GetDropTarget, GetEffectiveMinSize, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetGtkWidget, GetHandle, GetHelpText, GetHelpTextAtPoint, GetId, GetLabel, GetLayoutDirection, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScreenPosition, GetScreenPositionTuple, GetScreenRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetToolTip, GetTopLevelParent, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowBorderSize, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HasCapture, HasFlag, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, HitTest, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsDoubleBuffered, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsFrozen, IsRetained, IsShown, IsShownOnScreen, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetInitialSize, SetLabel, SetLayoutDirection, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetToolTip, SetToolTipString, SetTransparent, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, ToggleWindowStyle, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Methods
 
worksWithMajorMode(self, mode)

Inherited from minor.MinorMode: getValidMinorModes

Inherited from debug.debugmixin: dprint

Static Methods

Inherited from wx._windows.Panel: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId

Class Variables
  keyword = 'GraphvizView'
  default_classprefs = IntParam('best_width', 300), IntParam('be...
  dotprogs = ['dot', 'neato', 'twopi', 'circo', 'fdp']
  classprefs = <peppy.lib.userparams.PrefsProxy object at 0x91bc...

Inherited from lib.userparams.ClassPrefs: preferences_sort_weight

Inherited from debug.debugmixin: debuglevel

Properties

Inherited from wx._windows.Panel: thisown

Inherited from wx._core.Window: AcceleratorTable, AutoLayout, BackgroundColour, BackgroundStyle, BestSize, BestVirtualSize, Border, Caret, CharHeight, CharWidth, Children, ClientAreaOrigin, ClientRect, ClientSize, Constraints, ContainingSizer, Cursor, DefaultAttributes, DropTarget, EffectiveMinSize, Enabled, EventHandler, ExtraStyle, Font, ForegroundColour, GrandParent, GtkWidget, Handle, HelpText, Id, Label, LayoutDirection, MaxHeight, MaxSize, MaxWidth, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, Shown, Size, Sizer, ThemeEnabled, ToolTip, TopLevel, TopLevelParent, UpdateClientRect, UpdateRegion, Validator, VirtualSize, WindowStyle, WindowStyleFlag, WindowVariant

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details

worksWithMajorMode(self, mode)
Class Method

 
Overrides: minor.MinorMode.worksWithMajorMode

__init__(self, major, parent)
(Constructor)

 

Classes using this mixin should call this method, or at least save the major mode.

Returns: EvtHandler
Overrides: object.__init__
(inherited documentation)

deletePreHook(self)

 

Hook to clean up any resources before anything else is deleted.

This hook is called whether or not the minor mode has a window.

Overrides: minor.MinorMode.deletePreHook
(inherited documentation)

startupCallback(self, job)

 
Overrides: lib.processmanager.JobOutputMixin.startupCallback

stdoutCallback(self, job, text)

 
Overrides: lib.processmanager.JobOutputMixin.stdoutCallback

finishedCallback(self, job)

 
Overrides: lib.processmanager.JobOutputMixin.finishedCallback

Class Variable Details

default_classprefs

Value:
IntParam('best_width', 300), IntParam('best_height', 300), IntParam('m\
in_width', 300), IntParam('min_height', 300),

classprefs

Value:
<peppy.lib.userparams.PrefsProxy object at 0x91bcd50>