<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kojihashi</author_name>
  <author_url>https://blog.hatena.ne.jp/kojihashi/</author_url>
  <blog_title>kojihashiの日記</blog_title>
  <blog_url>https://kojihashi.hatenadiary.org/</blog_url>
  <categories>
    <anon>GMF</anon>
  </categories>
  <description>GMFで自動生成したグラフィカルエディタにおいて、キャンバス上に配置するノードの背景を以下のようにグラデーションにする方法を紹介します。 自動生成したコードのうち、XX.edit.partsパッケージ内にあるXXEditPart.javaにおけるXXFigureという内部クラスについて、以下の修正を行います。 コンストラクタの修正 fillShape()のオーバライド まず、XXFigureクラスのコンストラクタに、以下を追加します。使用する色は適宜変えてください。 this.setBackgroundColor(ColorConstants.orange); this.setForegrou…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkojihashi.hatenadiary.org%2Fentry%2F20071105%2F1194265667&quot; title=&quot;ノードの背景をグラデーションにする - kojihashiの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kojihashi/20071105/20071105212237.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-05 21:27:47</published>
  <title>ノードの背景をグラデーションにする</title>
  <type>rich</type>
  <url>https://kojihashi.hatenadiary.org/entry/20071105/1194265667</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
