diff options
Diffstat (limited to 'plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/style/impl/CSSImageStyleDelegate.java')
-rw-r--r-- | plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/style/impl/CSSImageStyleDelegate.java | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/style/impl/CSSImageStyleDelegate.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/style/impl/CSSImageStyleDelegate.java index 848cefac75a..a1a23e0013f 100644 --- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/style/impl/CSSImageStyleDelegate.java +++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/style/impl/CSSImageStyleDelegate.java @@ -1,6 +1,6 @@ /***************************************************************************** * Copyright (c) 2012 CEA LIST. - * + * * 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 @@ -28,24 +28,26 @@ public class CSSImageStyleDelegate implements CSSImageStyle { this.engine = engine; } - //////////////////////////////////////////////// - // Implements a getter for each CSS property // - //////////////////////////////////////////////// + // ////////////////////////////////////////////// + // Implements a getter for each CSS property // + // ////////////////////////////////////////////// + @Override public java.lang.Boolean getCSSAntiAlias() { CSSValue cssValue = engine.retrievePropertyValue(imageStyle, "antiAlias"); - if(cssValue == null) { + if (cssValue == null) { Object defaultValue = NotationPackage.eINSTANCE.getImageStyle_AntiAlias().getDefaultValue(); - return (java.lang.Boolean)defaultValue; + return (java.lang.Boolean) defaultValue; } return null; } + @Override public java.lang.Boolean getCSSMaintainAspectRatio() { CSSValue cssValue = engine.retrievePropertyValue(imageStyle, "maintainAspectRatio"); - if(cssValue == null) { + if (cssValue == null) { Object defaultValue = NotationPackage.eINSTANCE.getImageStyle_MaintainAspectRatio().getDefaultValue(); - return (java.lang.Boolean)defaultValue; + return (java.lang.Boolean) defaultValue; } return null; } |