| /******************************************************************************* |
| * Copyright (C) 2010, Matthias Sohn <matthias.sohn@sap.com> |
| * |
| * 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 |
| *******************************************************************************/ |
| package org.eclipse.example.calc.internal.operations; |
| |
| import org.eclipse.example.calc.Operation; |
| import org.eclipse.example.calc.Operations; |
| |
| /** |
| * Abstract operation caring for book-keeping |
| */ |
| public abstract class AbstractOperation implements Operation { |
| AbstractOperation() { |
| Operations.INSTANCE.register(this); |
| } |
| } |