Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 309858 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/gmf/runtime/diagram/ui/figures/BorderItemsAwareFreeFormLayer.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2006, 2006 IBM Corporation and others.
2
 * Copyright (c) 2006, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 22-28 Link Here
22
import org.eclipse.draw2d.IFigure;
22
import org.eclipse.draw2d.IFigure;
23
import org.eclipse.draw2d.geometry.Insets;
23
import org.eclipse.draw2d.geometry.Insets;
24
import org.eclipse.draw2d.geometry.Rectangle;
24
import org.eclipse.draw2d.geometry.Rectangle;
25
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.IExpandableFigure;
25
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
26
26
27
27
28
/**
28
/**
(-)src/org/eclipse/gmf/runtime/diagram/ui/figures/BorderedNodeFigure.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2003, 2009 IBM Corporation and others.
2
 * Copyright (c) 2003, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 21-27 Link Here
21
import org.eclipse.draw2d.geometry.Point;
21
import org.eclipse.draw2d.geometry.Point;
22
import org.eclipse.draw2d.geometry.Rectangle;
22
import org.eclipse.draw2d.geometry.Rectangle;
23
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.BorderItemContainerFigure;
23
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.BorderItemContainerFigure;
24
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.IExpandableFigure;
24
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
25
import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
25
import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
26
26
27
/**
27
/**
(-)src/org/eclipse/gmf/runtime/diagram/ui/figures/IExpandableFigure.java (+26 lines)
Added Link Here
1
/******************************************************************************
2
 * Copyright (c) 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *    IBM Corporation - initial API and implementation 
10
 ****************************************************************************/
11
12
package org.eclipse.gmf.runtime.diagram.ui.figures;
13
14
import org.eclipse.draw2d.geometry.Rectangle;
15
16
/**
17
 * An Expandable Figure.
18
 * 
19
 * @since 1.4
20
 * @author Anthony Hunter
21
 */
22
public interface IExpandableFigure {
23
24
	Rectangle getExtendedBounds();
25
26
}
(-)src/org/eclipse/gmf/runtime/diagram/ui/internal/figures/IExpandableFigure.java (-21 / +27 lines)
Lines 1-21 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2006 IBM Corporation and others.
2
 * Copyright (c) 2006, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
7
 *
8
 * Contributors:
8
 * Contributors:
9
 *    IBM Corporation - initial API and implementation 
9
 *    IBM Corporation - initial API and implementation 
10
 ****************************************************************************/
10
 ****************************************************************************/
11
11
12
package org.eclipse.gmf.runtime.diagram.ui.internal.figures;
12
package org.eclipse.gmf.runtime.diagram.ui.internal.figures;
13
13
14
import org.eclipse.draw2d.geometry.Rectangle;
14
import org.eclipse.draw2d.geometry.Rectangle;
15
15
16
16
/**
17
public interface IExpandableFigure {
17
 * An Expandable Figure
18
    
18
 * 
19
    Rectangle getExtendedBounds(); 
19
 * @author mmostafa
20
20
 * @deprecated Use {org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure}
21
}
21
 */
22
public interface IExpandableFigure extends
23
		org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure {
24
25
	Rectangle getExtendedBounds();
26
27
}
(-)src/org/eclipse/gmf/runtime/diagram/ui/internal/pagesetup/PageInfoHelper.java (-1 / +1 lines)
Lines 28-34 Link Here
28
import org.eclipse.gmf.runtime.diagram.ui.internal.DiagramUIDebugOptions;
28
import org.eclipse.gmf.runtime.diagram.ui.internal.DiagramUIDebugOptions;
29
import org.eclipse.gmf.runtime.diagram.ui.internal.DiagramUIPlugin;
29
import org.eclipse.gmf.runtime.diagram.ui.internal.DiagramUIPlugin;
30
import org.eclipse.gmf.runtime.diagram.ui.internal.DiagramUIStatusCodes;
30
import org.eclipse.gmf.runtime.diagram.ui.internal.DiagramUIStatusCodes;
31
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.IExpandableFigure;
31
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
32
import org.eclipse.gmf.runtime.diagram.ui.internal.properties.WorkspaceViewerProperties;
32
import org.eclipse.gmf.runtime.diagram.ui.internal.properties.WorkspaceViewerProperties;
33
import org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode;
33
import org.eclipse.gmf.runtime.draw2d.ui.mapmode.IMapMode;
34
import org.eclipse.jface.preference.IPreferenceStore;
34
import org.eclipse.jface.preference.IPreferenceStore;
(-)src/org/eclipse/gmf/runtime/diagram/ui/render/clipboard/DiagramGenerator.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2002, 2009 IBM Corporation and others.
2
 * Copyright (c) 2002, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 39-45 Link Here
39
import org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramRootEditPart;
39
import org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramRootEditPart;
40
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
40
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
41
import org.eclipse.gmf.runtime.diagram.ui.image.PartPositionInfo;
41
import org.eclipse.gmf.runtime.diagram.ui.image.PartPositionInfo;
42
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.IExpandableFigure;
42
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
43
import org.eclipse.gmf.runtime.diagram.ui.internal.services.decorator.Decoration;
43
import org.eclipse.gmf.runtime.diagram.ui.internal.services.decorator.Decoration;
44
import org.eclipse.gmf.runtime.diagram.ui.l10n.SharedImages;
44
import org.eclipse.gmf.runtime.diagram.ui.l10n.SharedImages;
45
import org.eclipse.gmf.runtime.diagram.ui.render.util.DiagramImageUtils;
45
import org.eclipse.gmf.runtime.diagram.ui.render.util.DiagramImageUtils;
(-)src/org/eclipse/gmf/runtime/diagram/ui/render/util/DiagramImageUtils.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2009 IBM Corporation and others.
2
 * Copyright (c) 2009, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 27-33 Link Here
27
import org.eclipse.gef.LayerConstants;
27
import org.eclipse.gef.LayerConstants;
28
import org.eclipse.gef.editparts.LayerManager;
28
import org.eclipse.gef.editparts.LayerManager;
29
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
29
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
30
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.IExpandableFigure;
30
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
31
31
32
/**
32
/**
33
 * Utility methods used by various diagram image generators
33
 * Utility methods used by various diagram image generators

Return to bug 309858