de.frag.umlplugin.actions
Class PrintPreviewGraphAction

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.PrintPreviewAction
              extended by de.frag.umlplugin.actions.PrintPreviewGraphAction
All Implemented Interfaces:
Graph2DViewConsumer

public class PrintPreviewGraphAction
extends com.intellij.openapi.graph.builder.actions.printing.PrintPreviewAction
implements Graph2DViewConsumer

Prints graph with preview.


Field Summary
 
Fields inherited from class com.intellij.openapi.actionSystem.AnAction
EMPTY_ARRAY, ourClientProperty
 
Constructor Summary
PrintPreviewGraphAction()
           
 
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.PrintPreviewAction
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

PrintPreviewGraphAction

public PrintPreviewGraphAction()
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.PrintPreviewAction

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