diff --git a/org.fortiss.tooling.kernel/trunk/.classpath b/org.fortiss.tooling.kernel/trunk/.classpath index f440d5cd4faa53f89f889d9f1fe9b4f8dee3887b..63ec75a23090ba799dc8732cba37589dd06c9a14 100644 --- a/org.fortiss.tooling.kernel/trunk/.classpath +++ b/org.fortiss.tooling.kernel/trunk/.classpath @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> + <classpathentry kind="src" path="generated-src"/> + <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="src" path="src"/> - <classpathentry kind="src" path="generated-src"/> <classpathentry kind="output" path="build"/> </classpath> diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ServiceManager.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ServiceManager.java new file mode 100644 index 0000000000000000000000000000000000000000..cf8bd5f83d96ee16f89f9ec20c5d3417a8dfb45d --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ServiceManager.java @@ -0,0 +1,168 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel; + +import org.fortiss.tooling.kernel.interfaces.ICommandStackService; +import org.fortiss.tooling.kernel.interfaces.ICompositorService; +import org.fortiss.tooling.kernel.interfaces.IConnectorService; +import org.fortiss.tooling.kernel.interfaces.IConstraintService; +import org.fortiss.tooling.kernel.interfaces.IContextMenuService; +import org.fortiss.tooling.kernel.interfaces.IEditorService; +import org.fortiss.tooling.kernel.interfaces.IExecutionService; +import org.fortiss.tooling.kernel.interfaces.ILibraryService; +import org.fortiss.tooling.kernel.interfaces.IMarkerService; +import org.fortiss.tooling.kernel.interfaces.IModelElementService; +import org.fortiss.tooling.kernel.interfaces.IMultiUserService; +import org.fortiss.tooling.kernel.interfaces.INavigatorService; +import org.fortiss.tooling.kernel.interfaces.IPersistencyService; +import org.fortiss.tooling.kernel.interfaces.IPropertiesService; +import org.fortiss.tooling.kernel.interfaces.IPrototypeService; +import org.fortiss.tooling.kernel.interfaces.IServiceManager; +import org.fortiss.tooling.kernel.interfaces.ITransformationService; + +/** + * This class provides access to all kernel services. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class ServiceManager implements IServiceManager { + + /** Singleton instance. */ + private static final IServiceManager singleton = new ServiceManager(); + + /** Returns the singleton. */ + public static IServiceManager getInstance() { + return singleton; + } + + /** {@inheritDoc} */ + @Override + public ICommandStackService getCommandStackService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public ICompositorService getCompositorService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IConnectorService getConnectorService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IConstraintService getConstraintService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IContextMenuService getContextMenuService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IEditorService getEditorService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IExecutionService getExecutionService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public ILibraryService getLibraryService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IMarkerService getMarkerService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IModelElementService getModelElementService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IMultiUserService getMultiUserService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public INavigatorService getNavigatorService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IPersistencyService getPersistencyService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IPropertiesService getPropertiesService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public IPrototypeService getPrototypeService() { + // TODO Auto-generated method stub + return null; + } + + /** {@inheritDoc} */ + @Override + public ITransformationService getTransformationService() { + // TODO Auto-generated method stub + return null; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ToolingKernelActivator.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ToolingKernelActivator.java index a60987ed284a34d20f5476384b3eaa9169811760..4678f62498a07fadc1d6c819908f267d7811efc6 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ToolingKernelActivator.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/ToolingKernelActivator.java @@ -4,47 +4,37 @@ import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** - * The activator class controls the plug-in life cycle + * The activator class controls the plug-in life cycle. */ public class ToolingKernelActivator extends AbstractUIPlugin { - // The plug-in ID + /** The plug-in ID. */ public static final String PLUGIN_ID = "org.fortiss.tooling.kernel"; //$NON-NLS-1$ - // The shared instance + /** The shared instance. */ private static ToolingKernelActivator plugin; - - /** - * The constructor - */ + + /** Constructor. */ public ToolingKernelActivator() { + // do nothing } - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ + /** {@inheritDoc} */ + @Override public void start(BundleContext context) throws Exception { super.start(context); plugin = this; } - /* - * (non-Javadoc) - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ + /** {@inheritDoc} */ + @Override public void stop(BundleContext context) throws Exception { plugin = null; super.stop(context); } - /** - * Returns the shared instance - * - * @return the shared instance - */ + /** Returns the shared instance. */ public static ToolingKernelActivator getDefault() { return plugin; } - } diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ICommandStackService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ICommandStackService.java new file mode 100644 index 0000000000000000000000000000000000000000..9e0fdd4fe8b6b98dac5e78bc1a23cc797205af2d --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ICommandStackService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The command stack service manages the access to the command stack and editing + * domain. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface ICommandStackService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ICompositorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ICompositorService.java new file mode 100644 index 0000000000000000000000000000000000000000..81f84bbf45e56843805bba14a05aa6687e3f2d3e --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ICompositorService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The compositor service provides registration and access to model element + * compositors. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface ICompositorService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IConnectorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IConnectorService.java new file mode 100644 index 0000000000000000000000000000000000000000..732e504d5c8bb208143a52f985ae9e950ec1c5f9 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IConnectorService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The connector service provides registration and access to model element + * connectors. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IConnectorService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IConstraintService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IConstraintService.java new file mode 100644 index 0000000000000000000000000000000000000000..dd4129c12f257ffec336f0e4b6f624ff60e472bc --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IConstraintService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The constraint service manages registration and execution of model element + * constraints. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IConstraintService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IContextMenuService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IContextMenuService.java new file mode 100644 index 0000000000000000000000000000000000000000..4bf29c4a429609cb8a82fa9bbc810b0fa3624cfe --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IContextMenuService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The context menu service allows registration for model element specific + * context menus. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IContextMenuService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IEditorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IEditorService.java new file mode 100644 index 0000000000000000000000000000000000000000..35a6ff087dddf847fff4688744e42c2fb87bc6c0 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IEditorService.java @@ -0,0 +1,30 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The editor service handles editor registration and double-click support + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IEditorService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IExecutionService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IExecutionService.java new file mode 100644 index 0000000000000000000000000000000000000000..a76a0027ab7686c9640b213b694e4e46c4df823c --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IExecutionService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * This service provides run configurations and target execution for specific + * model elements and execution targets. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IExecutionService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ILibraryService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ILibraryService.java new file mode 100644 index 0000000000000000000000000000000000000000..48bac0ea8506d1455a6231a22d3211a313299171 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ILibraryService.java @@ -0,0 +1,32 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The library service manages the display of elements in the model element + * view. It gathers elements from prototypes and the common and user specific + * model library. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface ILibraryService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IMarkerService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IMarkerService.java new file mode 100644 index 0000000000000000000000000000000000000000..b7f69b8a3be645c56d2301d2f92d4894c4481ee9 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IMarkerService.java @@ -0,0 +1,30 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The marker service manages model element specific markers. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IMarkerService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IModelElementService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IModelElementService.java new file mode 100644 index 0000000000000000000000000000000000000000..1306b8897ffc3369841a597241fdd73338008916 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IModelElementService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The model context service provides information about registered model + * elements. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IModelElementService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IMultiUserService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IMultiUserService.java new file mode 100644 index 0000000000000000000000000000000000000000..4478af799f183e6be03cb6c4e739f34bd2c84659 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IMultiUserService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * This service provides support for multi-user environments. This service is + * only active for EMFStore based repsoitories. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IMultiUserService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/INavigatorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/INavigatorService.java new file mode 100644 index 0000000000000000000000000000000000000000..7e46f402d3b468ec1221e182f9fd9333784dbe82 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/INavigatorService.java @@ -0,0 +1,30 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The navigator service provides model navigation support. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface INavigatorService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPersistencyService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPersistencyService.java index 425e6a99af90d45b48a20aae9dfb5481c116bc61..6517461e6fa27bfd45b00fe9212dbb2b05e5986c 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPersistencyService.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPersistencyService.java @@ -27,5 +27,5 @@ package org.fortiss.tooling.kernel.interfaces; * @levd.rating RED Rev: */ public interface IPersistencyService { - + // TODO (FH): define } diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPropertiesService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPropertiesService.java new file mode 100644 index 0000000000000000000000000000000000000000..c57e82c395e0baec5494e28d1025c89ff3eb3b6f --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPropertiesService.java @@ -0,0 +1,30 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The properties service manages model element specific properties. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IPropertiesService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPrototypeService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPrototypeService.java new file mode 100644 index 0000000000000000000000000000000000000000..a7d57fab9d8d830fc235e9e4dfa81751aed54666 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IPrototypeService.java @@ -0,0 +1,31 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * The prototype service provides registration and access to model element + * prototypes. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IPrototypeService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IServiceManager.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IServiceManager.java new file mode 100644 index 0000000000000000000000000000000000000000..52a1d74f42701256f86664b4a72857c13e9ded06 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/IServiceManager.java @@ -0,0 +1,77 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * A service manager provides access to all the kernel services. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface IServiceManager { + + /** Returns the command stack service. */ + ICommandStackService getCommandStackService(); + + /** Returns the compositor service. */ + ICompositorService getCompositorService(); + + /** Returns the connector service. */ + IConnectorService getConnectorService(); + + /** Returns the constraint service. */ + IConstraintService getConstraintService(); + + /** Returns the context menu service. */ + IContextMenuService getContextMenuService(); + + /** Returns the editor service. */ + IEditorService getEditorService(); + + /** Returns the execution service. */ + IExecutionService getExecutionService(); + + /** Returns the library service. */ + ILibraryService getLibraryService(); + + /** Returns the marker service. */ + IMarkerService getMarkerService(); + + /** Returns the model element service. */ + IModelElementService getModelElementService(); + + /** Returns the mutli-user service. */ + IMultiUserService getMultiUserService(); + + /** Returns the navigator service. */ + INavigatorService getNavigatorService(); + + /** Returns the persistency service. */ + IPersistencyService getPersistencyService(); + + /** Returns the properties service. */ + IPropertiesService getPropertiesService(); + + /** Returns the prototype service. */ + IPrototypeService getPrototypeService(); + + /** Returns the transformation service. */ + ITransformationService getTransformationService(); +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ITransformationService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ITransformationService.java new file mode 100644 index 0000000000000000000000000000000000000000..4aaaeb52ff2972de22fbbe822e70358b0d08e1dd --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/interfaces/ITransformationService.java @@ -0,0 +1,30 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.interfaces; + +/** + * This service manages model element specific transformations. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public interface ITransformationService { + // TODO (FH): define +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/CommandStackService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/CommandStackService.java new file mode 100644 index 0000000000000000000000000000000000000000..02ea256a23ac8361653307629ffebc56f69d36f0 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/CommandStackService.java @@ -0,0 +1,39 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.ICommandStackService; + +/** + * This class implements the {@link ICommandStackService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class CommandStackService implements ICommandStackService { + + /** Singleton instance. */ + private static final ICommandStackService singleton = new CommandStackService(); + + /** Returns the singleton instance. */ + public static ICommandStackService getInstance() { + return singleton; + } +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/CompositorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/CompositorService.java new file mode 100644 index 0000000000000000000000000000000000000000..b02f1d6308dd05d9f29556980b2092a0388a76f4 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/CompositorService.java @@ -0,0 +1,39 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.ICompositorService; + +/** + * This class implements the {@link ICompositorService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class CompositorService implements ICompositorService { + + /** Singleton instance. */ + private static final ICompositorService singleton = new CompositorService(); + + /** Returns the singleton instance. */ + public static ICompositorService getInstance() { + return singleton; + } +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ConnectorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ConnectorService.java new file mode 100644 index 0000000000000000000000000000000000000000..9453d5317a23a07a5b4c2d559af8abd9f694afee --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ConnectorService.java @@ -0,0 +1,39 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IConnectorService; + +/** + * This class implements the {@link IConnectorService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class ConnectorService implements IConnectorService { + + /** Singleton instance. */ + private static final IConnectorService singleton = new ConnectorService(); + + /** Returns the singleton instance. */ + public static IConnectorService getInstance() { + return singleton; + } +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ConstraintService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ConstraintService.java new file mode 100644 index 0000000000000000000000000000000000000000..57de9975bef9519c01f138f7bd0585ef8c6746e4 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ConstraintService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IConstraintService; + +/** + * This class implements the {@link IConstraintService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class ConstraintService implements IConstraintService { + + /** Singleton instance. */ + private static final IConstraintService singleton = new ConstraintService(); + + /** Returns the singleton instance. */ + public static IConstraintService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ContextMenuService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ContextMenuService.java new file mode 100644 index 0000000000000000000000000000000000000000..b895da2875f29c6fa1d8ca8ac466f2c06736a8f0 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ContextMenuService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IContextMenuService; + +/** + * This class implements the {@link IContextMenuService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class ContextMenuService implements IContextMenuService { + + /** Singleton instance. */ + private static final IContextMenuService singleton = new ContextMenuService(); + + /** Returns the singleton instance. */ + public static IContextMenuService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/EditorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/EditorService.java new file mode 100644 index 0000000000000000000000000000000000000000..bc1e4c37e1cd7836eefe5754023e9c5e46b6ce1c --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/EditorService.java @@ -0,0 +1,41 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IConstraintService; +import org.fortiss.tooling.kernel.interfaces.IEditorService; + +/** + * This class implements the {@link IEditorService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class EditorService implements IEditorService { + + /** Singleton instance. */ + private static final IConstraintService singleton = new ConstraintService(); + + /** Returns the singleton instance. */ + public static IConstraintService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ExecutionService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ExecutionService.java new file mode 100644 index 0000000000000000000000000000000000000000..7f05483eed8f73ec2ab521bda4f1ca84a128f40d --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ExecutionService.java @@ -0,0 +1,39 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IExecutionService; + +/** + * This class implements the {@link IExecutionService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class ExecutionService implements IExecutionService { + + /** Singleton instance. */ + private static final IExecutionService singleton = new ExecutionService(); + + /** Returns the singleton instance. */ + public static IExecutionService getInstance() { + return singleton; + } +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java new file mode 100644 index 0000000000000000000000000000000000000000..ddc8058ee50514b7c41a7dd01c00df9cadbd7544 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/LibraryService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.ILibraryService; + +/** + * This class implements the {@link ILibraryService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class LibraryService implements ILibraryService { + + /** Singleton instance. */ + private static final ILibraryService singleton = new LibraryService(); + + /** Returns the singleton instance. */ + public static ILibraryService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/MarkerService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/MarkerService.java new file mode 100644 index 0000000000000000000000000000000000000000..01f48488ff26c3ce08be24546d5bb590ad98aca5 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/MarkerService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IMarkerService; + +/** + * This class implements the {@link IMarkerService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class MarkerService implements IMarkerService { + + /** Singleton instance. */ + private static final IMarkerService singleton = new MarkerService(); + + /** Returns the singleton instance. */ + public static IMarkerService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ModelElementService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ModelElementService.java new file mode 100644 index 0000000000000000000000000000000000000000..d6ff2026623fec255d79854521f3e67a4cf3d192 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/ModelElementService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IModelElementService; + +/** + * This class implements the {@link IModelElementService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class ModelElementService implements IModelElementService { + + /** Singleton instance. */ + private static final IModelElementService singleton = new ModelElementService(); + + /** Returns the singleton instance. */ + public static IModelElementService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/MultiUserService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/MultiUserService.java new file mode 100644 index 0000000000000000000000000000000000000000..f93b2b169cad0e3c5bf14a2948353a98cc119148 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/MultiUserService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IMultiUserService; + +/** + * This class implements the {@link IMultiUserService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class MultiUserService implements IMultiUserService { + + /** Singleton instance. */ + private static final IMultiUserService singleton = new MultiUserService(); + + /** Returns the singleton instance. */ + public static IMultiUserService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/NavigatorService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/NavigatorService.java new file mode 100644 index 0000000000000000000000000000000000000000..059f109e0e62f2fcd2fa7b7c50ed9bc060a26ae8 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/NavigatorService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.INavigatorService; + +/** + * This class implements the {@link INavigatorService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class NavigatorService implements INavigatorService { + + /** Singleton instance. */ + private static final INavigatorService singleton = new NavigatorService(); + + /** Returns the singleton instance. */ + public static INavigatorService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PersistencyService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PersistencyService.java new file mode 100644 index 0000000000000000000000000000000000000000..aa5f67c9a9e9a97f75ae79164f9e188386d22c79 --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PersistencyService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IPersistencyService; + +/** + * This class implements the {@link IPersistencyService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class PersistencyService implements IPersistencyService { + + /** Singleton instance. */ + private static final IPersistencyService singleton = new PersistencyService(); + + /** Returns the singleton instance. */ + public static IPersistencyService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java new file mode 100644 index 0000000000000000000000000000000000000000..90c74ec74e6f661726300f3323af10263a8b9e3c --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/PrototypeService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.IPrototypeService; + +/** + * This class implements the {@link IPrototypeService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class PrototypeService implements IPrototypeService { + + /** Singleton instance. */ + private static final IPrototypeService singleton = new PrototypeService(); + + /** Returns the singleton instance. */ + public static IPrototypeService getInstance() { + return singleton; + } + +} diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/TransformationService.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/TransformationService.java new file mode 100644 index 0000000000000000000000000000000000000000..e1ea080d96257189dd2b473ae413274aa6efeafa --- /dev/null +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/internal/TransformationService.java @@ -0,0 +1,40 @@ +/*--------------------------------------------------------------------------+ +$Id$ +| | +| Copyright 2005-2010 Technische Universitaet Muenchen | +| | +| 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.tooling.kernel.internal; + +import org.fortiss.tooling.kernel.interfaces.ITransformationService; + +/** + * This class implements the {@link ITransformationService} interface. + * + * @author hoelzlf + * @author $Author$ + * @version $Rev$ + * @levd.rating RED Rev: + */ +public class TransformationService implements ITransformationService { + + /** Singleton instance. */ + private static final ITransformationService singleton = new TransformationService(); + + /** Returns the singleton instance. */ + public static ITransformationService getInstance() { + return singleton; + } + +}