171819202122232425
private ShapeContentProvider contentProvider; @Override public IStructuredContentProvider getContentProvider() { if (this.contentProvider == null) { this.contentProvider = new ShapeContentProvider(this.getViewer()); } return this.contentProvider; }