ベンドポイントをモデルからフィガーの制約にロード箇所

「ベンドポイントをモデルからフィガーの制約にロード箇所」の編集履歴(バックアップ)一覧はこちら

ベンドポイントをモデルからフィガーの制約にロード箇所」(2008/12/16 (火) 11:28:05) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart protected void refreshBendpoints() { RelativeBendpoints bendpoints = (RelativeBendpoints) getEdge() .getBendpoints(); List modelConstraint = bendpoints.getPoints(); List figureConstraint = new ArrayList(); for (int i = 0; i < modelConstraint.size(); i++) { org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint wbp = (org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint) modelConstraint .get(i); RelativeBendpoint rbp = new RelativeBendpoint(getConnectionFigure()); rbp.setRelativeDimensions(new Dimension(wbp.getSourceX(), wbp .getSourceY()), new Dimension(wbp.getTargetX(), wbp .getTargetY())); if (modelConstraint.size() == 1) { rbp.setWeight(0.5f); } else { rbp.setWeight(i / ((float) modelConstraint.size() - 1)); } figureConstraint.add(rbp); } getConnectionFigure().setRoutingConstraint(figureConstraint); }

表示オプション

横に並べて表示:
変化行の前後のみ表示:
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。