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 / +1 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;
26
25
27
26
28
/**
27
/**
(-)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/BorderItemContainerFigure.java (-1 / +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 27-32 Link Here
27
import org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareFreeFormLayer;
27
import org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareFreeFormLayer;
28
import org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsUtil;
28
import org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsUtil;
29
import org.eclipse.gmf.runtime.diagram.ui.figures.BorderedNodeFigure;
29
import org.eclipse.gmf.runtime.diagram.ui.figures.BorderedNodeFigure;
30
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
30
import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
31
import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
31
32
32
/**
33
/**
(-)src/org/eclipse/gmf/runtime/diagram/ui/internal/figures/GroupFigure.java (-1 / +2 lines)
Lines 1-5 Link Here
1
/******************************************************************************
1
/******************************************************************************
2
 * Copyright (c) 2007 IBM Corporation and others.
2
 * Copyright (c) 2007, 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 17-22 Link Here
17
import org.eclipse.draw2d.XYLayout;
17
import org.eclipse.draw2d.XYLayout;
18
import org.eclipse.draw2d.geometry.Dimension;
18
import org.eclipse.draw2d.geometry.Dimension;
19
import org.eclipse.draw2d.geometry.Rectangle;
19
import org.eclipse.draw2d.geometry.Rectangle;
20
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
20
import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
21
import org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure;
21
22
22
/**
23
/**
(-)src/org/eclipse/gmf/runtime/diagram/ui/internal/figures/IExpandableFigure.java (-4 / +10 lines)
Lines 1-5 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
Lines 13-21 Link Here
13
13
14
import org.eclipse.draw2d.geometry.Rectangle;
14
import org.eclipse.draw2d.geometry.Rectangle;
15
15
16
/**
17
 * An Expandable Figure
18
 * 
19
 * @author mmostafa
20
 * @deprecated Use {org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure}
21
 */
22
public interface IExpandableFigure extends
23
		org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure {
16
24
17
public interface IExpandableFigure {
25
	Rectangle getExtendedBounds();
18
    
19
    Rectangle getExtendedBounds(); 
20
26
21
}
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
(-)src/org/eclipse/gmf/tests/runtime/diagram/ui/logic/GroupTests.java (-1 / +1 lines)
Lines 41-48 Link Here
41
import org.eclipse.gmf.runtime.diagram.ui.editparts.GroupEditPart;
41
import org.eclipse.gmf.runtime.diagram.ui.editparts.GroupEditPart;
42
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
42
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
43
import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart;
43
import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart;
44
import org.eclipse.gmf.runtime.diagram.ui.figures.IExpandableFigure;
44
import org.eclipse.gmf.runtime.diagram.ui.geoshapes.type.GeoshapeType;
45
import org.eclipse.gmf.runtime.diagram.ui.geoshapes.type.GeoshapeType;
45
import org.eclipse.gmf.runtime.diagram.ui.internal.figures.IExpandableFigure;
46
import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants;
46
import org.eclipse.gmf.runtime.diagram.ui.requests.RequestConstants;
47
import org.eclipse.gmf.runtime.diagram.ui.type.DiagramNotationType;
47
import org.eclipse.gmf.runtime.diagram.ui.type.DiagramNotationType;
48
import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry;
48
import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry;

Return to bug 309858