| /******************************************************************************* |
| * <copyright> |
| * |
| * Copyright (c) 2005, 2010 SAP AG. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Stefan Dimov - initial API, implementation and documentation |
| * |
| * </copyright> |
| * |
| *******************************************************************************/ |
| package org.eclipse.jpt.jpadiagrameditor.ui.internal.util; |
| |
| public class SizePosition { |
| |
| private int width; |
| private int height; |
| private int x; |
| private int y; |
| |
| public boolean primaryCollapsed; |
| public boolean basicCollapsed; |
| public boolean relationCollapsed; |
| |
| public SizePosition(int width, int height, int x, int y) { |
| this.width = width; |
| this.height = height; |
| this.x = x; |
| this.y = y; |
| } |
| |
| public int getWidth() { |
| return width; |
| } |
| |
| public int getHeight() { |
| return height; |
| } |
| |
| public int getX() { |
| return x; |
| } |
| |
| public int getY() { |
| return y; |
| } |
| |
| |
| } |