Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/CSSImageStyleImpl.java')
-rw-r--r--plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/CSSImageStyleImpl.java42
1 files changed, 22 insertions, 20 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/CSSImageStyleImpl.java b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/CSSImageStyleImpl.java
index e76c2467c8c..41ae6affbc7 100644
--- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/CSSImageStyleImpl.java
+++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/src-gen/org/eclipse/papyrus/infra/gmfdiag/css/CSSImageStyleImpl.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
@@ -29,52 +29,54 @@ public class CSSImageStyleImpl extends ImageStyleImpl implements CSSImageStyle {
private CSSImageStyle imageStyle;
protected CSSImageStyle getImageStyle() {
- if(imageStyle == null) {
+ if (imageStyle == null) {
imageStyle = new CSSImageStyleDelegate(this, getEngine());
}
return imageStyle;
}
protected ExtendedCSSEngine getEngine() {
- if(engine == null) {
- engine = ((CSSDiagramImpl)findView().getDiagram()).getEngine();
+ if (engine == null) {
+ engine = ((CSSDiagramImpl) findView().getDiagram()).getEngine();
}
return engine;
}
protected View findView() {
EObject parent = eContainer();
- while(!(parent instanceof View) && parent != null) {
+ while (!(parent instanceof View) && parent != null) {
parent = parent.eContainer();
}
- if(parent != null) {
- return (View)parent;
+ if (parent != null) {
+ return (View) parent;
}
return null;
}
- //////////////////////////////////////////
- // Forwards accesses to CSS properties //
- //////////////////////////////////////////
+ // ////////////////////////////////////////
+ // Forwards accesses to CSS properties //
+ // ////////////////////////////////////////
+ @Override
public java.lang.Boolean getCSSAntiAlias() {
java.lang.Boolean value = super.getAntiAlias();
- if(ForceValueHelper.isSet(findView(), this, NotationPackage.eINSTANCE.getImageStyle_AntiAlias(), value)) {
+ if (ForceValueHelper.isSet(findView(), this, NotationPackage.eINSTANCE.getImageStyle_AntiAlias(), value)) {
return value;
} else {
return getImageStyle().getCSSAntiAlias();
}
}
+ @Override
public java.lang.Boolean getCSSMaintainAspectRatio() {
java.lang.Boolean value = super.getMaintainAspectRatio();
- if(ForceValueHelper.isSet(findView(), this, NotationPackage.eINSTANCE.getImageStyle_MaintainAspectRatio(), value)) {
+ if (ForceValueHelper.isSet(findView(), this, NotationPackage.eINSTANCE.getImageStyle_MaintainAspectRatio(), value)) {
return value;
} else {
return getImageStyle().getCSSMaintainAspectRatio();
@@ -84,21 +86,21 @@ public class CSSImageStyleImpl extends ImageStyleImpl implements CSSImageStyle {
@Override
public java.lang.Boolean getAntiAlias() {
- //return super.getAntiAlias();
+ // return super.getAntiAlias();
return getCSSAntiAlias();
}
@Override
public java.lang.Boolean getMaintainAspectRatio() {
- //return super.getMaintainAspectRatio();
+ // return super.getMaintainAspectRatio();
return getCSSMaintainAspectRatio();
}
- ////////////////////////////////////////////////
- // Implements a setter for each CSS property //
- ////////////////////////////////////////////////
+ // //////////////////////////////////////////////
+ // Implements a setter for each CSS property //
+ // //////////////////////////////////////////////
@Override
public void setAntiAlias(java.lang.Boolean value) {
@@ -116,9 +118,9 @@ public class CSSImageStyleImpl extends ImageStyleImpl implements CSSImageStyle {
ForceValueHelper.setValue(findView(), feature, value);
}
- //////////////////////////////////
- // Implements the unset method //
- //////////////////////////////////
+ // ////////////////////////////////
+ // Implements the unset method //
+ // ////////////////////////////////
@Override
public void eUnset(int featureId) {

Back to the top