|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Diagram in org.eclipse.graphiti.dt |
---|
Fields in org.eclipse.graphiti.dt declared as Diagram | |
---|---|
private Diagram |
AbstractDiagramTypeProvider.diagram
|
Methods in org.eclipse.graphiti.dt that return Diagram | |
---|---|
Diagram |
AbstractDiagramTypeProvider.getDiagram()
|
Diagram |
IDiagramTypeProvider.getDiagram()
Returns the diagram. |
Methods in org.eclipse.graphiti.dt with parameters of type Diagram | |
---|---|
void |
AbstractDiagramTypeProvider.init(Diagram diagram,
IDiagramBehavior diagramBehavior)
|
void |
IDiagramTypeProvider.init(Diagram diagram,
IDiagramBehavior diagramBehavior)
Implement this method to initialize the diagram type provider. |
void |
AbstractDiagramTypeProvider.resourceReloaded(Diagram diagram)
|
void |
IDiagramTypeProvider.resourceReloaded(Diagram diagram)
This method will be called if the underlying resource which contains the diagram has been reloaded. |
void |
AbstractDiagramTypeProvider.resourcesSaved(Diagram diagram,
Resource[] savedResources)
|
void |
IDiagramTypeProvider.resourcesSaved(Diagram diagram,
Resource[] savedResources)
This method will be called by the DiagramEditor when a diagram has been saved. |
private void |
AbstractDiagramTypeProvider.setAndWireDiagram(Diagram diagram)
|
Uses of Diagram in org.eclipse.graphiti.features.impl |
---|
Methods in org.eclipse.graphiti.features.impl that return Diagram | |
---|---|
protected Diagram |
AbstractFeature.getDiagram()
Gets the diagram. |
Methods in org.eclipse.graphiti.features.impl with parameters of type Diagram | |
---|---|
protected Font |
AbstractFeature.manageDefaultFont(Diagram diagram)
Provides the font instance for the default font (Arial in size 8) by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
(package private) Font |
AbstractFeature.manageDefaultFont(Diagram diagram,
boolean isItalic,
boolean isBold)
Provides the font instance for the default font (Arial in size 8) by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
Font |
AbstractFeature.manageFont(Diagram diagram,
String name,
int size)
Provides a font instance by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
Font |
AbstractFeature.manageFont(Diagram diagram,
String name,
int size,
boolean isItalic,
boolean isBold)
Provides a font instance by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
Uses of Diagram in org.eclipse.graphiti.mm.pictograms |
---|
Methods in org.eclipse.graphiti.mm.pictograms that return Diagram | |
---|---|
Diagram |
PictogramsFactory.createDiagram()
Returns a new object of class 'Diagram'. |
Diagram |
Connection.getParent()
Returns the value of the 'Parent' container reference. |
Methods in org.eclipse.graphiti.mm.pictograms with parameters of type Diagram | |
---|---|
void |
Connection.setParent(Diagram value)
Sets the value of the ' Parent ' container reference. |
Uses of Diagram in org.eclipse.graphiti.mm.pictograms.impl |
---|
Classes in org.eclipse.graphiti.mm.pictograms.impl that implement Diagram | |
---|---|
class |
DiagramImpl
An implementation of the model object 'Diagram'. |
Methods in org.eclipse.graphiti.mm.pictograms.impl that return Diagram | |
---|---|
Diagram |
ConnectionImpl.basicGetParent()
|
Diagram |
PictogramsFactoryImpl.createDiagram()
|
Diagram |
ConnectionImpl.getParent()
|
Methods in org.eclipse.graphiti.mm.pictograms.impl with parameters of type Diagram | |
---|---|
NotificationChain |
ConnectionImpl.basicSetParent(Diagram newParent,
NotificationChain msgs)
|
void |
ConnectionImpl.setParent(Diagram newParent)
|
Uses of Diagram in org.eclipse.graphiti.mm.pictograms.util |
---|
Methods in org.eclipse.graphiti.mm.pictograms.util with parameters of type Diagram | |
---|---|
T |
PictogramsSwitch.caseDiagram(Diagram object)
Returns the result of interpreting the object as an instance of 'Diagram'. |
Uses of Diagram in org.eclipse.graphiti.pattern |
---|
Methods in org.eclipse.graphiti.pattern that return Diagram | |
---|---|
protected Diagram |
AbstractBasePattern.getDiagram()
Returns the Diagram this pattern lives for. |
Uses of Diagram in org.eclipse.graphiti.services |
---|
Methods in org.eclipse.graphiti.services that return Diagram | |
---|---|
Diagram |
IPeCreateService.createDiagram(String diagramTypeId,
String diagramName)
Creates a diagram. |
Diagram |
IPeCreateService.createDiagram(String diagramTypeId,
String diagramName,
boolean snap)
Creates a diagram. |
Diagram |
IPeCreateService.createDiagram(String diagramTypeId,
String diagramName,
int gridUnit,
boolean snap)
Creates a diagram. |
Diagram |
IPeCreateService.createDiagram(String diagramTypeId,
String diagramName,
int horizontalGridUnit,
int verticalGridUnit,
boolean snap)
Creates a diagram. |
Diagram |
IPeService.getDiagramForAnchor(Anchor anchor)
Returns the diagram for the given anchor. |
Diagram |
IPeService.getDiagramForPictogramElement(PictogramElement pe)
Returns the diagram for the given pictogram element. |
Diagram |
IPeService.getDiagramForShape(Shape shape)
Returns the diagram for the given shape. |
Methods in org.eclipse.graphiti.services with parameters of type Diagram | |
---|---|
CompositeConnection |
IPeCreateService.createCompositeConnection(Diagram diagram)
Creates a composite connection (a connection that is made of several other connections) inside the given diagram. |
CurvedConnection |
IPeCreateService.createCurvedConnection(double[] controllPoints,
Diagram diagram)
Creates a curved connection (Bezier curve) inside the given diagram. |
MultiText |
IGaCreateService.createDefaultMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer)
Creates a MultiText graphics algorithm with the default font
(Arial, size 8). |
MultiText |
IGaCreateService.createDefaultMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value)
Creates a MultiText graphics algorithm with the default font
(Arial, size 8) and the given text. |
Text |
IGaCreateService.createDefaultText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer)
Creates a Text graphics algorithm with the default font (Arial,
size 8). |
Text |
IGaCreateService.createDefaultText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value)
Creates a Text graphics algorithm with the default font (Arial,
size 8) and the given text. |
FreeFormConnection |
IPeCreateService.createFreeFormConnection(Diagram diagram)
Creates a free form connection inside the given diagram. |
ManhattanConnection |
IPeCreateService.createManhattanConnection(Diagram diagram)
Creates a manhattan connection inside the given diagram. |
MultiText |
IGaCreateService.createMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize)
Creates a MultiText graphics algorithm with the given text and
font. |
MultiText |
IGaCreateService.createMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize,
boolean isFontItalic,
boolean isFontBold)
Creates a MultiText graphics algorithm with the given text and
font. |
Color |
IGaCreateService.createShiftedColor(Color color,
int shift,
Diagram diagram)
Shifts the Color darker or lighter. |
Text |
IGaCreateService.createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize)
Creates a Text graphics algorithm with the given text and font. |
Text |
IGaCreateService.createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize,
boolean isFontItalic,
boolean isFontBold)
Creates a Text graphics algorithm with the given text and font. |
EObject[] |
IPeService.getElementsNotInDiagram(EObject[] elements,
Diagram diagram)
From the given elements, returns all elements that are not linked by a PictogramLink in the given Diagram. |
Object[] |
IPeService.getLinkedPictogramElements(EObject[] elements,
Diagram diagram)
Return all the pictogram elements of the given Diagram which have at least one link to one of the given elements. |
List<PictogramElement> |
ILinkService.getPictogramElements(Diagram diagram,
EObject eObject)
Gets all pictogram elements which references the given business object. Note: Identity of domain or business objects is determined by default using the method EcoreUtil#equals(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject)
, which relies on the compared EMF objects having different IDs or
attributes. |
List<PictogramElement> |
ILinkService.getPictogramElements(Diagram diagram,
List<EObject> eObjects,
boolean onlyActive)
Gets all pictogram elements which references at least one of the given business objects. Note: Identity of domain or business objects is determined by default using the method EcoreUtil#equals(org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EObject)
, which relies on the compared EMF objects having different IDs or
attributes. |
Color |
IGaService.manageColor(Diagram diagram,
IColorConstant colorConstant)
Provides a color instance with the given color constant by either creating a new one and aggregating it to the diagram or finding it in the diagrams palette of colors. |
Color |
IGaService.manageColor(Diagram diagram,
int red,
int green,
int blue)
Provides a color instance with the given RGB values by either creating a new one and aggregating it to the diagram or finding it in the diagrams palette of colors. |
Font |
IGaService.manageDefaultFont(Diagram diagram)
Provides the font instance for the default font (Arial in size 8) by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
Font |
IGaService.manageDefaultFont(Diagram diagram,
boolean isItalic,
boolean isBold)
Provides the font instance for the default font (Arial in size 8) by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
Font |
IGaService.manageFont(Diagram diagram,
String name,
int size)
Provides a font instance by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
Font |
IGaService.manageFont(Diagram diagram,
String name,
int size,
boolean isItalic,
boolean isBold)
Provides a font instance by either creating a new one and aggregating it to the diagram or finding it in the diagrams list of fonts. |
void |
IMigrationService.migrate070To080(Diagram diagram)
Moves fonts which, in 0.7.0, were aggregated by AbstractText and Style to the diagram which aggregates fonts centrally as of 0.8.0. |
void |
IMigrationService.migrate080To090(Diagram d)
Sets all filled attributes of abstract text instances to false. |
boolean |
IMigrationService.shouldMigrate070To080(Diagram diagram)
Checks if fonts are set on graphical elements while not being managed by the diagram. |
boolean |
IMigrationService.shouldMigrate080To090(Diagram d)
Checks if a version number is present. |
Uses of Diagram in org.eclipse.graphiti.services.impl |
---|
Methods in org.eclipse.graphiti.services.impl with parameters of type Diagram | |
---|---|
MultiText |
GaServiceImpl.createDefaultMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer)
|
MultiText |
GaServiceImpl.createDefaultMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value)
|
Text |
GaServiceImpl.createDefaultText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer)
|
Text |
GaServiceImpl.createDefaultText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value)
|
MultiText |
GaServiceImpl.createMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize)
|
MultiText |
GaServiceImpl.createMultiText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize,
boolean isFontItalic,
boolean isFontBold)
|
private AbstractText |
GaServiceImpl.createPlainText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
boolean multiText,
String value)
|
Color |
GaServiceImpl.createShiftedColor(Color color,
int shift,
Diagram diagram)
|
private AbstractText |
GaServiceImpl.createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
boolean multiText,
String value,
boolean createFont)
|
Text |
GaServiceImpl.createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize)
|
Text |
GaServiceImpl.createText(Diagram diagram,
GraphicsAlgorithmContainer gaContainer,
String value,
String fontName,
int fontSize,
boolean isFontItalic,
boolean isFontBold)
|
Color |
GaServiceImpl.manageColor(Diagram diagram,
IColorConstant colorConstant)
|
Color |
GaServiceImpl.manageColor(Diagram diagram,
int red,
int green,
int blue)
|
Font |
GaServiceImpl.manageDefaultFont(Diagram diagram)
|
Font |
GaServiceImpl.manageDefaultFont(Diagram diagram,
boolean isItalic,
boolean isBold)
|
Font |
GaServiceImpl.manageFont(Diagram diagram,
String name,
int size)
|
Font |
GaServiceImpl.manageFont(Diagram diagram,
String name,
int size,
boolean isItalic,
boolean isBold)
|
protected void |
GaServiceImpl.setDefaultTextAttributes(Diagram diagram,
AbstractText abstractText,
boolean createFont)
Sets the default attributes of newly created AbstractText
graphics algorithms (Text and MultiText ). |
Uses of Diagram in org.eclipse.graphiti.ui.editor |
---|
Methods in org.eclipse.graphiti.ui.editor that return Diagram | |
---|---|
Diagram |
DefaultPersistencyBehavior.loadDiagram(URI uri)
This method is called to load the diagram into the editor. |
Methods in org.eclipse.graphiti.ui.editor with parameters of type Diagram | |
---|---|
static DiagramEditorInput |
DiagramEditorInput.createEditorInput(Diagram diagram,
String providerId)
Creates a new DiagramEditorInput for the given Diagram
and the given diagram type provider ID. |
protected String |
DiagramBehavior.getDiagramTypeProviderId(Diagram diagram)
Gets the diagram type provider ID for the diagram. |
protected IDiagramTypeProvider |
DiagramBehavior.initDiagramTypeProvider(Diagram diagram)
Creates and initializes a new IDiagramTypeProvider for the given
Diagram and diagram type provider ID. |
protected void |
DefaultPersistencyBehavior.setDiagramVersion(Diagram diagram)
Called in DefaultPersistencyBehavior.saveDiagram(IProgressMonitor) to update the Graphiti
diagram version before saving a diagram. |
Uses of Diagram in org.eclipse.graphiti.ui.features |
---|
Methods in org.eclipse.graphiti.ui.features that return types with arguments of type Diagram | |
---|---|
protected abstract Collection<Diagram> |
AbstractDrillDownFeature.getDiagrams()
Returns all diagrams which are considered for navigation. |
protected Collection<Diagram> |
AbstractDrillDownFeature.getLinkedDiagrams(PictogramElement pe)
Returns a list of all diagrams, which are connected to the given pictogram element. |
Methods in org.eclipse.graphiti.ui.features with parameters of type Diagram | |
---|---|
protected String |
AbstractDrillDownFeature.getDiagramEditorId(Diagram diagram)
Returns the editor id of the diagram editor to open by default DiagramEditor.DIAGRAM_EDITOR_ID . |
protected void |
AbstractDrillDownFeature.openDiagramEditor(Diagram diagram)
Opens the diagram editor for the drill down. |
Uses of Diagram in org.eclipse.graphiti.ui.platform |
---|
Methods in org.eclipse.graphiti.ui.platform that return Diagram | |
---|---|
protected Diagram |
GFPropertySection.getDiagram()
|
Diagram |
IConfigurationProvider.getDiagram()
Returns the Diagram-Model to display. |
Uses of Diagram in org.eclipse.graphiti.ui.services |
---|
Methods in org.eclipse.graphiti.ui.services with parameters of type Diagram | |
---|---|
IDiagramTypeProvider |
IExtensionManager.createDiagramTypeProvider(Diagram diagram,
String providerId)
Create an instance of a diagram type provider (and also the feature provider) without having a diagram editor open. |
IFeatureProvider |
IExtensionManager.createFeatureProvider(Diagram diagram)
Create an instance of a feature provider (and also the diagram type provider) without having a diagram editor open. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |