Skip to content
Snippets Groups Projects
Commit 37832fee authored by Mayank Chaudhary's avatar Mayank Chaudhary
Browse files

compositor for raspberry platform elements added

refs 2507
parent 32893ff5
No related branches found
No related tags found
No related merge requests found
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2016 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.ui.compose.elements;
import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.compose.base.hierarchical.elements.TransmissionUnitComponentCompositorBase;
import org.fortiss.af3.platform.model.IArchitectureDomain;
import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.raspberry.model.Bus;
/**
*
* @author chaudhary
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class BusCompositor extends TransmissionUnitComponentCompositorBase<Bus> {
/** {@inheritDoc} */
@Override
public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() {
return RaspberryPlatformHierarchicalCompositionRules.INSTANCE;
}
/** {@inheritDoc} */
@Override
protected Class<? extends IArchitectureDomain> getEditedObjectClass() {
return Bus.class;
}
}
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2016 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.ui.compose.elements;
import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.compose.base.hierarchical.elements.TransmissionUnitComponentCompositorBase;
import org.fortiss.af3.platform.model.IArchitectureDomain;
import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.raspberry.model.CANBus;
/**
*
* @author chaudhary
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class CANBusCompositor extends TransmissionUnitComponentCompositorBase<CANBus> {
/** {@inheritDoc} */
@Override
public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() {
return RaspberryPlatformHierarchicalCompositionRules.INSTANCE;
}
/** {@inheritDoc} */
@Override
protected Class<? extends IArchitectureDomain> getEditedObjectClass() {
return CANBus.class;
}
}
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2016 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.ui.compose.elements;
import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.compose.base.hierarchical.elements.ExecutionUnitComponentCompositorBase;
import org.fortiss.af3.platform.model.IArchitectureDomain;
import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.raspberry.model.Core;
/**
*
* @author chaudhary
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class CoreCompositor extends ExecutionUnitComponentCompositorBase<Core> {
/** {@inheritDoc} */
@Override
public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() {
return RaspberryPlatformHierarchicalCompositionRules.INSTANCE;
}
/** {@inheritDoc} */
@Override
protected Class<? extends IArchitectureDomain> getEditedObjectClass() {
return Core.class;
}
}
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2016 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.ui.compose.elements;
import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.model.IArchitectureDomain;
import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.raspberry.model.RaspberryPi1;
import org.fortiss.af3.platform.raspberry.ui.compose.RaspberryPi1CompositorBase;
/**
*
* @author chaudhary
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class RaspberryPi1Compositor extends RaspberryPi1CompositorBase<RaspberryPi1> {
/** {@inheritDoc} */
@Override
public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() {
return RaspberryPlatformHierarchicalCompositionRules.INSTANCE;
}
/** {@inheritDoc} */
@Override
protected Class<? extends IArchitectureDomain> getEditedObjectClass() {
return RaspberryPi1.class;
}
}
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2016 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.ui.compose.elements;
import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.model.IArchitectureDomain;
import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.raspberry.model.RaspberryPi2;
import org.fortiss.af3.platform.raspberry.ui.compose.RaspberryPi2CompositorBase;
/**
*
* @author chaudhary
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class RaspberryPi2Compositor extends RaspberryPi2CompositorBase<RaspberryPi2> {
/** {@inheritDoc} */
@Override
public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() {
return RaspberryPlatformHierarchicalCompositionRules.INSTANCE;
}
/** {@inheritDoc} */
@Override
protected Class<? extends IArchitectureDomain> getEditedObjectClass() {
return RaspberryPi2.class;
}
}
/*--------------------------------------------------------------------------+
$Id$
| |
| Copyright 2016 ForTISS GmbH |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
+--------------------------------------------------------------------------*/
package org.fortiss.af3.platform.raspberry.ui.compose.elements;
import org.fortiss.af3.platform.compose.IPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.model.IArchitectureDomain;
import org.fortiss.af3.platform.raspberry.compositor.RaspberryPlatformHierarchicalCompositionRules;
import org.fortiss.af3.platform.raspberry.model.RaspberryPi3;
import org.fortiss.af3.platform.raspberry.ui.compose.RaspberryPi3CompositorBase;
/**
*
* @author chaudhary
* @author $Author$
* @version $Rev$
* @ConQAT.Rating RED Hash:
*/
public class RaspberryPi3Compositor extends RaspberryPi3CompositorBase<RaspberryPi3> {
/** {@inheritDoc} */
@Override
public IPlatformHierarchicalCompositionRules getPlatformCompositionRules() {
return RaspberryPlatformHierarchicalCompositionRules.INSTANCE;
}
/** {@inheritDoc} */
@Override
protected Class<? extends IArchitectureDomain> getEditedObjectClass() {
return RaspberryPi3.class;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment