dram = new DeviceRepositoryAccessorManager(MCSProjectNature.
getDeviceRepositoryName(project),
new JAXPTransformerMetaFactory(),
new DefaultJDOMFactory(), false);
final DeviceRepositoryBrowserPage page =
new DeviceRepositoryBrowserPage(dram);
projDeviceRepositoryChangeListener =
new ProjectDeviceRepositoryChangeListener() {
public void changed() {
try {
DeviceRepositoryAccessorManager dram =
ProjectDeviceRepositoryProvider.
getSingleton().
getDeviceRepositoryAccessorManager(
getFile().
getProject());
page.updateDeviceRepositoryAccessorManager(
dram);
} catch (RepositoryException e) {
EclipseCommonPlugin.
handleError(ABPlugin.getDefault(),
e);