About This Content

OMELET provides a framework for integration of arbitrary models and transformations.

OMELET Documentation Plug-in

The OMELET documentatation plug-in provides the documentation for OMELET.

Copyright

Copyright (c) 2004 E.D.Willink and others.

License

Eclipse.org makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program" will mean the Content.

Drawing a connection

Command creation

ActiveEditDomain(EditDomain).mouseMove LinkCreationTool(TargetingTool).mouseMove/getCommand RegimeGraphicalNodeEditPolicy.getConnectionCreateCommand CreateLinkFromPaletteRequest.getCreateCommand xxRegime.createCoCreateCommand context dependent null/new xxCommand() return using xxCommand.configureEnds

Start of drag

ActiveEditDomain(EditDomain).mouseDown LinkCreationTool(TargetingTool).mouseDown/calculateCursor xxCommand.canExecute

Continuation of drag

End of drag

ActiveEditDomain(EditDomain).mouseMove LinkCreationTool(TargetingTool).mouseMove/getCommand RegimeGraphicalNodeEditPolicy.getConnectionCompleteCommand CreateLinkFromPaletteRequest.configureEnds xxRegime.configureLinkCommand context dependent null/!null return using xxRegime.canConnect xxCommand.configureEnds

Command execution

ActiveEditDomain(EditDomain).mouseDown LinkCreationTool(TargetingTool).mouseDown/handleButtonDown/handleCreateConnection xxCommand.canExecute LinkCreationTool(TargetingTool).executeCommand RegimeGraphicalNodeEditPolicy.getConnectionCompleteCommand CreateLinkFromPaletteRequest.configureEnds xxRegime.configureLinkCommand context dependent null/!null return using xxRegime.canConnect xxCommand.configureEnds