Uses of Interface
se.conciliate.extensions.type.ModelType
Packages that use ModelType
Package
Description
Provides functionality to alter the look of different objects in models and
is the base for all drawing done in models.
Provides the means to render models and drawables to various targets.
Interfaces for querying the current repository configuration.
Provides a means to create, retrieve, update and delete all different
persistently stored objects.
Provide a means to listen to changes in the stores.
Provides utility classes to perform queries against the current workspace.
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 classes and interfaces used to show a user interface and to hook
in to the current user interface.
Provides a means to handle events originating from the modeling editor.
Provides interfaces to select content of different types.
Provides different widgets that can be used in the modeling tool UI.
Provides services for serialising entities to or from XML.
-
Uses of ModelType in se.conciliate.extensions.drawable
Methods in se.conciliate.extensions.drawable with parameters of type ModelTypeModifier and TypeMethodDescriptionDrawableFactory.createDrawable
(ModelType modelType) Creates a drawable for a model type.DrawableIconFactory.createDrawableIcon
(ModelType type, Dimension size) Deprecated.boolean
DrawableFactory.supportsModelType
(ModelType modelType) Should returntrue
if this factory can supply drawables for a given model type.default boolean
DrawableFactory.supportsVertexTransform
(ModelType type) Should returntrue
if this factory wants to receive calls totransformDrawable
,transformPrototypeDrawable
ortransformIcon
when the vertex is located in a model of the given model type. -
Uses of ModelType in se.conciliate.extensions.renderer
Methods in se.conciliate.extensions.renderer with parameters of type ModelType -
Uses of ModelType in se.conciliate.extensions.repoconfig
Methods in se.conciliate.extensions.repoconfig with parameters of type ModelTypeModifier and TypeMethodDescriptionRepositoryConfiguration.getMethodSupport
(ModelType inModelType, SymbolType sourceType, MethodSupport.Direction direction) Returns the preferred outputs (quickdraw) that are specified in the configuration. -
Uses of ModelType in se.conciliate.extensions.store
Methods in se.conciliate.extensions.store that return ModelTypeModifier and TypeMethodDescriptionMTLayerTypeHeader.getModelType()
Returns the model type that this layer type is defined for.ModelReference.getType()
MTModelHeader.getType()
Returns this modelsModelType
, or null if no suitable type is found.Methods in se.conciliate.extensions.store with parameters of type ModelTypeModifier and TypeMethodDescriptionMTWorkspaceHeader.createModel
(ModelType modelType, String uuid) Creates a new model, with default settings.MTRepositoryHeader.findAttributeTypes
(ModelType type) Finds all attribute types for the model type.MTRepositoryHeader.findLayerTypeHeaders
(ModelType modelType) Finds all layer types available for a given model type, as headers.MTRepositoryHeader.findLayerTypes
(ModelType modelType) Finds all layer types available for a given model type.MTWorkspaceHeader.findModelHeaders
(ModelType type) Finds all models with a given type in this workspace as headers.MTWorkspaceHeader.findModelIDs
(ModelType modelType) Finds the ID:s of all models of a given type in this workspace.MTWorkspaceHeader.findModels
(ModelType modelType) Finds all models with a given type in this workspace.boolean
Returns true if this attribute type is connected to the connection type and is visible in the given model type, false otherwise.void
MTLayerType.setModelType
(ModelType modelType) void
Sets the type of the model.void
MTAttributeType.setVisibility
(ModelType modelType, Type connectionType, boolean visible) Sets the visibility of this attribute type in the context of the model type when viewed as a connection to the connection type. -
Uses of ModelType in se.conciliate.extensions.store.event
Methods in se.conciliate.extensions.store.event with parameters of type ModelTypeModifier and TypeMethodDescriptionvoid
MTModelStoreAdapter.modelRemoved
(String modelUUID, ModelType type, MTWorkspace workspace, MTRepository repo) void
MTModelStoreListener.modelRemoved
(String modelUUID, ModelType type, MTWorkspace workspace, MTRepository repo) Called when a model has been removed through the store api. -
Uses of ModelType in se.conciliate.extensions.store.query
Methods in se.conciliate.extensions.store.query with parameters of type ModelTypeModifier and TypeMethodDescriptionExclude all models that does not have one of the given types. -
Uses of ModelType in se.conciliate.extensions.type
Methods in se.conciliate.extensions.type that return types with arguments of type ModelTypeModifier and TypeMethodDescriptionCollection<? extends ModelType>
ModelExtension.getModelTypes()
Returns a collection of all theModelTypes
that this extension can supply.ModelFamily.getModelTypes()
Returns the model types available in the family.SymbolType.getPreferredBreakdownTypes()
Methods in se.conciliate.extensions.type with parameters of type ModelTypeModifier and TypeMethodDescriptionboolean
ModelFamily.addModelType
(ModelType modelType) Tries to add a model type to a family.boolean
ModelFamily.removeModelType
(ModelType modelType) Removes a model type from a family. -
Uses of ModelType in se.conciliate.extensions.type.rule
Methods in se.conciliate.extensions.type.rule with parameters of type ModelTypeModifier and TypeMethodDescriptionModelingRules.acceptRelation
(ModelType modelType, EdgeType edgeType) Returns true if thisModelRules
accept thatMTCompleteEdge
s of type edgeType is placed inMTCompleteModel
s of modelType.ModelingRules.acceptSymbol
(ModelType modelType, SymbolType symbolType) Returns true if thisModelRules
accept that symbols of type symbolType is placed inMTCompleteModel
s of modelType.ModelingRules.acceptTypeChange
(MTModelHeader model, ModelType newType) Returns an OK result if these rules accept changing the type of a model.boolean
Returns true if these rules apply to a model of a given type, otherwise everything is assumed to be OK according to these rules in a model of this type.static <T> Optional<T>
ModelingLookAndFeel.findPrio
(List<ModelingLookAndFeel> lafs, ModelType type, Function<ModelingLookAndFeel, T> mapper) Finds the look and feel that should have priority for the given model type and returns the result of mapping that look and feel to a T using the function mapper.ModelingLookAndFeel.getPattern
(ModelType type, SymbolVariant start, SymbolVariant end) Returns a pattern of symbol variants or an empty list if no pattern exists.boolean
ModelingLookAndFeel.supportsModel
(ModelType modelType) Returns true if this LAF should be applied to a given model type. -
Uses of ModelType in se.conciliate.extensions.ui
Methods in se.conciliate.extensions.ui with parameters of type ModelTypeModifier and TypeMethodDescriptiondefault List<? extends ModelingAction>
ModelingActionProvider.getActionsForModelType
(ModelType modelType) Returns actions that can be performed on the the type itself, i.e. -
Uses of ModelType in se.conciliate.extensions.ui.modeling
Methods in se.conciliate.extensions.ui.modeling with parameters of type ModelTypeModifier and TypeMethodDescriptionboolean
ModelListener.supportsModel
(ModelType modelType) Returns true if this listener is interested in changes in models of a given type. -
Uses of ModelType in se.conciliate.extensions.ui.selectors
Methods in se.conciliate.extensions.ui.selectors with parameters of type ModelTypeModifier and TypeMethodDescriptionContentSelectorFactory.createSingleModelSelector
(ModelType type, boolean allowMultiSelection) ContentSelectorFactory.createSingleModelSelector
(ModelType type, boolean allowMultiSelection, MTLanguage selectedLanguage) -
Uses of ModelType in se.conciliate.extensions.ui.widgets
Methods in se.conciliate.extensions.ui.widgets with parameters of type ModelTypeModifier and TypeMethodDescriptionWidgetFactory.createDefaultEdgeTypeFilter
(List<EdgeType> allTypes, ModelType modelType, SymbolType from, SymbolType to) Creates a default chooser filter for selecting an edge type between two symbol types for a given model type, taking the repository configuration into account.WidgetFactory.createModelTypeIcon
(ModelType type, Dimension size) Deprecated.WidgetFactory.createNewModelWidget
(ModelType type) Creates a new JDialog where the user can create a new model.default JDialog
WidgetFactory.createNewModelWidget
(ModelType type, Consumer<MTCompleteModel> onCreate) Creates a new JDialog where the user can create a new model. -
Uses of ModelType in se.conciliate.extensions.xml
Methods in se.conciliate.extensions.xml that return ModelTypeModifier and TypeMethodDescriptionTypeResolver.getModelType
(String typeID) Returns the corresponding model type for a type ID.