diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/RoomRuntimeModule.java')
-rw-r--r-- | plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/RoomRuntimeModule.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/RoomRuntimeModule.java b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/RoomRuntimeModule.java new file mode 100644 index 000000000..d12cc0851 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/RoomRuntimeModule.java @@ -0,0 +1,35 @@ +/******************************************************************************* + * Copyright (c) 2010 protos software gmbh (http://www.protos.de). + * 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: + * Thomas Schuetz and Henrik Rentz-Reichert (initial contribution) + * + *******************************************************************************/ + +package org.eclipse.etrice.core; + +import org.eclipse.etrice.core.naming.RoomFragmentProvider; +import org.eclipse.etrice.core.naming.RoomQualifiedNameProvider; +import org.eclipse.xtext.naming.IQualifiedNameProvider; +import org.eclipse.xtext.resource.IFragmentProvider; + + +/** + * Use this class to register components to be used within the IDE. + */ +public class RoomRuntimeModule extends org.eclipse.etrice.core.AbstractRoomRuntimeModule { + + @Override + public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() { + return RoomQualifiedNameProvider.class; + } + + @Override + public Class<? extends IFragmentProvider> bindIFragmentProvider() { + return RoomFragmentProvider.class; + } +} |