diff options
Diffstat (limited to 'plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src/org/eclipse/papyrus/infra/elementtypesconfigurations/notification/events/UnexecutableAdviceEvent.java')
-rw-r--r-- | plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src/org/eclipse/papyrus/infra/elementtypesconfigurations/notification/events/UnexecutableAdviceEvent.java | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src/org/eclipse/papyrus/infra/elementtypesconfigurations/notification/events/UnexecutableAdviceEvent.java b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src/org/eclipse/papyrus/infra/elementtypesconfigurations/notification/events/UnexecutableAdviceEvent.java index e6926a9c566..40ad5a889f7 100644 --- a/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src/org/eclipse/papyrus/infra/elementtypesconfigurations/notification/events/UnexecutableAdviceEvent.java +++ b/plugins/infra/org.eclipse.papyrus.infra.elementtypesconfigurations/src/org/eclipse/papyrus/infra/elementtypesconfigurations/notification/events/UnexecutableAdviceEvent.java @@ -1,57 +1,57 @@ -/*****************************************************************************
- * Copyright (c) 2016 CEA LIST and others.
- *
- * 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:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.infra.elementtypesconfigurations.notification.events;
-
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelper;
-import org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice;
-import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest;
-
-public class UnexecutableAdviceEvent extends AbstractUnexecutableEvent implements IAdviceEvent {
-
- private IEditHelperAdvice advice;
-
- private IEditHelperAdvice[] advices;
-
- private AdvicePhase advicePhase;
-
- public UnexecutableAdviceEvent(IEditCommandRequest req, IEditHelper editHelper, IEditHelperAdvice advice, ICommand command, IEditHelperAdvice[] advices, AdvicePhase advicePhase) {
- super(req, editHelper, command);
- this.advice = advice;
- this.advices = advices;
- this.advicePhase = advicePhase;
- }
-
- /**
- * @return the advice
- */
- @Override
- public IEditHelperAdvice getAdvice() {
- return advice;
- }
-
- /**
- * @return the advices
- */
- @Override
- public IEditHelperAdvice[] getAdvices() {
- return advices;
- }
-
- /**
- * @return the advicePhase
- */
- public AdvicePhase getAdvicePhase() {
- return advicePhase;
- }
-}
+/***************************************************************************** + * Copyright (c) 2016 CEA LIST and others. + * + * 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: + * CEA LIST - Initial API and implementation + * + *****************************************************************************/ +package org.eclipse.papyrus.infra.elementtypesconfigurations.notification.events; + +import org.eclipse.gmf.runtime.common.core.command.ICommand; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelper; +import org.eclipse.gmf.runtime.emf.type.core.edithelper.IEditHelperAdvice; +import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest; + +public class UnexecutableAdviceEvent extends AbstractUnexecutableEvent implements IAdviceEvent { + + private IEditHelperAdvice advice; + + private IEditHelperAdvice[] advices; + + private AdvicePhase advicePhase; + + public UnexecutableAdviceEvent(IEditCommandRequest req, IEditHelper editHelper, IEditHelperAdvice advice, ICommand command, IEditHelperAdvice[] advices, AdvicePhase advicePhase) { + super(req, editHelper, command); + this.advice = advice; + this.advices = advices; + this.advicePhase = advicePhase; + } + + /** + * @return the advice + */ + @Override + public IEditHelperAdvice getAdvice() { + return advice; + } + + /** + * @return the advices + */ + @Override + public IEditHelperAdvice[] getAdvices() { + return advices; + } + + /** + * @return the advicePhase + */ + public AdvicePhase getAdvicePhase() { + return advicePhase; + } +} |