1 /* 2 * ObjectLab, http://www.objectlab.co.uk/open is supporting JTreeMap. 3 * 4 * Based in London, we are world leaders in the design and development 5 * of bespoke applications for the securities financing markets. 6 * 7 * <a href="http://www.objectlab.co.uk/open">Click here to learn more</a> 8 * ___ _ _ _ _ _ 9 * / _ \| |__ (_) ___ ___| |_| | __ _| |__ 10 * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \ 11 * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) | 12 * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/ 13 * |__/ 14 * 15 * www.ObjectLab.co.uk 16 * 17 * $Id: ITreeMapColorProvider.java 75 2006-10-24 23:00:51Z benoitx $ 18 * 19 * Copyright 2006 the original author or authors. 20 * 21 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 22 * use this file except in compliance with the License. You may obtain a copy of 23 * the License at 24 * 25 * http://www.apache.org/licenses/LICENSE-2.0 26 * 27 * Unless required by applicable law or agreed to in writing, software 28 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 29 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 30 * License for the specific language governing permissions and limitations under 31 * the License. 32 */ 33 package net.sf.jtreemap.ktreemap; 34 35 import org.eclipse.jface.viewers.IColorProvider; 36 import org.eclipse.swt.widgets.Composite; 37 38 /** 39 * IColorProvider for a KTreeMap 40 */ 41 public interface ITreeMapColorProvider extends IColorProvider { 42 /** 43 * Return a Composite for the color legend of a KTreeMap 44 * @param parent parent Composite 45 * @param style style 46 * @return a Composite for the color legend of a KTreeMap 47 */ 48 Composite getLegend(Composite parent, int style); 49 } 50 /* 51 * ObjectLab is supporing JTreeMap 52 * 53 * Based in London, we are world leaders in the design and development 54 * of bespoke applications for the securities financing markets. 55 * 56 * <a href="http://www.objectlab.co.uk/open">Click here to learn more about us</a> 57 * ___ _ _ _ _ _ 58 * / _ \| |__ (_) ___ ___| |_| | __ _| |__ 59 * | | | | '_ \| |/ _ \/ __| __| | / _` | '_ \ 60 * | |_| | |_) | | __/ (__| |_| |__| (_| | |_) | 61 * \___/|_.__// |\___|\___|\__|_____\__,_|_.__/ 62 * |__/ 63 * 64 * www.ObjectLab.co.uk 65 */