01: /*******************************************************************************
02: * Copyright (c) 2004, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.presentations.defaultpresentation;
11:
12: import org.eclipse.swt.graphics.Rectangle;
13: import org.eclipse.ui.internal.presentations.util.AbstractTabItem;
14: import org.eclipse.ui.internal.presentations.util.PartInfo;
15:
16: /**
17: * @since 3.1
18: */
19: public class EmptyTabItem extends AbstractTabItem {
20:
21: /* (non-Javadoc)
22: * @see org.eclipse.ui.internal.presentations.util.AbstractTabItem#getBounds()
23: */
24: public Rectangle getBounds() {
25: return new Rectangle(0, 0, 0, 0);
26: }
27:
28: /* (non-Javadoc)
29: * @see org.eclipse.ui.internal.presentations.util.AbstractTabItem#setInfo(org.eclipse.ui.internal.presentations.util.PartInfo)
30: */
31: public void setInfo(PartInfo info) {
32:
33: }
34:
35: /* (non-Javadoc)
36: * @see org.eclipse.ui.internal.presentations.util.AbstractTabItem#dispose()
37: */
38: public void dispose() {
39:
40: }
41:
42: /* (non-Javadoc)
43: * @see org.eclipse.ui.internal.presentations.util.AbstractTabItem#getData()
44: */
45: public Object getData() {
46: return null;
47: }
48:
49: /* (non-Javadoc)
50: * @see org.eclipse.ui.internal.presentations.util.AbstractTabItem#setData(java.lang.Object)
51: */
52: public void setData(Object data) {
53:
54: }
55: }
|