[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: how to Bridge GEF with EMF
|
- From: kiril_mitov@xxxxxx (kiril mitov)
- Date: Tue, 21 Feb 2006 13:45:43 +0000 (UTC)
- Newsgroups: eclipse.tools.gef
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
In the generated editor you have a method called getPropertySheetPage().
Try to replace it with this one:
public IPropertySheetPage getPropertySheetPage() {
if (fPropertySheetPage == null) {
fPropertySheetPage = new PropertySheetPage();
UndoablePropertySheetEntry rootEntry = new
UndoablePropertySheetEntry(getCommandStack());
rootEntry.setPropertySourceProvider(new
MyPartsContentProvider(fAdapterFactory));
fPropertySheetPage.setRootEntry(rootEntry);
}
return fPropertySheetPage;
}