blob: 2363d4b8041fca44933277cb4c75c25f04fb801a [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010 Boeing.
* 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:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.ats.workflow.editor.model;
import org.eclipse.osee.ats.AtsImage;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.ui.plugin.util.Result;
import org.eclipse.osee.framework.ui.swt.ImageManager;
import org.eclipse.swt.graphics.Image;
/**
* An elliptical shape.
*
* @author Donald G. Dunne
*/
public class EllipticalShape extends Shape {
/** A 16x16 pictogram of an elliptical shape. */
@Override
public Image getIcon() {
return ImageManager.getImage(AtsImage.ELLIPSE_ICON);
}
@Override
public Result validForSave() {
return Result.TrueResult;
}
@Override
public String toString() {
return "Ellipse " + hashCode();
}
@Override
protected String getName() {
return null;
}
@Override
protected String getToolTip() {
return null;
}
@Override
public Result doSave(SkynetTransaction transaction) {
return Result.TrueResult;
}
}