Uses of Interface
se.conciliate.extensions.type.SymbolVariant
Packages that use SymbolVariant
Package
Description
Provides functionality to alter the look of different objects in models and
is the base for all drawing done in models.
Provides a means to create, retrieve, update and delete all different
persistently stored objects.
This package contains classes and interfaces used to create modules that
declare new symbol types, edge types and model types.
Provides rules for what can be done in models.
Provides services for serialising entities to or from XML.
-
Uses of SymbolVariant in se.conciliate.extensions.drawable
Methods in se.conciliate.extensions.drawable with parameters of type SymbolVariantModifier and TypeMethodDescriptionDrawableFactory.createDrawable
(SymbolVariant symbolVariant) Creates a drawable for a symbol variant.DrawableIconFactory.createDrawableIcon
(SymbolVariant variant, Dimension size) Deprecated.DrawableIconFactory.createDrawableIcon
(SymbolVariant variant, Dimension size, MTColorTransformer transf) Deprecated.usenew HiDpiIcon(new URL("icon:model/16/PROCESS_MODEL"))
instead.DrawableFactory.getTransformPriority
(MTCompleteModel model, SymbolVariant variant) Returns the transformation priority for a prototype being transformed by this factory.boolean
DrawableFactory.supportsSymbolVariant
(SymbolVariant variant) Should returntrue
if this factory can supply drawables for a given symbol variant.default Icon
DrawableFactory.transformIcon
(Icon icon, SymbolVariant variant, MTCompleteModel model, MTColorScheme colorScheme) Lets the factory transform an icon used for a symbol variant in a given model.DrawableFactory.transformPrototypeDrawable
(Drawable drawable, SymbolVariant variant, MTCompleteModel model, DrawableRenderer<Graphics2D> renderer, MTColorScheme colorScheme) The factory can transform the prototype drawn when placing a new vertex in some way if necessary given the variant being placed and the model as context. -
Uses of SymbolVariant in se.conciliate.extensions.store
Methods in se.conciliate.extensions.store that return SymbolVariantModifier and TypeMethodDescriptionMTSymbolHeader.getVariant()
Returns the visual variant of this symbol.MTVertexHeader.getVariant()
Returns the symbol variant inferred from the symbol, or null if no suitable variant is found.Methods in se.conciliate.extensions.store with parameters of type SymbolVariantModifier and TypeMethodDescriptionMTSymbolStore.createSymbol
(SymbolVariant symbolVariant, String uuid, String title) Creates a new symbol, with default settings.MTWorkspaceHeader.createSymbol
(SymbolVariant variant, String uuid) Creates a new symbol in the workspace.MTColorScheme.getBorderColor
(SymbolVariant variant) MTColorScheme.getBorderStroke
(SymbolVariant variant) MTColorScheme.getLabelColor
(SymbolVariant variant) MTColorScheme.getLabelTransformer
(SymbolVariant variant) MTColorScheme.getTransformer
(SymbolVariant variant) boolean
MTColorScheme.isDefaultLabelTransformer
(SymbolVariant variant) boolean
MTColorScheme.isDefaultTransformer
(SymbolVariant variant) void
MTColorScheme.removeBorderColor
(SymbolVariant variant) void
MTColorScheme.removeBorderStroke
(SymbolVariant variant) void
MTColorScheme.removeLabelColor
(SymbolVariant variant) void
MTColorScheme.removeTransformer
(SymbolVariant variant) void
MTColorScheme.setBorderColor
(SymbolVariant variant, Color color) void
MTColorScheme.setBorderStroke
(SymbolVariant variant, BasicStroke stroke) void
MTColorScheme.setLabelColor
(SymbolVariant variant, Color color) void
MTColorScheme.setTransformer
(SymbolVariant variant, MTColorTransformer transf) void
MTSymbol.setVariant
(SymbolVariant variant) Sets the variant for symbol types that have different variants. -
Uses of SymbolVariant in se.conciliate.extensions.type
Methods in se.conciliate.extensions.type that return types with arguments of type SymbolVariantModifier and TypeMethodDescriptionSymbolType.getVariants()
This method should return the different variants of the symbol type.
NOTE: These variants are only different appearances of the same symbol type, it will not be possible to create lists or in any other way filter symbols based on their variants.
NOTE: This method may not return null, nor an empty list. -
Uses of SymbolVariant in se.conciliate.extensions.type.rule
Methods in se.conciliate.extensions.type.rule that return SymbolVariantModifier and TypeMethodDescriptionModelingLookAndFeel.Pattern.neverEndOn()
Returns a variant from the pattern that a realisation of the pattern must never end on.Methods in se.conciliate.extensions.type.rule that return types with arguments of type SymbolVariantModifier and TypeMethodDescriptionModelingLookAndFeel.Pattern.getPattern()
Returns the variant pattern.Methods in se.conciliate.extensions.type.rule with parameters of type SymbolVariantModifier and TypeMethodDescriptionModelingRules.acceptTypeChange
(SymbolVariant newVariant, MTCompleteVertex toChangeVariantOf) Returns true if thisModelRules
accept that the symbol of the vertextoChangeTypeOf
changes variant tonewVariant
.ModelingLookAndFeel.getDefaultSize
(MTCompleteModel model, SymbolVariant variant) Optionally returns a default size for a vertex.ModelingLookAndFeel.getPattern
(ModelType type, SymbolVariant start, SymbolVariant end) Returns a pattern of symbol variants or an empty list if no pattern exists. -
Uses of SymbolVariant in se.conciliate.extensions.xml
Methods in se.conciliate.extensions.xml that return SymbolVariantModifier and TypeMethodDescriptionTypeResolver.getSymbolVariant
(String typeID, String variantID) Returns a symbol variant given the type and variant ID.
new HiDpiIcon(new URL("icon:symbol/16/PROCESS"))
instead.