View | Details | Raw Unified | Return to bug 149484 | Differences between
and this patch

Collapse All | Expand All

(-)templates/providers/PropertySourceProvider.javajet (+4 lines)
Lines 39-44 Link Here
39
		}
39
		}
40
		//XXX: compose with view properties
40
		//XXX: compose with view properties
41
		<%=importManager.getImportedName("org.eclipse.emf.ecore.EObject")%> domainElement = view.getElement();
41
		<%=importManager.getImportedName("org.eclipse.emf.ecore.EObject")%> domainElement = view.getElement();
42
		if (domainElement == null && view instanceof <%=importManager.getImportedName("org.eclipse.gmf.runtime.notation.Edge")%>) {
43
			<%=importManager.getImportedName("org.eclipse.gmf.runtime.notation.Edge")%> edge = (<%=importManager.getImportedName("org.eclipse.gmf.runtime.notation.Edge")%>) view;
44
			domainElement = edge.getTarget().getElement();
45
		}
42
		return adapterFactoryContentProvider.getPropertySource(domainElement);
46
		return adapterFactoryContentProvider.getPropertySource(domainElement);
43
	}
47
	}
44
48
(-)src-templates/org/eclipse/gmf/codegen/templates/lite/parts/LinkEditPartGenerator.java (-84 / +95 lines)
Lines 123-176 Link Here
123
  protected final String TEXT_103 = "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
123
  protected final String TEXT_103 = "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate ";
