Runtime

## Uses of Class
org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint

Packages that use PreferencesHint
org.eclipse.gmf.runtime.diagram.core.commands: Aurora internal packages Package Specification this package contains all the supported commands by the diagram layer
org.eclipse.gmf.runtime.diagram.core.preferences
org.eclipse.gmf.runtime.diagram.core.providers
org.eclipse.gmf.runtime.diagram.core.services
org.eclipse.gmf.runtime.diagram.core.services.view: Aurora internal packages Package Specification Provides a set of classes to use when creating views.
org.eclipse.gmf.runtime.diagram.core.util: Aurora internal packages Package Specification This package contains utility classes used by this plugin.
org.eclipse.gmf.runtime.diagram.core.view.factories: Aurora internal packages Package Specification ToDo: Fill in specific content
org.eclipse.gmf.runtime.diagram.ui.printing.providers
org.eclipse.gmf.runtime.diagram.ui.resources.editor.util

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.commands

Methods in org.eclipse.gmf.runtime.diagram.core.commands that return PreferencesHint
`protected PreferencesHint` `CreateDiagramCommand.getPreferencesHint()` Gets the preferences hint that is to be used to find the appropriate preference store from which to retrieve diagram preference values.

Constructors in org.eclipse.gmf.runtime.diagram.core.commands with parameters of type PreferencesHint
`CreateDiagramCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, java.lang.String label, org.eclipse.emf.ecore.EObject anElementContext, java.lang.String aDiagramKindType, PreferencesHint preferencesHint)` creates a create diagram command.

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.preferences

Fields in org.eclipse.gmf.runtime.diagram.core.preferences declared as PreferencesHint
`static PreferencesHint` `PreferencesHint.USE_DEFAULTS` The hint that indicates there are no preferences to be used for the generic diagram preferences, instead use the default values.

Methods in org.eclipse.gmf.runtime.diagram.core.preferences with parameters of type PreferencesHint
`static boolean` `PreferencesHint.registerPreferenceStore(PreferencesHint preferencesHint, java.lang.Object preferenceStore)` Registers a preference store containing some or all of the generic diagram preferences (those preferences defined in the diagram layer) to a preference hint.

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.providers

Methods in org.eclipse.gmf.runtime.diagram.core.providers with parameters of type PreferencesHint
`Diagram` `AbstractViewProvider.createDiagram(IAdaptable contextElement, java.lang.String diagramKind, PreferencesHint preferencesHint)`
`Diagram` `IViewProvider.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKind, PreferencesHint preferencesHint)` create an `Diagram` element.
`Edge` `AbstractViewProvider.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)`
`Edge` `IViewProvider.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` create an `Edge` element.
`Node` `AbstractViewProvider.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)`
`Node` `IViewProvider.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` create a `Node`.

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.services

Methods in org.eclipse.gmf.runtime.diagram.core.services with parameters of type PreferencesHint
`static Diagram` `ViewService.createDiagram(org.eclipse.emf.ecore.EObject context, java.lang.String kind, PreferencesHint preferencesHint)` Creates a diagram with the given context and kind
`Diagram` `ViewService.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKindType, PreferencesHint preferencesHint)`
`static Diagram` `ViewService.createDiagram(java.lang.String kind, PreferencesHint preferencesHint)` Creates a diagram with a kind
`Edge` `ViewService.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)`
`View` `ViewService.createEdge(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)`
`static Edge` `ViewService.createEdge(View source, View target, org.eclipse.emf.ecore.EObject eObject, java.lang.String type, PreferencesHint preferencesHint)` Creates an edge for a given eObject and with a given type and connects it between a given source and a given target
`static Edge` `ViewService.createEdge(View source, View target, java.lang.String type, PreferencesHint preferencesHint)` Creates an edge with a given type and connects it between the given source and target
`Node` `ViewService.createNode(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` creates a Node
`Node` `ViewService.createNode(IAdaptable semanticElement, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)` creates a persisted Node
`static Node` `ViewService.createNode(View container, org.eclipse.emf.ecore.EObject eObject, java.lang.String type, PreferencesHint preferencesHint)` Creates a node for a given eObject and with a given type and inserts it into a given container
`static Node` `ViewService.createNode(View container, java.lang.String type, PreferencesHint preferencesHint)` Creates a node for a with a given type and inserts it thegiven container
`View` `ViewService.createView(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` A convenience method to create a view with the given parameters
`boolean` `ViewService.provides(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` A convenience method to determine whether there is a provider that can create a view with the given parameters

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.services.view

Methods in org.eclipse.gmf.runtime.diagram.core.services.view that return PreferencesHint
`PreferencesHint` `CreateViewOperation.getPreferencesHint()` Gets the preferences hint that is to be used to find the appropriate preference store from which to retrieve diagram preference values.

Constructors in org.eclipse.gmf.runtime.diagram.core.services.view with parameters of type PreferencesHint
`CreateChildViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` Method CreateChildViewOperation.
`CreateDiagramViewOperation(IAdaptable semanticAdapter, java.lang.String diagramKindType, PreferencesHint preferencesHint)` Creates a new instance.
`CreateEdgeViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` Creates a new instance.
`CreateNodeViewOperation(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` Constructor for CreateNodeViewOperation.
`CreateViewForKindOperation(java.lang.Class viewKind, IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, PreferencesHint preferencesHint)`
`CreateViewOperation(IAdaptable semanticAdapter, java.lang.String semanticHint, PreferencesHint preferencesHint)` Method CreateViewOperation.

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.util

Methods in org.eclipse.gmf.runtime.diagram.core.util that return PreferencesHint
`PreferencesHint` `ViewRefactorHelper.getPreferencesHint()` Returns the preferences hint

Constructors in org.eclipse.gmf.runtime.diagram.core.util with parameters of type PreferencesHint
`ViewRefactorHelper(PreferencesHint preferencesHint)` Constructs a new `ViewRefactorHelper` with a given preferences hint

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.core.view.factories

Methods in org.eclipse.gmf.runtime.diagram.core.view.factories with parameters of type PreferencesHint
`Diagram` `DiagramFactory.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKind, PreferencesHint preferencesHint)`
`View` `ViewFactory.createView(IAdaptable semanticAdapter, View containerView, java.lang.String semanticHint, int index, boolean persisted, PreferencesHint preferencesHint)` factory method, that will be called by the view service to creat the view

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.ui.printing.providers

Methods in org.eclipse.gmf.runtime.diagram.ui.printing.providers that return PreferencesHint
`protected PreferencesHint` `DiagramWithPrintGlobalActionHandler.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.

Uses of PreferencesHint in org.eclipse.gmf.runtime.diagram.ui.resources.editor.util

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.util with parameters of type PreferencesHint
`static IFile` `EditorUtil.createNewDiagramFile(DiagramFileCreator diagramFileCreator, IPath containerFullPath, java.lang.String fileName, java.io.InputStream initialContents, java.lang.String kind, Shell shell, IProgressMonitor progressMonitor, PreferencesHint preferencesHint)` Creates a new diagram file resource in the selected container and with the selected name.

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.