|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler
org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandler
org.eclipse.gmf.runtime.diagram.ui.printing.providers.DiagramWithPrintGlobalActionHandler
public class DiagramWithPrintGlobalActionHandler
Concrete class that implements the IGlobalActionHandler
interface and provides a command for GlobalActionId.PRINT.
| Constructor Summary | |
|---|---|
DiagramWithPrintGlobalActionHandler()
Constructor for DiagramWithPrintGlobalActionHandler. |
|
| Method Summary | |
|---|---|
boolean |
canHandle(IGlobalActionContext cntxt)
Return true if the handler can handle the context |
protected void |
doPrint(IGlobalActionContext cntxt)
|
ICommand |
getCommand(IGlobalActionContext cntxt)
Return the ICommand for the context |
protected PreferencesHint |
getPreferencesHint(IEditorPart editorPart)
Gets the preferences hint that is to be used to find the appropriate preference store from which to retrieve diagram preference values. |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandler |
|---|
canCopy, canCut, canPaste, canSave, createPasteViewRequest, getCopyCommand, getCutCommand, getMapMode, getSelectedViews, selectAddedObject |
| Methods inherited from class org.eclipse.gmf.runtime.common.ui.services.action.global.AbstractGlobalActionHandler |
|---|
getLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagramWithPrintGlobalActionHandler()
| Method Detail |
|---|
public ICommand getCommand(IGlobalActionContext cntxt)
IGlobalActionHandler
getCommand in interface IGlobalActionHandlergetCommand in class DiagramGlobalActionHandlercntxt - The context
protected void doPrint(IGlobalActionContext cntxt)
cntxt - public boolean canHandle(IGlobalActionContext cntxt)
IGlobalActionHandler
canHandle in interface IGlobalActionHandlercanHandle in class DiagramGlobalActionHandlercntxt - The context
protected PreferencesHint getPreferencesHint(IEditorPart editorPart)
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.