ITeye博客

GMF

共 4 篇文章

【转】GMF Constraints

GMF Constraints From Eclipsepedia Jump to: navigation , search Contents [ hide ] 1 Expression Support 1.1 OCL 1.2 regexp 1.3 nregexp 1.4 Java 2 Audits 2.1 DomainElementTarget 2.2 NotationElementTarget 2.3 DiagramElementTarget 2.4 DomainAttributeTarget 2.5 AuditedMetricTarget 3 Metrics 4 Link Constr…

2008-06-06 16:35 · GMF · REST · Eclipse · UI · JavaScript · Access

【转】Object Constraint Language

Object Constraint Language OMG Available Specification Version 2.0 formal/06-05-01

2008-06-06 13:23 · GMF

【转】GMF Labels

GMF Labels From Eclipsepedia Jump to: navigation , search Labels represent pieces of text possibly associated with icons on diagram surface. Text may be edited using inplace facility. There are many possibilities to construct labels but all of them are grouped in four usecases: 1. "feature based la…

2008-06-05 21:14 · GMF · Eclipse · UP · JavaScript · UseCase

GMF学习笔记

1.为不对应模型的链接添加标签的方式。 在gmfGraph里: a.首先新建一个Figure descriptor(取名ConnectionLabelFigure),并添加一个child label,设置其默认Text。 b.新建一个DiagramLabel(取名ConnectionDiagramLabel);在这个节点下,可以添加 AlignmentFacet和LabelOffsetFacet 控制Label和Link的相对位置。 在gmfMap里: c.找到原来定义的LinkMaping节点,在下面新建一个Desing Label Maping,选择b步骤中定义的DiagramLabel…

2008-06-05 21:07 · GMF · C · C++ · C#