de.frag.umlplugin.actions
Class DirectPrintGraphAction

java.lang.Object
  extended by com.intellij.openapi.actionSystem.AnAction
      extended by com.intellij.openapi.graph.builder.actions.AbstractGraphAction
          extended by com.intellij.openapi.graph.builder.actions.printing.PrintGraphAction
              extended by de.frag.umlplugin.actions.DirectPrintGraphAction
All Implemented Interfaces:
Graph2DViewConsumer

public class DirectPrintGraphAction
extends com.intellij.openapi.graph.builder.actions.printing.PrintGraphAction
implements Graph2DViewConsumer

Prints graph.


Field Summary
 
Fields inherited from class com.intellij.openapi.actionSystem.AnAction
EMPTY_ARRAY, ourClientProperty
 
Constructor Summary
DirectPrintGraphAction()
           
 
Method Summary
protected  com.intellij.openapi.graph.view.Graph2D getGraph(com.intellij.openapi.actionSystem.AnActionEvent e)
           
 void setGraph2DViewProvider(Graph2DViewProvider graph2DViewProvider)
          Injects Graph2DViewProvider.
 void update(com.intellij.openapi.actionSystem.AnActionEvent e, com.intellij.openapi.graph.view.Graph2D graph2D)
           
 
Methods inherited from class com.intellij.openapi.graph.builder.actions.printing.PrintGraphAction
actionPerformed
 
Methods inherited from class com.intellij.openapi.graph.builder.actions.AbstractGraphAction
actionPerformed, getGraph2DView, getProject, update
 
Methods inherited from class com.intellij.openapi.actionSystem.AnAction
beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, createTooltipText, displayTextInToolbar, getShortcutSet, getTemplatePresentation, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, unregisterCustomShortcutSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectPrintGraphAction

public DirectPrintGraphAction()
Method Detail

setGraph2DViewProvider

public void setGraph2DViewProvider(@NotNull
                                   Graph2DViewProvider graph2DViewProvider)
Injects Graph2DViewProvider.

Specified by:
setGraph2DViewProvider in interface Graph2DViewConsumer
Parameters:
graph2DViewProvider - Graph2DViewProvider to inject

update

public void update(com.intellij.openapi.actionSystem.AnActionEvent e,
                   com.intellij.openapi.graph.view.Graph2D graph2D)
Overrides:
update in class com.intellij.openapi.graph.builder.actions.printing.PrintGraphAction

getGraph

@Nullable
protected com.intellij.openapi.graph.view.Graph2D getGraph(com.intellij.openapi.actionSystem.AnActionEvent e)
Overrides:
getGraph in class com.intellij.openapi.graph.builder.actions.AbstractGraphAction