@@ -0,0 +1,1052 @@
+/*-%0A * Copyright 2015 Diamond Light Source Ltd.%0A *%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A */%0A%0Apackage org.eclipse.dawnsci.analysis.api.dataset;%0A%0Aimport org.eclipse.dawnsci.analysis.api.monitor.IMonitor;%0A%0A/**%0A * This sub-interface adds the ability to write to a lazy dataset slice-by-slice%0A */%0Apublic interface ILazyWriteableDataset extends ILazyDataset %7B%0A%0A%09/**%0A%09 * Denotes an unlimited dimension in maximum shape%0A%09 */%0A%09public static final int UNLIMITED = -1;%0A%0A%09/**%0A%09 * @return maximum shape%0A%09 */%0A%09public int%5B%5D getMaxShape();%0A%0A%09/**%0A%09 * Get chunking%0A%09 * @return chunks%0A%09 */%0A%09public int%5B%5D getChunking();%0A%0A%09/**%0A%09 * Set a slice of the dataset%0A%09 * %0A%09 * @param monitor%0A%09 * @param data%0A%09 * @param slice an n-D slice%0A%09 * @throws Exception %0A%09 */%0A%09public void setSlice(final IMonitor monitor, final IDataset data, final SliceND slice) throws Exception;%0A%7D%0A

Add new writeable dataset interface