124
  protected final String TEXT_104 = " structuralFeatures2Refresher;" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Refresher getRefresher(";
124
  protected final String TEXT_104 = " structuralFeatures2Refresher;" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic Refresher getRefresher(";
125
  protected final String TEXT_105 = " feature, ";
125
  protected final String TEXT_105 = " feature, ";
126
  protected final String TEXT_106 = " msg) {" + NL + "\t\tif (structuralFeatures2Refresher == null) {" + NL + "\t\t\tcreateRefreshers();" + NL + "\t\t}" + NL + "\t\treturn (Refresher) structuralFeatures2Refresher.get(feature);" + NL + "\t}" + NL + "" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void activate() {" + NL + "\t\tsuper.activate();" + NL + "\t\tgetDiagramEdge().getElement().eAdapters().add(domainModelRefresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void deactivate() {" + NL + "\t\tgetDiagramEdge().getElement().eAdapters().remove(domainModelRefresher);" + NL + "\t\tsuper.deactivate();" + NL + "\t}" + NL;
126
  protected final String TEXT_106 = " msg) {" + NL + "\t\tif (structuralFeatures2Refresher == null) {" + NL + "\t\t\tcreateRefreshers();" + NL + "\t\t}" + NL + "\t\treturn (Refresher) structuralFeatures2Refresher.get(feature);" + NL + "\t}" + NL + NL;
127
  protected final String TEXT_107 = NL;
127
  protected final String TEXT_107 = NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void activate() {" + NL + "\t\tsuper.activate();" + NL + "\t\tgetDiagramEdge().getElement().eAdapters().add(domainModelRefresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void deactivate() {" + NL + "\t\tgetDiagramEdge().getElement().eAdapters().remove(domainModelRefresher);" + NL + "\t\tsuper.deactivate();" + NL + "\t}" + NL;
128
  protected final String TEXT_108 = "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate DomainModelRefresher domainModelRefresher = new DomainModelRefresher();" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate class DomainModelRefresher extends ";
128
  protected final String TEXT_108 = NL;
129
  protected final String TEXT_109 = " {" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void notifyChanged(";
129
  protected final String TEXT_109 = "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate DomainModelRefresher domainModelRefresher = new DomainModelRefresher();" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate class DomainModelRefresher extends ";
130
  protected final String TEXT_110 = " msg) {" + NL + "\t\t\tsuper.notifyChanged(msg);" + NL + "\t\t\tif (msg.isTouch()) {" + NL + "\t\t\t\treturn;" + NL + "\t\t\t}" + NL + "\t\t\tRefresher refresher = getRefresher((";
130
  protected final String TEXT_110 = " {" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic void notifyChanged(";
131
  protected final String TEXT_111 = ") msg.getFeature(), msg);" + NL + "\t\t\tif (refresher != null) {" + NL + "\t\t\t\trefresher.refresh();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}" + NL;
131
  protected final String TEXT_111 = " msg) {" + NL + "\t\t\tsuper.notifyChanged(msg);" + NL + "\t\t\tif (msg.isTouch()) {" + NL + "\t\t\t\treturn;" + NL + "\t\t\t}" + NL + "\t\t\tRefresher refresher = getRefresher((";
132
  protected final String TEXT_112 = NL;
132
  protected final String TEXT_112 = ") msg.getFeature(), msg);" + NL + "\t\t\tif (refresher != null) {" + NL + "\t\t\t\trefresher.refresh();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t}";
133
  protected final String TEXT_113 = "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void addRefresher(";
133
  protected final String TEXT_113 = NL;
134
  protected final String TEXT_114 = " feature, Refresher refresher) {" + NL + "\t\tCompositeRefresher compositeRefresher = getCompositeRefresher(feature);" + NL + "\t\tcompositeRefresher.addRefresher(refresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void removeRefresher(";
134
  protected final String TEXT_114 = NL;
135
  protected final String TEXT_115 = " feature, Refresher refresher) {" + NL + "\t\tCompositeRefresher compositeRefresher = getCompositeRefresher(feature);" + NL + "\t\tcompositeRefresher.removeRefresher(refresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate CompositeRefresher getCompositeRefresher(";
135
  protected final String TEXT_115 = "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void addRefresher(";
136
  protected final String TEXT_116 = " feature) {" + NL + "\t\tif (structuralFeatures2Refresher == null) {" + NL + "\t\t\tcreateRefreshers();" + NL + "\t\t}" + NL + "\t\tRefresher refresher = (Refresher) structuralFeatures2Refresher.get(feature);" + NL + "\t\tif (refresher instanceof CompositeRefresher) {" + NL + "\t\t\treturn (CompositeRefresher) refresher;" + NL + "\t\t}" + NL + "\t\tCompositeRefresher result = new CompositeRefresher();" + NL + "\t\tif (refresher != null) {" + NL + "\t\t\tresult.addRefresher(refresher);" + NL + "\t\t}" + NL + "\t\tstructuralFeatures2Refresher.put(feature, result);" + NL + "\t\treturn result;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate void createRefreshers() {" + NL + "\t\tstructuralFeatures2Refresher = new HashMap();";
136
  protected final String TEXT_116 = " feature, Refresher refresher) {" + NL + "\t\tCompositeRefresher compositeRefresher = getCompositeRefresher(feature);" + NL + "\t\tcompositeRefresher.addRefresher(refresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void removeRefresher(";
137
  protected final String TEXT_117 = NL;
137
  protected final String TEXT_117 = " feature, Refresher refresher) {" + NL + "\t\tCompositeRefresher compositeRefresher = getCompositeRefresher(feature);" + NL + "\t\tcompositeRefresher.removeRefresher(refresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate CompositeRefresher getCompositeRefresher(";
138
  protected final String TEXT_118 = "\t\tRefresher childrenRefresher = new Refresher() {" + NL + "\t\t\tpublic void refresh() {" + NL + "\t\t\t\trefreshChildren();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "\t\tstructuralFeatures2Refresher.put(";
138
  protected final String TEXT_118 = " feature) {" + NL + "\t\tif (structuralFeatures2Refresher == null) {" + NL + "\t\t\tcreateRefreshers();" + NL + "\t\t}" + NL + "\t\tRefresher refresher = (Refresher) structuralFeatures2Refresher.get(feature);" + NL + "\t\tif (refresher instanceof CompositeRefresher) {" + NL + "\t\t\treturn (CompositeRefresher) refresher;" + NL + "\t\t}" + NL + "\t\tCompositeRefresher result = new CompositeRefresher();" + NL + "\t\tif (refresher != null) {" + NL + "\t\t\tresult.addRefresher(refresher);" + NL + "\t\t}" + NL + "\t\tstructuralFeatures2Refresher.put(feature, result);" + NL + "\t\treturn result;" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate void createRefreshers() {" + NL + "\t\tstructuralFeatures2Refresher = new HashMap();";
139
  protected final String TEXT_119 = ".eINSTANCE.getView_PersistedChildren(), childrenRefresher);" + NL + "\t\tstructuralFeatures2Refresher.put(";
139
  protected final String TEXT_119 = NL;
140
  protected final String TEXT_120 = ".eINSTANCE.getView_TransientChildren(), childrenRefresher);";
140
  protected final String TEXT_120 = "\t\tRefresher childrenRefresher = new Refresher() {" + NL + "\t\t\tpublic void refresh() {" + NL + "\t\t\t\trefreshChildren();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "\t\tstructuralFeatures2Refresher.put(";
141
  protected final String TEXT_121 = NL;
141
  protected final String TEXT_121 = ".eINSTANCE.getView_PersistedChildren(), childrenRefresher);" + NL + "\t\tstructuralFeatures2Refresher.put(";
142
  protected final String TEXT_122 = "\t\tRefresher visibilityRefresher = new Refresher() {" + NL + "\t\t\tpublic void refresh() {" + NL + "\t\t\t\trefreshVisibility();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "\t\tstructuralFeatures2Refresher.put(";
142
  protected final String TEXT_122 = ".eINSTANCE.getView_TransientChildren(), childrenRefresher);";
143
  protected final String TEXT_123 = ".eINSTANCE.getView_Visible(), visibilityRefresher);";
143
  protected final String TEXT_123 = NL;
144
  protected final String TEXT_124 = NL;
144
  protected final String TEXT_124 = "\t\tRefresher visibilityRefresher = new Refresher() {" + NL + "\t\t\tpublic void refresh() {" + NL + "\t\t\t\trefreshVisibility();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "\t\tstructuralFeatures2Refresher.put(";
145
  protected final String TEXT_125 = "\t\tRefresher bendpointsRefresher = new Refresher() {" + NL + "\t\t\tpublic void refresh() {" + NL + "\t\t\t\trefreshBendpoints();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "\t\tstructuralFeatures2Refresher.put(";
145
  protected final String TEXT_125 = ".eINSTANCE.getView_Visible(), visibilityRefresher);";
146
  protected final String TEXT_126 = ".eINSTANCE.getEdge_Bendpoints(), bendpointsRefresher);" + NL + "\t\tstructuralFeatures2Refresher.put(";
146
  protected final String TEXT_126 = NL;
147
  protected final String TEXT_127 = ".eINSTANCE.getRelativeBendpoints_Points(), bendpointsRefresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void refreshVisuals() {" + NL + "\t\tsuper.refreshVisuals();" + NL + "//XXX:\t\trefreshBackgroundColor();" + NL + "//XXX:\t\trefreshForegroundColor();" + NL + "//XXX:\t\trefreshFont();" + NL + "\t\trefreshVisibility();" + NL + "\t\trefreshBendpoints();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void refreshBendpoints() {" + NL + "\t\t";
147
  protected final String TEXT_127 = "\t\tRefresher bendpointsRefresher = new Refresher() {" + NL + "\t\t\tpublic void refresh() {" + NL + "\t\t\t\trefreshBendpoints();" + NL + "\t\t\t}" + NL + "\t\t};" + NL + "\t\tstructuralFeatures2Refresher.put(";
148
  protected final String TEXT_128 = " bendpoints = (";
148
  protected final String TEXT_128 = ".eINSTANCE.getEdge_Bendpoints(), bendpointsRefresher);" + NL + "\t\tstructuralFeatures2Refresher.put(";
149
  protected final String TEXT_129 = ") getDiagramEdge().getBendpoints();" + NL + "\t\tif (bendpoints == null) {" + NL + "\t\t\tgetConnectionFigure().setRoutingConstraint(";
149
  protected final String TEXT_129 = ".eINSTANCE.getRelativeBendpoints_Points(), bendpointsRefresher);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void refreshVisuals() {" + NL + "\t\tsuper.refreshVisuals();" + NL + "//XXX:\t\trefreshBackgroundColor();" + NL + "//XXX:\t\trefreshForegroundColor();" + NL + "//XXX:\t\trefreshFont();" + NL + "\t\trefreshVisibility();" + NL + "\t\trefreshBendpoints();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void refreshBendpoints() {" + NL + "\t\t";
150
  protected final String TEXT_130 = ".EMPTY_LIST);" + NL + "\t\t\treturn;" + NL + "\t\t}" + NL + "\t\t";
150
  protected final String TEXT_130 = " bendpoints = (";
151
  protected final String TEXT_131 = " modelConstraint = bendpoints.getPoints();" + NL + "\t\t";
151
  protected final String TEXT_131 = ") getDiagramEdge().getBendpoints();" + NL + "\t\tif (bendpoints == null) {" + NL + "\t\t\tgetConnectionFigure().setRoutingConstraint(";
152
  protected final String TEXT_132 = " figureConstraint = new ";
152
  protected final String TEXT_132 = ".EMPTY_LIST);" + NL + "\t\t\treturn;" + NL + "\t\t}" + NL + "\t\t";
153
  protected final String TEXT_133 = "();" + NL + "\t\tfor (int i = 0; i < modelConstraint.size(); i++) {" + NL + "\t\t\t";
153
  protected final String TEXT_133 = " modelConstraint = bendpoints.getPoints();" + NL + "\t\t";
154
  protected final String TEXT_134 = " wbp = (";
154
  protected final String TEXT_134 = " figureConstraint = new ";
155
  protected final String TEXT_135 = ") modelConstraint.get(i);" + NL + "\t\t\t";
155
  protected final String TEXT_135 = "();" + NL + "\t\tfor (int i = 0; i < modelConstraint.size(); i++) {" + NL + "\t\t\t";
156
  protected final String TEXT_136 = " rbp = new ";
156
  protected final String TEXT_136 = " wbp = (";
157
  protected final String TEXT_137 = "(getConnectionFigure());" + NL + "\t\t\trbp.setRelativeDimensions(new ";
157
  protected final String TEXT_137 = ") modelConstraint.get(i);" + NL + "\t\t\t";
158
  protected final String TEXT_138 = "(wbp.getSourceX(), wbp.getSourceY()), new ";
158
  protected final String TEXT_138 = " rbp = new ";
159
  protected final String TEXT_139 = "(wbp.getTargetX(), wbp.getTargetY()));" + NL + "\t\t\trbp.setWeight((i + 1) / ((float) modelConstraint.size() + 1));" + NL + "\t\t\tfigureConstraint.add(rbp);" + NL + "\t\t}" + NL + "\t\tgetConnectionFigure().setRoutingConstraint(figureConstraint);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void refreshVisibility() {" + NL + "\t\tboolean isVisible = ((View)getModel()).isVisible();" + NL + "\t\tboolean wasVisible = getFigure().isVisible();" + NL + "\t\tif (isVisible == wasVisible) {" + NL + "\t\t\treturn;" + NL + "\t\t}" + NL + "\t\tif (!isVisible && (getSelected() != SELECTED_NONE)) {" + NL + "\t\t\tgetViewer().deselect(this);" + NL + "\t\t}" + NL + "" + NL + "\t\tgetFigure().setVisible(isVisible);" + NL + "\t\tgetFigure().revalidate();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void addNotify() {" + NL + "\t\tsuper.addNotify();" + NL + "\t\tgetConnectionFigure().setConnectionRouter(new ";
159
  protected final String TEXT_139 = "(getConnectionFigure());" + NL + "\t\t\trbp.setRelativeDimensions(new ";
160
  protected final String TEXT_140 = "());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Creates figure for this edit part." + NL + "\t * " + NL + "\t * Body of this method does not depend on settings in generation model" + NL + "\t * so you may safely remove <i>generated</i> tag and modify it." + NL + "\t * " + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
160
  protected final String TEXT_140 = "(wbp.getSourceX(), wbp.getSourceY()), new ";
161
  protected final String TEXT_141 = " createFigure() {";
161
  protected final String TEXT_141 = "(wbp.getTargetX(), wbp.getTargetY()));" + NL + "\t\t\trbp.setWeight((i + 1) / ((float) modelConstraint.size() + 1));" + NL + "\t\t\tfigureConstraint.add(rbp);" + NL + "\t\t}" + NL + "\t\tgetConnectionFigure().setRoutingConstraint(figureConstraint);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected void refreshVisibility() {" + NL + "\t\tboolean isVisible = ((View)getModel()).isVisible();" + NL + "\t\tboolean wasVisible = getFigure().isVisible();" + NL + "\t\tif (isVisible == wasVisible) {" + NL + "\t\t\treturn;" + NL + "\t\t}" + NL + "\t\tif (!isVisible && (getSelected() != SELECTED_NONE)) {" + NL + "\t\t\tgetViewer().deselect(this);" + NL + "\t\t}" + NL + "" + NL + "\t\tgetFigure().setVisible(isVisible);" + NL + "\t\tgetFigure().revalidate();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tpublic void addNotify() {" + NL + "\t\tsuper.addNotify();" + NL + "\t\tgetConnectionFigure().setConnectionRouter(new ";
162
  protected final String TEXT_142 = NL + "\t\treturn new ";
162
  protected final String TEXT_142 = "());" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * Creates figure for this edit part." + NL + "\t * " + NL + "\t * Body of this method does not depend on settings in generation model" + NL + "\t * so you may safely remove <i>generated</i> tag and modify it." + NL + "\t * " + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
163
  protected final String TEXT_143 = "();";
163
  protected final String TEXT_143 = " createFigure() {";
164
  protected final String TEXT_144 = NL + "\t\treturn ";
164
  protected final String TEXT_144 = NL + "\t\treturn new ";
165
  protected final String TEXT_145 = ";";
165
  protected final String TEXT_145 = "();";
166
  protected final String TEXT_146 = NL + " \t\treturn new ";
166
  protected final String TEXT_146 = NL + "\t\treturn ";
167
  protected final String TEXT_147 = "();";
167
  protected final String TEXT_147 = ";";
168
  protected final String TEXT_148 = NL + "\t}" + NL;
168
  protected final String TEXT_148 = NL + " \t\treturn new ";
169
  protected final String TEXT_149 = NL;
169
  protected final String TEXT_149 = "();";
170
  protected final String TEXT_150 = NL;
170
  protected final String TEXT_150 = NL + "\t}" + NL;
171
  protected final String TEXT_151 = NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static class MapModeWorkaround {" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic int DPtoLP(int dp) {" + NL + "\t\t\treturn dp;" + NL + "\t\t}" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static MapModeWorkaround INSTANCE = new MapModeWorkaround();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate MapModeWorkaround getMapMode() {" + NL + "\t\treturn MapModeWorkaround.INSTANCE;" + NL + "\t}";
171
  protected final String TEXT_151 = NL;
172
  protected final String TEXT_152 = NL + "}";
172
  protected final String TEXT_152 = NL;
173
  protected final String TEXT_153 = NL;
173
  protected final String TEXT_153 = NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate static class MapModeWorkaround {" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic int DPtoLP(int dp) {" + NL + "\t\t\treturn dp;" + NL + "\t\t}" + NL + "\t\t/**" + NL + "\t\t * @generated" + NL + "\t\t */" + NL + "\t\tpublic static MapModeWorkaround INSTANCE = new MapModeWorkaround();" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprivate MapModeWorkaround getMapMode() {" + NL + "\t\treturn MapModeWorkaround.INSTANCE;" + NL + "\t}";
174
  protected final String TEXT_154 = NL + "}";
175
  protected final String TEXT_155 = NL;
174
176
175
  public String generate(Object argument)
177
  public String generate(Object argument)
176
  {
178
  {
Lines 481-546 Link Here
481
    stringBuffer.append(TEXT_105);
483
    stringBuffer.append(TEXT_105);
482
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.Notification"));
484
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.Notification"));
483
    stringBuffer.append(TEXT_106);
485
    stringBuffer.append(TEXT_106);
486
    
487
if (genLink.getModelFacet() instanceof TypeLinkModelFacet) {
488
	//Otherwise, there's no element associated with the element
489
484
    stringBuffer.append(TEXT_107);
490
    stringBuffer.append(TEXT_107);
485
    stringBuffer.append(TEXT_108);
491
    stringBuffer.append(TEXT_108);
486
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.impl.AdapterImpl"));
487
    stringBuffer.append(TEXT_109);
492
    stringBuffer.append(TEXT_109);
488
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.Notification"));
493
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.impl.AdapterImpl"));
489
    stringBuffer.append(TEXT_110);
494
    stringBuffer.append(TEXT_110);
490
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
495
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.common.notify.Notification"));
491
    stringBuffer.append(TEXT_111);
496
    stringBuffer.append(TEXT_111);
497
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
492
    stringBuffer.append(TEXT_112);
498
    stringBuffer.append(TEXT_112);
499
    
500
}
501
493
    stringBuffer.append(TEXT_113);
502
    stringBuffer.append(TEXT_113);
494
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
495
    stringBuffer.append(TEXT_114);
503
    stringBuffer.append(TEXT_114);
496
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
497
    stringBuffer.append(TEXT_115);
504
    stringBuffer.append(TEXT_115);
498
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
505
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
499
    stringBuffer.append(TEXT_116);
506
    stringBuffer.append(TEXT_116);
507
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
500
    stringBuffer.append(TEXT_117);
508
    stringBuffer.append(TEXT_117);
509
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EStructuralFeature"));
501
    stringBuffer.append(TEXT_118);
510
    stringBuffer.append(TEXT_118);
502
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
503
    stringBuffer.append(TEXT_119);
511
    stringBuffer.append(TEXT_119);
504
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
505
    stringBuffer.append(TEXT_120);
512
    stringBuffer.append(TEXT_120);
513
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
506
    stringBuffer.append(TEXT_121);
514
    stringBuffer.append(TEXT_121);
507
    stringBuffer.append(TEXT_122);
508
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
515
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
516
    stringBuffer.append(TEXT_122);
509
    stringBuffer.append(TEXT_123);
517
    stringBuffer.append(TEXT_123);
510
    stringBuffer.append(TEXT_124);
518
    stringBuffer.append(TEXT_124);
511
    stringBuffer.append(TEXT_125);
512
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
519
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
520
    stringBuffer.append(TEXT_125);
513
    stringBuffer.append(TEXT_126);
521
    stringBuffer.append(TEXT_126);
514
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
515
    stringBuffer.append(TEXT_127);
522
    stringBuffer.append(TEXT_127);
516
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.RelativeBendpoints"));
523
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
517
    stringBuffer.append(TEXT_128);
524
    stringBuffer.append(TEXT_128);
518
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.RelativeBendpoints"));
525
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.NotationPackage"));
519
    stringBuffer.append(TEXT_129);
526
    stringBuffer.append(TEXT_129);
520
    stringBuffer.append(importManager.getImportedName("java.util.Collections"));
527
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.RelativeBendpoints"));
521
    stringBuffer.append(TEXT_130);
528
    stringBuffer.append(TEXT_130);
522
    stringBuffer.append(importManager.getImportedName("java.util.List"));
529
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.RelativeBendpoints"));
523
    stringBuffer.append(TEXT_131);
530
    stringBuffer.append(TEXT_131);
524
    stringBuffer.append(importManager.getImportedName("java.util.List"));
531
    stringBuffer.append(importManager.getImportedName("java.util.Collections"));
525
    stringBuffer.append(TEXT_132);
532
    stringBuffer.append(TEXT_132);
526
    stringBuffer.append(importManager.getImportedName("java.util.ArrayList"));
533
    stringBuffer.append(importManager.getImportedName("java.util.List"));
527
    stringBuffer.append(TEXT_133);
534
    stringBuffer.append(TEXT_133);
528
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint"));
535
    stringBuffer.append(importManager.getImportedName("java.util.List"));
529
    stringBuffer.append(TEXT_134);
536
    stringBuffer.append(TEXT_134);
530
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint"));
537
    stringBuffer.append(importManager.getImportedName("java.util.ArrayList"));
531
    stringBuffer.append(TEXT_135);
538
    stringBuffer.append(TEXT_135);
532
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.RelativeBendpoint"));
539
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint"));
533
    stringBuffer.append(TEXT_136);
540
    stringBuffer.append(TEXT_136);
534
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.RelativeBendpoint"));
541
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.datatype.RelativeBendpoint"));
535
    stringBuffer.append(TEXT_137);
542
    stringBuffer.append(TEXT_137);
536
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Dimension"));
543
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.RelativeBendpoint"));
537
    stringBuffer.append(TEXT_138);
544
    stringBuffer.append(TEXT_138);
538
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Dimension"));
545
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.RelativeBendpoint"));
539
    stringBuffer.append(TEXT_139);
546
    stringBuffer.append(TEXT_139);
540
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.BendpointConnectionRouter"));
547
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Dimension"));
541
    stringBuffer.append(TEXT_140);
548
    stringBuffer.append(TEXT_140);
542
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.IFigure"));
549
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.geometry.Dimension"));
543
    stringBuffer.append(TEXT_141);
550
    stringBuffer.append(TEXT_141);
551
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.BendpointConnectionRouter"));
552
    stringBuffer.append(TEXT_142);
553
    stringBuffer.append(importManager.getImportedName("org.eclipse.draw2d.IFigure"));
554
    stringBuffer.append(TEXT_143);
544
    
555
    
545
Viewmap viewmap = genLink.getViewmap();
556
Viewmap viewmap = genLink.getViewmap();
546
if (viewmap instanceof FigureViewmap) {
557
if (viewmap instanceof FigureViewmap) {
Lines 550-590 Link Here
550
		figureQualifiedClassName = "org.eclipse.gmf.runtime.draw2d.PolylineConnection";
561
		figureQualifiedClassName = "org.eclipse.gmf.runtime.draw2d.PolylineConnection";
551
	}
562
	}
552
563
553
    stringBuffer.append(TEXT_142);
564
    stringBuffer.append(TEXT_144);
554
    stringBuffer.append(importManager.getImportedName(figureQualifiedClassName));
565
    stringBuffer.append(importManager.getImportedName(figureQualifiedClassName));
555
    stringBuffer.append(TEXT_143);
566
    stringBuffer.append(TEXT_145);
556
    } // instanceof FigureViewmap
567
    } // instanceof FigureViewmap
557
	else if (viewmap instanceof SnippetViewmap) {
568
	else if (viewmap instanceof SnippetViewmap) {
558
    stringBuffer.append(TEXT_144);
569
    stringBuffer.append(TEXT_146);
559
    stringBuffer.append(((SnippetViewmap) viewmap).getBody());
570
    stringBuffer.append(((SnippetViewmap) viewmap).getBody());
560
    stringBuffer.append(TEXT_145);
571
    stringBuffer.append(TEXT_147);
561
    } // instanceof SnippetViewmap 
572
    } // instanceof SnippetViewmap 
562
	else if (viewmap instanceof InnerClassViewmap) {
573
	else if (viewmap instanceof InnerClassViewmap) {
563
    stringBuffer.append(TEXT_146);
574
    stringBuffer.append(TEXT_148);
564
    stringBuffer.append(((InnerClassViewmap) viewmap).getClassName());
575
    stringBuffer.append(((InnerClassViewmap) viewmap).getClassName());
565
    stringBuffer.append(TEXT_147);
576
    stringBuffer.append(TEXT_149);
566
    }
577
    }
567
    stringBuffer.append(TEXT_148);
578
    stringBuffer.append(TEXT_150);
568
    
579
    
569
if (genLink.getViewmap() instanceof InnerClassViewmap) {
580
if (genLink.getViewmap() instanceof InnerClassViewmap) {
570
	String classBody = ((InnerClassViewmap) genLink.getViewmap()).getClassBody();
581
	String classBody = ((InnerClassViewmap) genLink.getViewmap()).getClassBody();
571
582
572
    stringBuffer.append(TEXT_149);
583
    stringBuffer.append(TEXT_151);
573
    stringBuffer.append(classBody);
584
    stringBuffer.append(classBody);
574
    stringBuffer.append(TEXT_150);
585
    stringBuffer.append(TEXT_152);
575
    
586
    
576
if (classBody.indexOf("DPtoLP") != -1) {
587
if (classBody.indexOf("DPtoLP") != -1) {
577
588
578
    stringBuffer.append(TEXT_151);
589
    stringBuffer.append(TEXT_153);
579
    
590
    
580
}
591
}
581
592
582
    
593
    
583
}
594
}
584
595
585
    stringBuffer.append(TEXT_152);
596
    stringBuffer.append(TEXT_154);
586
    importManager.emitSortedImports();
597
    importManager.emitSortedImports();
587
    stringBuffer.append(TEXT_153);
598
    stringBuffer.append(TEXT_155);
588
    return stringBuffer.toString();
599
    return stringBuffer.toString();
589
  }
600
  }
590
}
601
}
(-)src-templates/org/eclipse/gmf/codegen/templates/lite/parts/NodeEditPartGenerator.java (-1 / +1 lines)
Lines 450-456 Link Here
450
  protected final String TEXT_429 = NL + "\t\t\t";
450
  protected final String TEXT_429 = NL + "\t\t\t";
451
  protected final String TEXT_430 = ".";
451
  protected final String TEXT_430 = ".";
452
  protected final String TEXT_431 = ".initializeElement(createdDomainElement);";
452
  protected final String TEXT_431 = ".initializeElement(createdDomainElement);";
453
  protected final String TEXT_432 = NL + "\t\t\tcreatedEdge.setElement(target.getElement());\t\t//XXX: is this correct?";
453
  protected final String TEXT_432 = NL + "\t\t\tcreatedEdge.setElement(null);";
454
  protected final String TEXT_433 = NL + "\t\t\t";
454
  protected final String TEXT_433 = NL + "\t\t\t";
455
  protected final String TEXT_434 = ".decorateView(createdEdge);" + NL + "\t\t\t";
455
  protected final String TEXT_434 = ".decorateView(createdEdge);" + NL + "\t\t\t";
456
  protected final String TEXT_435 = " domainModelEditDomain = ";
456
  protected final String TEXT_435 = " domainModelEditDomain = ";
(-)templates/parts/NodeEditPart.javajet (-1 / +1 lines)
Lines 1029-1035 Link Here
1029
<%
1029
<%
1030
	} else if (genLink.getModelFacet() instanceof FeatureModelFacet) {
1030
	} else if (genLink.getModelFacet() instanceof FeatureModelFacet) {
1031
%>
1031
%>
1032
			createdEdge.setElement(target.getElement());		//XXX: is this correct?
1032
			createdEdge.setElement(null);
1033
<%
1033
<%
1034
	}
1034
	}
1035
%>
1035
%>
(-)templates/parts/LinkEditPart.javajet (+7 lines)
Lines 130-135 Link Here
130
130
131
<%@ include file="refresher.javajetinc"%>
131
<%@ include file="refresher.javajetinc"%>
132
132
133
<%
134
if (genLink.getModelFacet() instanceof TypeLinkModelFacet) {
135
	//Otherwise, there's no element associated with the element
136
%>
133
	/**
137
	/**
134
	 * @generated
138
	 * @generated
135
	 */
139
	 */
Lines 147-152 Link Here
147
	}
151
	}
148
152
149
<%@ include file="refreshers.javajetinc/domainModelRefresher.javajetinc"%>
153
<%@ include file="refreshers.javajetinc/domainModelRefresher.javajetinc"%>
154
<%
155
}
156
%>
150
157
151
<%@ include file="refreshers.javajetinc/externalRefreshers.javajetinc"%>
158
<%@ include file="refreshers.javajetinc/externalRefreshers.javajetinc"%>
152
159
(-)src-templates/org/eclipse/gmf/codegen/templates/lite/providers/PropertySourceProviderGenerator.java (-24 / +33 lines)
Lines 29-47 Link Here
29
  protected final String TEXT_12 = ") {" + NL + "\t\t\treturn (";
29
  protected final String TEXT_12 = ") {" + NL + "\t\t\treturn (";
30
  protected final String TEXT_13 = ") object;" + NL + "\t\t}" + NL + "\t\t";
30
  protected final String TEXT_13 = ") object;" + NL + "\t\t}" + NL + "\t\t";
31
  protected final String TEXT_14 = " view = getNotationElement(object);" + NL + "\t\tif (view == null) {" + NL + "\t\t\treturn adapterFactoryContentProvider.getPropertySource(object);" + NL + "\t\t}" + NL + "\t\t//XXX: compose with view properties" + NL + "\t\t";
31
  protected final String TEXT_14 = " view = getNotationElement(object);" + NL + "\t\tif (view == null) {" + NL + "\t\t\treturn adapterFactoryContentProvider.getPropertySource(object);" + NL + "\t\t}" + NL + "\t\t//XXX: compose with view properties" + NL + "\t\t";
32
  protected final String TEXT_15 = " domainElement = view.getElement();" + NL + "\t\treturn adapterFactoryContentProvider.getPropertySource(domainElement);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
32
  protected final String TEXT_15 = " domainElement = view.getElement();" + NL + "\t\tif (domainElement == null && view instanceof ";
33
  protected final String TEXT_16 = " getNotationElement(Object object) {" + NL + "\t\t";
33
  protected final String TEXT_16 = ") {" + NL + "\t\t\t";
34
  protected final String TEXT_17 = " view = null;" + NL + "\t\tif (object instanceof ";
34
  protected final String TEXT_17 = " edge = (";
35
  protected final String TEXT_18 = ") {" + NL + "\t\t\tview = (";
35
  protected final String TEXT_18 = ") view;" + NL + "\t\t\tdomainElement = edge.getTarget().getElement();" + NL + "\t\t}" + NL + "\t\treturn adapterFactoryContentProvider.getPropertySource(domainElement);" + NL + "\t}" + NL + "" + NL + "\t/**" + NL + "\t * @generated" + NL + "\t */" + NL + "\tprotected ";
36
  protected final String TEXT_19 = ") object;" + NL + "\t\t} else if (object instanceof ";
36
  protected final String TEXT_19 = " getNotationElement(Object object) {" + NL + "\t\t";
37
  protected final String TEXT_20 = ") {" + NL + "\t\t\t";
37
  protected final String TEXT_20 = " view = null;" + NL + "\t\tif (object instanceof ";
38
  protected final String TEXT_21 = " editPart = (";
38
  protected final String TEXT_21 = ") {" + NL + "\t\t\tview = (";
39
  protected final String TEXT_22 = ") object;" + NL + "\t\t\tif (editPart.getModel() instanceof ";
39
  protected final String TEXT_22 = ") object;" + NL + "\t\t} else if (object instanceof ";
40
  protected final String TEXT_23 = ") {" + NL + "\t\t\t\tview = (";
40
  protected final String TEXT_23 = ") {" + NL + "\t\t\t";
41
  protected final String TEXT_24 = ") editPart.getModel();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tif (view != null && \"";
41
  protected final String TEXT_24 = " editPart = (";
42
  protected final String TEXT_25 = "\".equals(";
42
  protected final String TEXT_25 = ") object;" + NL + "\t\t\tif (editPart.getModel() instanceof ";
43
  protected final String TEXT_26 = ".getModelID(view))) {" + NL + "\t\t\treturn view;" + NL + "\t\t}" + NL + "\t\treturn null;" + NL + "\t}" + NL + "}";
43
  protected final String TEXT_26 = ") {" + NL + "\t\t\t\tview = (";
44
  protected final String TEXT_27 = NL;
44
  protected final String TEXT_27 = ") editPart.getModel();" + NL + "\t\t\t}" + NL + "\t\t}" + NL + "\t\tif (view != null && \"";
45
  protected final String TEXT_28 = "\".equals(";
46
  protected final String TEXT_29 = ".getModelID(view))) {" + NL + "\t\t\treturn view;" + NL + "\t\t}" + NL + "\t\treturn null;" + NL + "\t}" + NL + "}";
47
  protected final String TEXT_30 = NL;
45
48
46
  public String generate(Object argument)
49
  public String generate(Object argument)
47
  {
50
  {
Lines 86-115 Link Here
86
    stringBuffer.append(TEXT_14);
89
    stringBuffer.append(TEXT_14);
87
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject"));
90
    stringBuffer.append(importManager.getImportedName("org.eclipse.emf.ecore.EObject"));
88
    stringBuffer.append(TEXT_15);
91
    stringBuffer.append(TEXT_15);
89
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
92
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Edge"));
90
    stringBuffer.append(TEXT_16);
93
    stringBuffer.append(TEXT_16);
91
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
94
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Edge"));
92
    stringBuffer.append(TEXT_17);
95
    stringBuffer.append(TEXT_17);
93
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
96
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.Edge"));
94
    stringBuffer.append(TEXT_18);
97
    stringBuffer.append(TEXT_18);
95
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
98
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
96
    stringBuffer.append(TEXT_19);
99
    stringBuffer.append(TEXT_19);
97
    stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPart"));
100
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
98
    stringBuffer.append(TEXT_20);
101
    stringBuffer.append(TEXT_20);
99
    stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPart"));
102
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
100
    stringBuffer.append(TEXT_21);
103
    stringBuffer.append(TEXT_21);
101
    stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPart"));
102
    stringBuffer.append(TEXT_22);
103
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
104
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
105
    stringBuffer.append(TEXT_22);
106
    stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPart"));
104
    stringBuffer.append(TEXT_23);
107
    stringBuffer.append(TEXT_23);
105
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
108
    stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPart"));
106
    stringBuffer.append(TEXT_24);
109
    stringBuffer.append(TEXT_24);
107
    stringBuffer.append(genDiagram.getEditorGen().getModelID());
110
    stringBuffer.append(importManager.getImportedName("org.eclipse.gef.EditPart"));
108
    stringBuffer.append(TEXT_25);
111
    stringBuffer.append(TEXT_25);
109
    stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName()));
112
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
110
    stringBuffer.append(TEXT_26);
113
    stringBuffer.append(TEXT_26);
111
    importManager.emitSortedImports();
114
    stringBuffer.append(importManager.getImportedName("org.eclipse.gmf.runtime.notation.View"));
112
    stringBuffer.append(TEXT_27);
115
    stringBuffer.append(TEXT_27);
116
    stringBuffer.append(genDiagram.getEditorGen().getModelID());
117
    stringBuffer.append(TEXT_28);
118
    stringBuffer.append(importManager.getImportedName(genDiagram.getVisualIDRegistryQualifiedClassName()));
119
    stringBuffer.append(TEXT_29);
120
    importManager.emitSortedImports();
121
    stringBuffer.append(TEXT_30);
113
    return stringBuffer.toString();
122
    return stringBuffer.toString();
114
  }
123
  }
115
}
124
}
(-)META-INF/MANIFEST.MF (-1 / +1 lines)
Lines 2-8 Link Here
2
Bundle-ManifestVersion: 2
2
Bundle-ManifestVersion: 2
3
Bundle-Name: %pluginName
3
Bundle-Name: %pluginName
4
Bundle-SymbolicName: org.eclipse.gmf.codegen.lite
4
Bundle-SymbolicName: org.eclipse.gmf.codegen.lite
5
Bundle-Version: 1.0.0.qualifier
5
Bundle-Version: 1.0.1.qualifier
6
Bundle-Vendor: %providerName
6
Bundle-Vendor: %providerName
7
Bundle-Localization: plugin
7
Bundle-Localization: plugin
8
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",
8
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.0)",

Return to bug 149484