1
如何從org.eclipse.gmf.runtime.notation.impl.ShapeImpl對象接收對應的EditPart?或者我怎樣才能從ShapeImpl(emf.ecore not runtime)接收相應的EditPart?GMF運行時符號轉換爲EditPart
如何從org.eclipse.gmf.runtime.notation.impl.ShapeImpl對象接收對應的EditPart?或者我怎樣才能從ShapeImpl(emf.ecore not runtime)接收相應的EditPart?GMF運行時符號轉換爲EditPart
我認爲EditPartViewer的editPart Registery應該能夠從視圖模型(即形狀)返回editpart部件。
EditPart ep = viewer.getEditPartRegistry().get(view);
我認爲應該這樣做。