diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b119d0456..b52bcf4d5 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,4 +15,3 @@ jobs:
run: |
pushd ros-model
mvn clean verify -f plugins/de.fraunhofer.ipa.ros.parent/pom.xml
-
diff --git a/.gitignore b/.gitignore
index dcb9fe0d0..6fd4aedd5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,10 @@
bin/
target
-xtend-gen/
.metadata
.recommenders
*.xtendbin
-xtend-gen/
+**/**/xtend-gen/*
+!**/**/xtend-gen/.gitkeep
*.pyc
plugin.xml_gen
.antlr-generator-3.2.0-patch.jar
@@ -20,4 +20,3 @@ dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
-
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 000000000..a7189d37b
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,19 @@
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
+ - id: check-yaml
+ - id: check-added-large-files
+
+- repo: https://github.com/Lucas-C/pre-commit-hooks
+ rev: v1.4.2
+ hooks:
+ - id: forbid-crlf
+ - id: remove-crlf
+ - id: forbid-tabs
+ - id: remove-tabs
+ args: [--whitespaces-count, '4']
diff --git a/EclipseInstaller/.project b/EclipseInstaller/.project
index 690a8b2f7..6dc3df9e9 100644
--- a/EclipseInstaller/.project
+++ b/EclipseInstaller/.project
@@ -1,11 +1,11 @@
- EclipseInstaller
-
-
-
-
-
-
-
+ EclipseInstaller
+
+
+
+
+
+
+
diff --git a/EclipseInstaller/ROSModel.setup b/EclipseInstaller/ROSModel.setup
index 9def71e6d..e96ea49af 100644
--- a/EclipseInstaller/ROSModel.setup
+++ b/EclipseInstaller/ROSModel.setup
@@ -36,13 +36,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
- <section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
- <item value="true" key="group_libraries"/>
- <item value="false" key="linkWithEditor"/>
- <item value="2" key="layout"/>
- <item value="2" key="rootMode"/>
- <item value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer configured="true" group_libraries="1" layout="2" linkWithEditor="0" rootMode="2" sortWorkingSets="false" workingSetName="">
<localWorkingSetManager>
<workingSet editPageId="org.eclipse.jdt.internal.ui.OthersWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1382792884467_1" label="Other Projects" name="Other Projects"/>
</localWorkingSetManager>
<activeWorkingSet workingSetName="Other Projects"/>
<allWorkingSets workingSetName="Other Projects"/>
</packageExplorer>" key="memento"/>
- </section>
+ <section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
+ <item value="true" key="group_libraries"/>
+ <item value="false" key="linkWithEditor"/>
+ <item value="2" key="layout"/>
+ <item value="2" key="rootMode"/>
+ <item value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer configured="true" group_libraries="1" layout="2" linkWithEditor="0" rootMode="2" sortWorkingSets="false" workingSetName="">
<localWorkingSetManager>
<workingSet editPageId="org.eclipse.jdt.internal.ui.OthersWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1382792884467_1" label="Other Projects" name="Other Projects"/>
</localWorkingSetManager>
<activeWorkingSet workingSetName="Other Projects"/>
<allWorkingSets workingSetName="Other Projects"/>
</packageExplorer>" key="memento"/>
+ </section>
</section>
diff --git a/LICENSE b/LICENSE
index dc34af813..8dc1a4391 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,28 +1,28 @@
BSD 3-Clause License
Copyright (c) 2018, Nadia Hammoudeh Garcia
-All rights reserved.
+All rights reserved.
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of Fraunhofer IPA nor the names of its contributors may
- be used to endorse or promote products derived from this software
- without specific prior written permission.
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of Fraunhofer IPA nor the names of its contributors may
+ be used to endorse or promote products derived from this software
+ without specific prior written permission.
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
index 212788763..34152b0d9 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
# Ros Model
-[](https://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ipa320/ros-model)
+[](https://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ipa320/ros-model)
-The main purpose of this effort is to combine the advantages of [ROS](http://wiki.ros.org/) and Model-Driven-Engineering techniques. This repository holds a family of metamodels defined as ecore models that together with its java and Xtext and Xtend grammar implementations facilitates the use of a set of tools and graphical plug-ins to create models from ROS code, compose and validate the composition of models, autogenerate deployment artifacts and check the use of standard specifications.
+The main purpose of this effort is to combine the advantages of [ROS](http://wiki.ros.org/) and Model-Driven-Engineering techniques. This repository holds a family of metamodels defined as ecore models that together with its java and Xtext and Xtend grammar implementations facilitates the use of a set of tools and graphical plug-ins to create models from ROS code, compose and validate the composition of models, autogenerate deployment artifacts and check the use of standard specifications.
Technical Maintainer: [**ipa-nhg**](https://github.com/ipa-nhg/) (**Nadia Hammoudeh Garcia**, **Fraunhofer IPA**) - **nadia.hammoudeh.garcia@ipa.fraunhofer.de**
diff --git a/docu/CompareSpec.md b/docu/CompareSpec.md
index 3c3c08c70..ba82ee5e4 100644
--- a/docu/CompareSpec.md
+++ b/docu/CompareSpec.md
@@ -6,11 +6,11 @@ Press the button of ROS model checker:

-Select as input your model file and as specification the model that defines the standard you want to follow (some specifications are available under **de.fraunhofer.ipa.ros.communication.objects/BasicSpecs**).
+Select as input your model file and as specification the model that defines the standard you want to follow (some specifications are available under **de.fraunhofer.ipa.ros.communication.objects/BasicSpecs**).

-To use this feature you have to locate your model file in your eclipse workspace by importing the project that contains it.
+To use this feature you have to locate your model file in your eclipse workspace by importing the project that contains it.
By pressing *Finish* a dialog will give you a summary of your analysis:
diff --git a/docu/Installation.md b/docu/Installation.md
index 18acfac06..d83a10bf4 100644
--- a/docu/Installation.md
+++ b/docu/Installation.md
@@ -43,9 +43,9 @@ wget https://raw.githubusercontent.com/ipa320/ros-model/master/EclipseInstaller/

-Select the the ROS Model project (under Github Projects -> ) and press next.
+Select the the ROS Model project (under Github Projects -> ) and press next.
-By default the ROS tooling installation will be saved under the folder *ros-model-master* in your home directory. To ensure that you have access to get the source code from GitHub, select the check box *Show all variable* and change the *Ros model Github repository* to the *HTTPs(read-write)* option, verify that the option *Github user ID* is set to "anonymous".
+By default the ROS tooling installation will be saved under the folder *ros-model-master* in your home directory. To ensure that you have access to get the source code from GitHub, select the check box *Show all variable* and change the *Ros model Github repository* to the *HTTPs(read-write)* option, verify that the option *Github user ID* is set to "anonymous".

diff --git a/docu/Introspection.md b/docu/Introspection.md
index c17c90844..5655a068d 100644
--- a/docu/Introspection.md
+++ b/docu/Introspection.md
@@ -2,7 +2,7 @@
Please be sure that the tool is installed and your workspace setup, see the [installation guide](../README.md) for further details.
-The tools documented here were conceived as a simple way to obtain models of systems already developed during their execution. This series of scripts uses the popular ROS rosgraph library to obtain a list of the interfaces present in the system at runtime.
+The tools documented here were conceived as a simple way to obtain models of systems already developed during their execution. This series of scripts uses the popular ROS rosgraph library to obtain a list of the interfaces present in the system at runtime.
You can install the tools directly on your workspace using the following command:
diff --git a/docu/ModelCombine.md b/docu/ModelCombine.md
index 7fcdde4dc..9d1c56d94 100644
--- a/docu/ModelCombine.md
+++ b/docu/ModelCombine.md
@@ -23,7 +23,7 @@ The idea if the first strategy is to sum components and interfaces into a single
```
RosSystem { Name 'cob4-25'
- RosComponents (
+ RosComponents (
ComponentInterface { name '/base_laser_front/driver'},
ComponentInterface { name '/torso_cam3d_down/realsense2_camera'},
ComponentInterface { name '/arm_right/driver'},
@@ -45,4 +45,4 @@ If I combine this model with the runtime one I get as result a new system with o
Other use of this feature is the composition of system files got from the auto models extractors that we offer ([static analysis](https://github.com/ipa320/ros-model/blob/master/docu/NewRosModel.md) and [runtime introspection](https://github.com/ipa-led/ros_graph_parser)).
-While the static analyzer of code extracts all the information for each node, the amount of extracted data is quite limited. Conversely, the runtime introspection can't find some static information of the nodes (like the ROS package that contains it and the dependencies) but this method is able to find almost all the interfaces running on the system. With the model combination and using the static analysis extraction as the first model to combine , you can make a good use of the benefits of both methods results.
\ No newline at end of file
+While the static analyzer of code extracts all the information for each node, the amount of extracted data is quite limited. Conversely, the runtime introspection can't find some static information of the nodes (like the ROS package that contains it and the dependencies) but this method is able to find almost all the interfaces running on the system. With the model combination and using the static analysis extraction as the first model to combine , you can make a good use of the benefits of both methods results.
diff --git a/docu/NewCommunicationObjects.md b/docu/NewCommunicationObjects.md
index c1f8694a2..bdf8aadfe 100644
--- a/docu/NewCommunicationObjects.md
+++ b/docu/NewCommunicationObjects.md
@@ -24,26 +24,26 @@ To modify the ROS models (.ros) manually the ROS tooling provides a customized e
This editor contains an autocomplete function (by pressing Ctrl+Space) and will report any error made by editing. The first step is define a PackageSet (that correspond to a metapackage for ROS, this definition is optional and its name can be kept empty). Then, the ROS package which contains the msgs have to be defined and within it the option "spec" have to be selected to write down the objects. In the practice that means that the initial *.ros file that describes ROS objects looks:
```
-PackageSet { package { CatkinPackage ros_package_name {
- spec {}
+PackageSet { package { CatkinPackage ros_package_name {
+ spec {}
}}}
```
The grammar supports 3 types of communication objects TopicSpec (to describe ROS msgs), ServiceSpec (to describe ROS srvs) and ActionSpec (to describe ROS actions), and consequentially each of these 3 types support different specifications types:
-- ROS msgs
+- ROS msgs
- **TopicSpec** SpecName { **message** { ElementType ElementName ... } }
+ **TopicSpec** SpecName { **message** { ElementType ElementName ... } }
-> Example ```TopicSpec Point{ message { float64 x float64 y float64 z }}```
-- ROS srvs
+- ROS srvs
**ServiceSpec** SpecName { **request** { ElementType ElementName ..} **response** { ElementType ElementName .. } }
-> Example ```ServiceSpec SetBool{ request { bool data } response { bool success string message } }```
-- ROS actions
+- ROS actions
**ActionSpec** SpecName { **goal** { ElementType ElementName .. } **result** { ElementType ElementName ..} **feedback** { ElementType ElementName .. }}
@@ -81,7 +81,7 @@ The following extract shows the ROS model description correspondent to the [nav_
```
PackageSet {
- Package nav_msgs{ Specs {
+ Package nav_msgs{ Specs {
TopicSpec GetMapAction{ message { GetMapActionGoal action_goal GetMapActionResult action_result GetMapActionFeedback action_feedback }},
TopicSpec GetMapActionFeedback{ message { Header header "actionlib_msgs.GoalStatus" status GetMapFeedback feedback }},
TopicSpec GetMapActionGoal{ message { Header header "actionlib_msgs.GoalID" goal_id GetMapGoal goal }},
@@ -104,7 +104,7 @@ PackageSet {
```
PackageSet {
- Package my_msgs { Specs {
+ Package my_msgs { Specs {
TopicSpec hello { message { String data }},
ServiceSpec hello { request { } response { String data }},
}}
@@ -113,4 +113,3 @@ PackageSet {
The reason is that when one of these objects have to be referenced during the definition of a node it will be imposible for the model to distinguish which is the correct one (both are defined as my_msgs.Hello and whitin the dame model file). For these cases we recommend to split the objects into two different model files.
The repository [RosCommonObjects](https://github.com/ipa320/RosCommonObjects) holds further examples.
-
diff --git a/docu/NewComponent.md b/docu/NewComponent.md
index 156eddf7b..3db611ef8 100644
--- a/docu/NewComponent.md
+++ b/docu/NewComponent.md
@@ -13,4 +13,3 @@ The next menu will ask you to give to your component a name and a namespace (opt
Your component will be automatically created, in case you want to modify the default remaps of the interfaces you can edit the file using the EMF editor

-
diff --git a/docu/NewProject.md b/docu/NewProject.md
index c157adaec..6b12e25e3 100644
--- a/docu/NewProject.md
+++ b/docu/NewProject.md
@@ -6,13 +6,13 @@ To create a new project you have to press the button "Add new Ros Project"

-A pop-up dialog will ask you to define the name of the project. Once you press finish a new folder will be created with a collection of common messages and services and a predefined ROS model. To describe easily the model you can use a Sirius representation.
-
-A new window will be opened where you can choose and add elements by selecting them on the side toolbar. Using the properties view you can modify and describe the properties of each element.
+A new window will be opened where you can choose and add elements by selecting them on the side toolbar. Using the properties view you can modify and describe the properties of each element.

diff --git a/docu/NewSystem.md b/docu/NewSystem.md
index 8de6dbede..e5eac36c7 100644
--- a/docu/NewSystem.md
+++ b/docu/NewSystem.md
@@ -42,7 +42,7 @@ RosModel: rosnodes/sick_s300.ros
```
Name: scan_unifier
-NameSpace:
+NameSpace:
RosModel: rosnodes/scan_unifier.ros
```
@@ -58,17 +58,17 @@ The resulted launch file contains the defined namespaces and remap the topics of
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -83,21 +83,21 @@ These changes should change the roslaunch file to:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
```
@@ -110,7 +110,7 @@ To create a new system you have to press the button "Add new Ros System" and a d
To modify easily the model you can use a Sirius representation. Open the file representation.aird with the Aird editor and in the menu representations choose the "RosSystem" option and press "New.." then choose the Ros System entity of your "*.rossystem" model and press finish.
-A new window will appear where you can choose and add elements by selecting them on the side toolbar and the properties view.
+A new window will appear where you can choose and add elements by selecting them on the side toolbar and the properties view.

@@ -118,7 +118,7 @@ The new system already contains the previous system model as a single block and
```
Name: diagnostics
-NameSpace:
+NameSpace:
RosModel: rosnodes/diagnostic_aggregator.ros
```
And join the diagnostics interfaces with a connection. The resulted launch file will include the previous generated launch file and the new imported node.
diff --git a/docu/Parameters.md b/docu/Parameters.md
index 96583a26a..cdd33fcbf 100644
--- a/docu/Parameters.md
+++ b/docu/Parameters.md
@@ -3,15 +3,15 @@
The types of parameters supported by the ROS tooling are the following:
* Boolean (true or false)
-* Integer
+* Integer
* Double
* String
* Base64
-* List
+* List
* Array
* Struc
-and their description is allowed at ROS and ROSSystem model level.
+and their description is allowed at ROS and ROSSystem model level.
The definition of a parameter at ROS model level means that the ROS original node get or set a new parameter, this case is partially supported by the graphical editor, which allows only the definition of parameters of primitive types: String, Double, Integer and Boolean without a default value.
@@ -30,7 +30,7 @@ PackageSet {
CatkinPackage test_parameters{
Artifact test_parameters {
Node { name test
- Parameters {
+ Parameters {
Parameter { name string_test type String },
Parameter { name bool_tets type Boolean },
Parameter { name array_tets type Array {type String}},
@@ -38,7 +38,7 @@ PackageSet {
Parameter { name double_test type Double},
Parameter {name int_test type Integer},
Parameter {name list_test type List {Integer,Integer,String}},
- Parameter {name struc_test type Struc
+ Parameter {name struc_test type Struc
{first_element Integer ,
second_element List { Integer, String},
third_element String ,
@@ -53,12 +53,12 @@ These parameters can be re-set at Rossystem level (that means for ROS developers
Continuing the previous example, the parameters redefinition looks:
```
-RosSystem { Name 'test_parameters_system'
- RosComponents (
+RosSystem { Name 'test_parameters_system'
+ RosComponents (
ComponentInterface {
name test_param_component
RosParameters {
- RosParameter {
+ RosParameter {
RefParameter "test_parameters.test_parameters.test.string_test" value test},
RosParameter {
RefParameter "test_parameters.test_parameters.test.bool_tets" value true },
@@ -73,9 +73,9 @@ RosSystem { Name 'test_parameters_system'
RosParameter {
RefParameter "test_parameters.test_parameters.test.struc_test" value {
{ second_element {value{1,dsad}}},
- { last_element { value {
+ { last_element { value {
{ hello {value 3} },
- { what {value sd} }
+ { what {value sd} }
}}}}}}})
}
```
diff --git a/docu/ROSSeRoNet.md b/docu/ROSSeRoNet.md
index ce7c586a5..140affe2a 100644
--- a/docu/ROSSeRoNet.md
+++ b/docu/ROSSeRoNet.md
@@ -30,7 +30,7 @@ This example requires the common ROS interfaces, by clicking the button *Import

-And you can import now the project to be transformed, for example [cob_light](https://github.com/ipa-nhg/ros-model-examples/tree/master/RosComponents/cob_light) from the ros-model-examples repository (previously cloned).
+And you can import now the project to be transformed, for example [cob_light](https://github.com/ipa-nhg/ros-model-examples/tree/master/RosComponents/cob_light) from the ros-model-examples repository (previously cloned).

@@ -38,7 +38,7 @@ By openning the representation file you can see the following model visualizatio

-Or you can create a [new project from an empty model](https://github.com/ipa320/ros-model/blob/master/docu/NewProject.md). In case you have an existing ROS package that contains the C++ code of your component we recommend to use the [extractor](https://github.com/ipa320/ros-model/blob/master/docu/NewRosModel.md) instead of start from scratch the model definition.
+Or you can create a [new project from an empty model](https://github.com/ipa320/ros-model/blob/master/docu/NewProject.md). In case you have an existing ROS package that contains the C++ code of your component we recommend to use the [extractor](https://github.com/ipa320/ros-model/blob/master/docu/NewRosModel.md) instead of start from scratch the model definition.
NOTE: all the msgs, srvs or actions used by your node (package dependencies) have to be also described, we made available a model of the most [common ROS interfaces](https://github.com/ipa320/ros-model/tree/master/ROSCommonObjects/de.fraunhofer.ipa.ros.communication.objects/basic_msgs). In case one of your package dependencies is not included in this list you have to create the models usin the following [script](https://github.com/ipa320/ros-model/blob/master/docu/NewCommunicationObjects.md)
@@ -54,7 +54,7 @@ Complementarily and to make easier the relay of interfaces we incorporated an ex

-These two files can be used to create a [new SeRoNet component](https://wiki.servicerobotik-ulm.de/tutorials:develop-your-first-component:start). First the presperctive have to be changed to the "Component Supplier" one. This perspective will add the option to create a new Component Project by giving a name and a localization. The previosly generated SeRoNetComponent files can simply be copied to the model folder of the new project.
+These two files can be used to create a [new SeRoNet component](https://wiki.servicerobotik-ulm.de/tutorials:develop-your-first-component:start). First the presperctive have to be changed to the "Component Supplier" one. This perspective will add the option to create a new Component Project by giving a name and a localization. The previosly generated SeRoNetComponent files can simply be copied to the model folder of the new project.

@@ -77,7 +77,7 @@ This will generate the file services and the file types under the folder *src-ge

-For further information please see: https://github.com/ipa-nhg/SeRoNet-Tooling-ROS-Mixed-Port/tree/M2MCommunicationObjectsReadme/de.seronet_projekt.ros.componentGateway.generator#automatic-transformation-of-communication-objects
+For further information please see: https://github.com/ipa-nhg/SeRoNet-Tooling-ROS-Mixed-Port/tree/M2MCommunicationObjectsReadme/de.seronet_projekt.ros.componentGateway.generator#automatic-transformation-of-communication-objects
These files are the input for a SeRoNet Domain Model. By creating a [new Domain Project](https://wiki.servicerobotik-ulm.de/tutorials:develop-your-first-domain-model:start) you can just copy these two files and the models will be automatically added to the interpreter.
diff --git a/docu/Release.md b/docu/Release.md
index f9839130c..c73394031 100644
--- a/docu/Release.md
+++ b/docu/Release.md
@@ -28,5 +28,3 @@ The resulted folders and files have to be copied to the *updatesite/latest* fold
### 4. Add a new release on GitHub
Tag the current point of the history with the release number previously given (X.Y.0). Optionally upgrade the [exported files](#3-export-the-updated-feature) as a zip.
-
-
diff --git a/docu/simulateRuntime.md b/docu/simulateRuntime.md
index 5ec53d22c..fe4afbf4a 100644
--- a/docu/simulateRuntime.md
+++ b/docu/simulateRuntime.md
@@ -2,7 +2,7 @@
In ROS, when executing a launch file that defines several nodes, the connections will be automatically created by the rosmaster. To "simulate" this behaviour, the tooling infrastructure offers a button that creates the connections that will be wired automatically at runtime, that means: all interfaces with the same name and the same message (communication object) type.
-This function can be called from the system graphical editor. The definition of ROS systems is covered in this tutorial: [Define a ROS system as a composition of components](NewSystem.md).
+This function can be called from the system graphical editor. The definition of ROS systems is covered in this tutorial: [Define a ROS system as a composition of components](NewSystem.md).

@@ -15,5 +15,5 @@ The menu can be opened by right-clicking on the system background. It offers 3 o
* Auto Connect open ports: this option will suggest likely connections, i.e. it will join interfaces with the same message (communication object) type and will remap consequently the names of the ports. For the example diagram the result will be:

-
+
* Remove all connections: to clear the connections of the model
diff --git a/examples/.classpath b/examples/.classpath
new file mode 100644
index 000000000..795a5a614
--- /dev/null
+++ b/examples/.classpath
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/examples/.project b/examples/.project
new file mode 100644
index 000000000..0aa2763b5
--- /dev/null
+++ b/examples/.project
@@ -0,0 +1,23 @@
+
+
+ rosmodel_examples
+
+
+
+
+
+ org.eclipse.xtext.ui.shared.xtextBuilder
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.xtext.ui.shared.xtextNature
+
+
diff --git a/examples/msgs/common_msgs.ros b/examples/msgs/common_msgs.ros
new file mode 100644
index 000000000..78ec38e86
--- /dev/null
+++ b/examples/msgs/common_msgs.ros
@@ -0,0 +1,350 @@
+geometry_msgs:
+ specs:
+ - msg: Accel
+ message:
+ linear: Vector3
+ angular: Vector3
+ - msg: Vector3
+ message:
+ x: float64
+ y: float64
+ z: float64
+ - msg: AccelStamped
+ message:
+ header: Header
+ accel: Accel
+ - msg: AccelWithCovariance
+ message:
+ accel: Accel
+ covariance: float64[]
+ - msg: AccelWithCovarianceStamped
+ message:
+ header: Header
+ accel: AccelWithCovariance
+ - msg: Inertia
+ message:
+ m: float64
+ com: "geometry_msgs.Vector3"
+ ixx: float64
+ ixy: float64
+ ixz: float64
+ iyy: float64
+ iyz: float64
+ izz: float64
+ - msg: InertiaStamped
+ message:
+ header: Header
+ inertia: Inertia
+ - msg: Point
+ message:
+ x: float64
+ y: float64
+ z: float64
+ - msg: Point32
+ message:
+ x: float32
+ y: float32
+ z: float32
+ - msg: PointStamped
+ message:
+ header: Header
+ point: Point
+ - msg: Polygon
+ message:
+ points: Point32[]
+ - msg: PolygonStamped
+ message:
+ header: Header
+ polygon: Polygon
+ - msg: Pose
+ message:
+ position: Point
+ orientation: Quaternion
+ - msg: Pose2D
+ message:
+ x: float64
+ y: float64
+ theta: float64
+ - msg: PoseArray
+ message:
+ header: Header
+ poses: Pose[]
+ - msg: PoseStamped
+ message:
+ header: Header
+ pose: Pose
+ - msg: PoseWithCovariance
+ message:
+ pose: Pose
+ covariance: float64[]
+ - msg: PoseWithCovarianceStamped
+ message:
+ header: Header
+ pose: PoseWithCovariance
+ - msg: Quaternion
+ message:
+ x: float64
+ y: float64
+ z: float64
+ w: float64
+ - msg: QuaternionStamped
+ message:
+ header: Header
+ quaternion: Quaternion
+ - msg: Transform
+ message:
+ translation: Vector3
+ rotation: Quaternion
+ - msg: TransformStamped
+ message:
+ header: Header
+ child_frame_id: string
+ transform: Transform
+ - msg: Twist
+ message:
+ linear : Vector3
+ angular: Vector3
+ - msg: TwistStamped
+ message:
+ header: Header
+ twist: Twist
+ - msg: TwistWithCovariance
+ message:
+ twist: Twist
+ covariance: float64[]
+ - msg: TwistWithCovarianceStamped
+ message:
+ header: Header
+ twist: TwistWithCovariance
+ - msg: Vector3Stamped
+ message:
+ header: Header
+ vector: Vector3
+ - msg: Wrench
+ message:
+ force : Vector3
+ torque: Vector3
+ - msg: WrenchStamped
+ message:
+ header: Header
+ wrench: Wrench
+
+sensor_msgs:
+ specs:
+ - msg: BatteryState
+ message:
+ POWER_SUPPLY_STATUS_UNKNOWN: uint8
+ POWER_SUPPLY_STATUS_CHARGING: uint8
+ POWER_SUPPLY_STATUS_DISCHARGING: uint8
+ POWER_SUPPLY_STATUS_NOT_CHARGING: uint8
+ POWER_SUPPLY_STATUS_FULL: uint8
+ POWER_SUPPLY_HEALTH_UNKNOWN: uint8
+ POWER_SUPPLY_HEALTH_GOOD: uint8
+ POWER_SUPPLY_HEALTH_OVERHEAT: uint8
+ POWER_SUPPLY_HEALTH_DEAD: uint8
+ POWER_SUPPLY_HEALTH_OVERVOLTAGE: uint8
+ POWER_SUPPLY_HEALTH_UNSPEC_FAILURE: uint8
+ POWER_SUPPLY_HEALTH_COLD: uint8
+ POWER_SUPPLY_HEALTH_WATCHDOG_TIMER_EXPIRE: uint8
+ POWER_SUPPLY_HEALTH_SAFETY_TIMER_EXPIRE: uint8
+ POWER_SUPPLY_TECHNOLOGY_UNKNOWN: uint8
+ POWER_SUPPLY_TECHNOLOGY_NIMH: uint8
+ POWER_SUPPLY_TECHNOLOGY_LION: uint8
+ POWER_SUPPLY_TECHNOLOGY_LIPO: uint8
+ POWER_SUPPLY_TECHNOLOGY_LIFE: uint8
+ POWER_SUPPLY_TECHNOLOGY_NICD: uint8
+ POWER_SUPPLY_TECHNOLOGY_LIMN: uint8
+ header: Header
+ voltage: float32
+ current: float32
+ charge: float32
+ capacity: float32
+ design_capacity: float32
+ percentage: float32
+ power_supply_status: uint8
+ power_supply_health: uint8
+ power_supply_technology: uint8
+ present: bool
+ cell_voltage: float32[]
+ location: string
+ serial_number: string
+ - msg: CameraInfo
+ message:
+ header: Header
+ height: uint32
+ width: uint32
+ distortion_model: string
+ D: float64[]
+ K: float64[]
+ R: float64[]
+ P: float64[]
+ binning_x: uint32
+ binning_y: uint32
+ roi: RegionOfInterest
+ - msg: ChannelFloat32
+ message:
+ name: string
+ values: float32[]
+ - msg: CompressedImage
+ message:
+ header: Header
+ format: string
+ data: uint8[]
+ - msg: FluidPressure
+ message:
+ header: Header
+ fluid_pressure: float64
+ variance: float64
+ - msg: Illuminance
+ message:
+ header: Header
+ illuminance: float64
+ variance: float64
+ - msg: Image
+ message:
+ header: Header
+ height: uint32
+ width: uint32
+ encoding: string
+ is_bigendian: uint8
+ step: uint32
+ data: uint8[]
+ - msg: Imu
+ message:
+ header: Header
+ orientation: "geometry_msgs.Quaternion"
+ orientation_covariance: float64[]
+ angular_velocity: "geometry_msgs.Vector3"
+ angular_velocity_covariance: float64[]
+ linear_acceleration: "geometry_msgs.Vector3"
+ linear_acceleration_covariance: float64[]
+ - msg: JointState
+ message:
+ header: Header
+ name: string[]
+ position: float64[]
+ velocity: float64[]
+ effort: float64[]
+ - msg: Joy
+ message:
+ header: Header
+ axes: float32[]
+ buttons: int32[]
+ - msg: JoyFeedback
+ message:
+ TYPE_LED: uint8
+ TYPE_RUMBLE: uint8
+ TYPE_BUZZER: uint8
+ "type": uint8
+ id: uint8
+ intensity: float32
+ - msg: JoyFeedbackArray
+ message:
+ array: JoyFeedback[]
+ - msg: LaserEcho
+ message:
+ echoes: float32[]
+ - msg: LaserScan
+ message:
+ header: Header
+ angle_min: float32
+ angle_max: float32
+ angle_increment: float32
+ time_increment: float32
+ scan_time: float32
+ range_min: float32
+ range_max: float32
+ ranges: float32[]
+ intensities: float32[]
+ - msg: MagneticField
+ message:
+ header: Header
+ magnetic_field: "geometry_msgs.Vector3"
+ magnetic_field_covariance: float64[]
+ - msg: MultiDOFJointState
+ message:
+ header: Header
+ joint_names: string[]
+ transforms: "geometry_msgs.Transform"[]
+ twist: "geometry_msgs.Twist"[]
+ wrench: "geometry_msgs.Wrench"[]
+ - msg: MultiEchoLaserScan
+ message:
+ header: Header
+ angle_min: float32
+ angle_max: float32
+ angle_increment: float32
+ time_increment: float32
+ scan_time: float32
+ range_min: float32
+ range_max: float32
+ ranges: LaserEcho[]
+ intensities: LaserEcho[]
+ - msg: PointCloud
+ message:
+ header: Header
+ points: "geometry_msgs.Point32"[]
+ channels: ChannelFloat32[]
+ - msg: PointCloud2
+ message:
+ header: Header
+ height: uint32
+ width: uint32
+ fields: PointField[]
+ is_bigendian: bool
+ point_step: uint32
+ row_step: uint32
+ data: uint8[]
+ is_dense: bool
+ - msg: PointField
+ message:
+ INT8: uint8
+ UINT8: uint8
+ INT16: uint8
+ UINT16: uint8
+ INT32: uint8
+ UINT32: uint8
+ FLOAT32: uint8
+ FLOAT64: uint8
+ name: string
+ offset: uint32
+ datatype: uint8
+ count: uint32
+ - msg: Range
+ message:
+ header: Header
+ ULTRASOUND: uint8
+ INFRARED: uint8
+ radiation_type: uint8
+ field_of_view: float32
+ min_range: float32
+ max_range: float32
+ range: float32
+ - msg: RegionOfInterest
+ message:
+ x_offset: uint32
+ y_offset: uint32
+ height: uint32
+ width: uint32
+ do_rectify: bool
+ - msg: RelativeHumidity
+ message:
+ header: Header
+ relative_humidity: float64
+ variance: float64
+ - msg: Temperature
+ message:
+ header: Header
+ temperature: float64
+ variance: float64
+ - msg: TimeReference
+ message:
+ header: Header
+ time_ref: time
+ source: string
+ - srv: SetCameraInfo
+ request:
+ camera_info: "sensor_msgs.CameraInfo"
+ response:
+ success: bool
+ status_message: string
diff --git a/examples/msgs/ros_core.ros b/examples/msgs/ros_core.ros
new file mode 100644
index 000000000..9f351a9c8
--- /dev/null
+++ b/examples/msgs/ros_core.ros
@@ -0,0 +1,114 @@
+std_msgs:
+ specs:
+ - msg: Bool
+ message:
+ data: bool
+ - msg: Byte
+ message:
+ data: byte
+ - msg: ByteMultiArray
+ message:
+ layout: MultiArrayLayout
+ data: byte[]
+ - msg: ColorRGBA
+ message:
+ r: float32
+ g: float32
+ b: float32
+ a: float32
+ - msg: Duration
+ message:
+ duration: bool
+ - msg: Float32
+ message:
+ data: float32
+ - msg: Float32MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: float32[]
+ - msg: Float64
+ message:
+ data: float64
+ - msg: Float64MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: float64[]
+ - msg: Int8
+ message:
+ data: int8
+ - msg: Int8MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: int8
+ - msg: Int16
+ message:
+ data: int16
+ - msg: Int16MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: int16
+ - msg: Int32
+ message:
+ data: int32
+ - msg: Int32MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: int32[]
+ - msg: UInt8
+ message:
+ data: uint8
+ - msg: UInt8MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: uint8
+ - msg: UInt16
+ message:
+ data: uint16
+ - msg: UInt16MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: uint16
+ - msg: UInt32
+ message:
+ data: uint32
+ - msg: UInt32MultiArray
+ message:
+ layout: MultiArrayLayout
+ data: uint32[]
+ - msg: String
+ message:
+ data: string
+ - msg: Time
+ message:
+ data: time
+ - msg: Header
+ message:
+ seq: uint32
+ stamp: time
+ frame_id: string
+ - msg: MultiArrayDimension
+ message:
+ label: string
+ size: uint32
+ stride: uint32
+ - msg: MultiArrayLayout
+ message:
+ dim: MultiArrayDimension[]
+ data_offset: uint32
+
+std_srvs:
+ specs:
+ - srv: Empty
+ request:
+ response:
+ - srv: SetBool
+ request:
+ data: bool
+ response:
+ success: bool
+ "message": string
+ - srv: Trigger
+ request:
+ response:
+ success: bool
+ "message": string
diff --git a/examples/msgs/ur_dashboard_msgs.ros b/examples/msgs/ur_dashboard_msgs.ros
new file mode 100644
index 000000000..4a9e0f4d6
--- /dev/null
+++ b/examples/msgs/ur_dashboard_msgs.ros
@@ -0,0 +1,102 @@
+ur_dashboard_msgs:
+ specs:
+ - msg: ProgramState
+ message:
+ STOPPED: string
+ PLAYING: string
+ PAUSED: string
+ state: string
+ - msg: SafetyMode
+ message:
+ NORMAL: uint8
+ REDUCED: uint8
+ PROTECTIVE_STOP: uint8
+ RECOVERY: uint8
+ SAFEGUARD_STOP: uint8
+ SYSTEM_EMERGENCY_STOP: uint8
+ ROBOT_EMERGENCY_STOP: uint8
+ VIOLATION: uint8
+ FAULT: uint8
+ VALIDATE_JOINT_ID0: uint8
+ UNDEFINED_SAFETY_MODE1: uint8
+ AUTOMATIC_MODE_SAFEGUARD_STOP2: uint8
+ SYSTEM_THREE_POSITION_ENABLING_STOP3: uint8
+ mode: uint8
+ - msg: RobotMode
+ message:
+ NO_CONTROLLER: int8
+ DISCONNECTED: int8
+ CONFIRM_SAFETY: int8
+ BOOTING: int8
+ POWER_OFF: int8
+ POWER_ON: int8
+ IDLE: int8
+ BACKDRIVE: int8
+ RUNNING: int8
+ UPDATING_FIRMWARE: int8
+ mode: int8
+ - srv: AddToLog
+ request:
+ "message": string
+ response:
+ answer: string
+ success: bool
+ - srv: GetLoadedProgram
+ request:
+ response:
+ answer: string
+ program_name: string
+ success: bool
+ - srv: GetProgramState
+ request:
+ response:
+ state: ProgramState
+ program_name: string
+ answer: string
+ success: bool
+ - srv: GetRobotMode
+ request:
+ response:
+ robot_mode: RobotMode
+ answer: string
+ success: bool
+ - srv: GetSafetyMode
+ request:
+ response:
+ safety_mode: SafetyMode
+ answer: string
+ success: bool
+ - srv: IsProgramRunning
+ request:
+ response:
+ answer: string
+ program_running: bool
+ success: bool
+ - srv: IsProgramSaved
+ request:
+ response:
+ answer: string
+ program_name: string
+ program_saved: bool
+ success: bool
+ - srv: Load
+ request:
+ filename: string
+ response:
+ answer: string
+ success: bool
+ - srv: Popup
+ request:
+ "message": string
+ response:
+ answer: string
+ success: bool
+ - srv: RawRequest
+ request:
+ query: string
+ response:
+ answer: string
+ - action:SetMode
+ goal:
+ result:
+ feedback:
diff --git a/examples/msgs/ur_msgs.ros b/examples/msgs/ur_msgs.ros
new file mode 100644
index 000000000..42dc2ca38
--- /dev/null
+++ b/examples/msgs/ur_msgs.ros
@@ -0,0 +1,75 @@
+ur_msgs:
+ specs:
+ - msg: Analog
+ message:
+ CURRENT: uint8
+ VOLTAGE: uint8
+ pin: uint8
+ domain: uint8
+ state: float32
+ - msg: Digital
+ message:
+ pin: uint8
+ state: bool
+ - msg: IOStates
+ message:
+ digital_in_states: Digital[]
+ digital_out_states: Digital[]
+ flag_states: Analog[]
+ analog_in_states: Analog[]
+ analog_out_states: Analog[]
+ - msg: MasterboardDataMsg
+ message:
+ digital_input_bits: uint32
+ digital_output_bits: uint32
+ analog_input_range0: int8
+ analog_input_range1: int8
+ analog_input0: float64
+ analog_input1: float64
+ analog_output_domain0: int8
+ analog_output_domain1: int8
+ analog_output0: float64
+ analog_output1: float32
+ masterboard_temperature: float32
+ robot_voltage_48V: float32
+ robot_current: float32
+ master_io_current: float32
+ master_safety_state: uint8
+ master_onoff_state: uint8
+ - srv: SetIO
+ request:
+ FUN_SET_DIGITAL_OUT: int8
+ FUN_SET_FLAG: int8
+ FUN_SET_ANALOG_OUT: int8
+ FUN_SET_TOOL_VOLTAGE: int8
+ STATE_OFF: int8
+ STATE_ON: int8
+ STATE_TOOL_VOLTAGE_0V: int8
+ STATE_TOOL_VOLTAGE_12V: int8
+ STATE_TOOL_VOLTAGE_24V: int8
+ fun: int8
+ pin: int8
+ state: float32
+ response:
+ success: bool
+ - srv: SetPayload
+ request:
+ FUN_SET_DIGITAL_OUT: int8
+ FUN_SET_FLAG: int8
+ FUN_SET_ANALOG_OUT: int8
+ FUN_SET_TOOL_VOLTAGE: int8
+ STATE_OFF: int8
+ STATE_ON: int8
+ STATE_TOOL_VOLTAGE_0V: int8
+ STATE_TOOL_VOLTAGE_12V: int8
+ STATE_TOOL_VOLTAGE_24V: int8
+ fun: int8
+ center_of_gravity: "geometry_msgs.Vector3"
+ payload: float32
+ response:
+ success: bool
+ - srv: SetSpeedSliderFraction
+ request:
+ speed_slider_fraction: float64
+ response:
+ success: bool
diff --git a/examples/ros_component/robot_state_publisher.ros2 b/examples/ros_component/robot_state_publisher.ros2
new file mode 100644
index 000000000..9c17a2835
--- /dev/null
+++ b/examples/ros_component/robot_state_publisher.ros2
@@ -0,0 +1,7 @@
+robot_state_publisher:
+ artifacts:
+ robot_state_publisher:
+ node: robot_state_publisher
+ subscribers:
+ joint_states:
+ type: 'sensor_msgs.JointState'
diff --git a/examples/ros_component/ur_driver.ros2 b/examples/ros_component/ur_driver.ros2
new file mode 100644
index 000000000..826507fb9
--- /dev/null
+++ b/examples/ros_component/ur_driver.ros2
@@ -0,0 +1,50 @@
+ur_robot_driver:
+ fromGitRepo: "https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver"
+ artifacts:
+ ur_robot_driver_node:
+ node: ur_robot_driver_node
+ publishers:
+ robot_program_running:
+ type: 'std_msgs.Bool'
+ subscribers:
+ script_command:
+ type: "std_msgs.String"
+ serviceserver:
+ set_io:
+ type: "ur_msgs.SetIO"
+ set_payload:
+ type: "ur_msgs.SetPayload"
+ hand_back_control:
+ type: "std_msgs.Trigger"
+ resend_robot_program:
+ type: "std_msgs.Trigger"
+ connect:
+ type: "std_msgs.Trigger"
+ zero_ftsensor:
+ type: "std_msgs.Trigger"
+ quit:
+ type: "std_msgs.Trigger"
+ raw_request:
+ type: "ur_dashboard_msgs.RawRequest"
+ program_state:
+ type: "ur_dashboard_msgs.GetProgramState"
+ get_loaded_program:
+ type: "ur_dashboard_msgs.GetLoadedProgram"
+ program_saved:
+ type: 'ur_dashboard_msgs.IsProgramSaved'
+ get_robot_mode:
+ type: 'ur_dashboard_msgs.GetRobotMode'
+ program_running:
+ type: 'ur_dashboard_msgs.IsProgramRunning'
+ get_safety_mode:
+ type: 'ur_dashboard_msgs.GetSafetyMode'
+ set_speed_slider:
+ type: 'ur_msgs.SetSpeedSliderFraction'
+ add_to_log:
+ type: 'ur_dashboard_msgs.AddToLog.'
+ popup:
+ type: 'ur_dashboard_msgs.Popup.'
+ load_installation:
+ type: 'ur_dashboard_msgs.Load.'
+ load_program:
+ type: 'ur_dashboard_msgs.Load.'
diff --git a/examples/ros_component/usb_camera_driver.ros2 b/examples/ros_component/usb_camera_driver.ros2
new file mode 100644
index 000000000..d61fc830f
--- /dev/null
+++ b/examples/ros_component/usb_camera_driver.ros2
@@ -0,0 +1,46 @@
+usb_cam:
+ fromGitRepo: "https://github.com/ipa-rwu/usb_cam.git:ros2"
+ artifacts:
+ usb_cam:
+ node: usb_cam
+ publishers:
+ image_raw:
+ type: "sensor_msgs.Image"
+ qos:
+ depth: 100
+ serviceserver:
+ set_capture:
+ type: "std_srvs.SetBool"
+ parameters:
+ camera_name:
+ type: String
+ value: ""
+ camera_info_url:
+ type: String
+ value: ""
+ frame_id:
+ type: String
+ value: ""
+ framerate:
+ type: Double
+ image_height:
+ type: Integer
+ image_width:
+ type: Integer
+ io_method:
+ type: String
+ value: ""
+ pixel_format:
+ type: String
+ value: ""
+ color_format:
+ type: String
+ value: ""
+ video_device:
+ type: String
+ value: ""
+ show_image:
+ node: examine_image
+ subscribers:
+ image_raw:
+ type: "sensor_msgs.Image"
diff --git a/examples/rossystem/ur5e_driver.rossystem b/examples/rossystem/ur5e_driver.rossystem
new file mode 100644
index 000000000..9fd35b067
--- /dev/null
+++ b/examples/rossystem/ur5e_driver.rossystem
@@ -0,0 +1,8 @@
+ur5e_driver:
+ nodes:
+ ur_driver:
+ from: "ur_robot_driver.ur_robot_driver_node.ur_robot_driver_node"
+ processes:
+ start_driver:
+ nodes:
+ - ur_driver
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/.classpath b/plugins/de.fraunhofer.ipa.ros.edit/.classpath
index 22f30643c..714dac533 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/.classpath
+++ b/plugins/de.fraunhofer.ipa.ros.edit/.classpath
@@ -1,7 +1,11 @@
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/.project b/plugins/de.fraunhofer.ipa.ros.edit/.project
index 42c81f535..5e73c31a9 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/.project
+++ b/plugins/de.fraunhofer.ipa.ros.edit/.project
@@ -1,28 +1,34 @@
- de.fraunhofer.ipa.ros.edit
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- org.eclipse.pde.ManifestBuilder
-
-
-
-
- org.eclipse.pde.SchemaBuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
- org.eclipse.pde.PluginNature
-
+ de.fraunhofer.ipa.ros.edit
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Nature
+ org.eclipse.jdt.core.javanature
+ org.eclipse.pde.PluginNature
+
diff --git a/plugins/de.fraunhofer.ipa.rossystem.xtext.tests/.settings/org.eclipse.core.resources.prefs b/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.core.resources.prefs
similarity index 100%
rename from plugins/de.fraunhofer.ipa.rossystem.xtext.tests/.settings/org.eclipse.core.resources.prefs
rename to plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.core.resources.prefs
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.jdt.core.prefs b/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..e8c450c01
--- /dev/null
+++ b/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
+org.eclipse.jdt.core.compiler.compliance=11
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=11
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.m2e.core.prefs b/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 000000000..f897a7f1c
--- /dev/null
+++ b/plugins/de.fraunhofer.ipa.ros.edit/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/META-INF/MANIFEST.MF b/plugins/de.fraunhofer.ipa.ros.edit/META-INF/MANIFEST.MF
index e57e61501..99ea71eb3 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/META-INF/MANIFEST.MF
+++ b/plugins/de.fraunhofer.ipa.ros.edit/META-INF/MANIFEST.MF
@@ -3,16 +3,15 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: de.fraunhofer.ipa.ros.edit;singleton:=true
Automatic-Module-Name: de.fraunhofer.ipa.ros.edit
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 1.0.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: ros.provider.RosEditPlugin$Implementation
Bundle-Vendor: %providerName
Bundle-Localization: plugin
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: primitives.provider,
ros.provider
Require-Bundle: org.eclipse.core.runtime,
de.fraunhofer.ipa.ros;visibility:=reexport,
- org.eclipse.emf.edit;visibility:=reexport,
- de.fraunhofer.ipa.ros.edit;visibility:=reexport
+ org.eclipse.emf.edit;visibility:=reexport
Bundle-ActivationPolicy: lazy
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ActionSpec.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ActionSpec.gif
deleted file mode 100644
index fe9abb249..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ActionSpec.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ArraySpecTopicRef.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ArraySpecTopicRef.gif
deleted file mode 100644
index f9b72b5c8..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ArraySpecTopicRef.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ArrayTopicRef.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ArrayTopicRef.gif
deleted file mode 100644
index 6cb1d1521..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ArrayTopicRef.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_Bool.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_Bool.gif
deleted file mode 100644
index a7fc0fce8..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_Bool.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_MessageDefinition.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_MessageDefinition.gif
deleted file mode 100644
index a46f97945..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_MessageDefinition.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ServiceSpec.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ServiceSpec.gif
deleted file mode 100644
index 6c339a520..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_ServiceSpec.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_String.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_String.gif
deleted file mode 100644
index dcdfe25e3..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_String.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_TopicSpec.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_TopicSpec.gif
deleted file mode 100644
index 1479f924c..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateMessagePart_Type_TopicSpec.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_GlobalNamespace.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_GlobalNamespace.gif
deleted file mode 100644
index e7e086fa9..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_GlobalNamespace.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_PrivateNamespace.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_PrivateNamespace.gif
deleted file mode 100644
index 1621735d7..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_PrivateNamespace.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_RelativeNamespace.gif b/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_RelativeNamespace.gif
deleted file mode 100644
index c45d7459f..000000000
Binary files a/plugins/de.fraunhofer.ipa.ros.edit/icons/full/ctool16/CreateNamespacedElement_namespace_RelativeNamespace.gif and /dev/null differ
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/plugin.properties b/plugins/de.fraunhofer.ipa.ros.edit/plugin.properties
index 59e9aa641..95bd8275e 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/plugin.properties
+++ b/plugins/de.fraunhofer.ipa.ros.edit/plugin.properties
@@ -18,10 +18,10 @@ _UI_Dependency_type = Dependency
_UI_ServiceSpec_type = Service Spec
_UI_ServiceServer_type = Service Server
_UI_TopicSpec_type = Topic Spec
-_UI_Publisher_type = Publisher
_UI_PackageDependency_type = Package Dependency
_UI_ExternalDependency_type = External Dependency
_UI_CatkinPackage_type = Catkin Package
+_UI_Publisher_type = Publisher
_UI_Artifact_type = Artifact
_UI_SpecBase_type = Spec Base
_UI_Subscriber_type = Subscriber
@@ -35,7 +35,7 @@ _UI_Namespace_type = Namespace
_UI_GlobalNamespace_type = Global Namespace
_UI_RelativeNamespace_type = Relative Namespace
_UI_PrivateNamespace_type = Private Namespace
-_UI_NamespacedElement_type = Namespaced Element
+_UI_InterfaceType_type = Interface Type
_UI_ParameterType_type = Parameter Type
_UI_ParameterListType_type = Parameter List Type
_UI_ParameterStructType_type = Parameter Struct Type
@@ -60,6 +60,41 @@ _UI_ParameterSequence_type = Parameter Sequence
_UI_ParameterStruct_type = Parameter Struct
_UI_ParameterStructMember_type = Parameter Struct Member
_UI_ParameterDate_type = Parameter Date
+_UI_AmentPackage_type = Ament Package
+_UI_QualityOfService_type = Quality Of Service
+_UI_TopicSpecRef_type = Topic Spec Ref
+_UI_ArrayTopicSpecRef_type = Array Topic Spec Ref
+_UI_AbstractType_type = Abstract Type
+_UI_MessagePart_type = Message Part
+_UI_bool_type = bool
+_UI_int8_type = int8
+_UI_uint8_type = uint8
+_UI_int16_type = int16
+_UI_uint16_type = uint16
+_UI_int32_type = int32
+_UI_uint32_type = uint32
+_UI_int64_type = int64
+_UI_uint64_type = uint64
+_UI_float32_type = float32
+_UI_float64_type = float64
+_UI_string_type = string
+_UI_time_type = time
+_UI_duration_type = duration
+_UI_boolArray_type = bool Array
+_UI_int8Array_type = int8 Array
+_UI_uint8Array_type = uint8 Array
+_UI_int16Array_type = int16 Array
+_UI_uint16Array_type = uint16 Array
+_UI_int32Array_type = int32 Array
+_UI_uint32Array_type = uint32 Array
+_UI_int64Array_type = int64 Array
+_UI_uint64Array_type = uint64 Array
+_UI_float32Array_type = float32 Array
+_UI_float64Array_type = float64 Array
+_UI_stringArray_type = string Array
+_UI_Header_type = Header
+_UI_Byte_type = Byte
+_UI_ByteArray_type = Byte Array
_UI_Unknown_type = Object
_UI_Unknown_datatype= Value
@@ -75,14 +110,15 @@ _UI_Node_parameter_feature = Parameter
_UI_Package_name_feature = Name
_UI_Package_spec_feature = Spec
_UI_Package_artifact_feature = Artifact
+_UI_Package_fromGitRepo_feature = From Git Repo
+_UI_Package_dependency_feature = Dependency
_UI_ServiceSpec_request_feature = Request
_UI_ServiceSpec_response_feature = Response
_UI_ServiceServer_service_feature = Service
_UI_TopicSpec_message_feature = Message
-_UI_Publisher_message_feature = Message
_UI_PackageDependency_package_feature = Package
_UI_ExternalDependency_name_feature = Name
-_UI_CatkinPackage_dependency_feature = Dependency
+_UI_Publisher_message_feature = Message
_UI_Artifact_name_feature = Name
_UI_Artifact_node_feature = Node
_UI_SpecBase_name_feature = Name
@@ -96,9 +132,11 @@ _UI_ActionSpec_result_feature = Result
_UI_ActionSpec_feedback_feature = Feedback
_UI_ActionServer_action_feature = Action
_UI_ActionClient_action_feature = Action
+_UI_MessageDefinition_MessagePart_feature = Message Part
_UI_Namespace_parts_feature = Parts
-_UI_NamespacedElement_namespace_feature = Namespace
-_UI_NamespacedElement_name_feature = Name
+_UI_InterfaceType_namespace_feature = Namespace
+_UI_InterfaceType_name_feature = Name
+_UI_InterfaceType_qos_feature = Qos
_UI_ParameterListType_sequence_feature = Sequence
_UI_ParameterListType_default_feature = Default
_UI_ParameterStructType_parameterstructypetmember_feature = Parameterstructypetmember
@@ -106,6 +144,7 @@ _UI_ParameterIntegerType_default_feature = Default
_UI_ParameterStringType_default_feature = Default
_UI_ParameterDoubleType_default_feature = Default
_UI_Parameter_type_feature = Type
+_UI_Parameter_value_feature = Value
_UI_ParameterDateType_default_feature = Default
_UI_ParameterBooleanType_default_feature = Default
_UI_ParameterBase64Type_default_feature = Default
@@ -126,69 +165,13 @@ _UI_ParameterStruct_value_feature = Value
_UI_ParameterStructMember_name_feature = Name
_UI_ParameterStructMember_value_feature = Value
_UI_ParameterDate_value_feature = Value
-_UI_Unknown_feature = Unspecified
-
-_UI_Bool_type = Bool
-_UI_AbstractType_type = Abstract Type
-_UI_String_type = String
-_UI_MessageDefinition_Type_feature = Type
-_UI_MessageDefinition_data_feature = Data
-_UI_Message_type = Message
-_UI_Message_Data_feature = Data
-_UI_Message_Type_feature = Type
-_UI_MessagePart_type = Message Part
-_UI_MessageDefinition_MessagePart_feature = Message Part
-_UI_MessagePart_Type_feature = Type
-_UI_MessagePart_Data_feature = Data
-_UI_bool_type = bool
-_UI_string_type = string
-_UI_int8_type = int8
-_UI_uint8_type = uint8
-_UI_int16_type = int16
-_UI_uint16_type = uint16
-_UI_int32_type = int32
-_UI_uint32_type = uint32
-_UI_int64_type = int64
-_UI_uint64_type = uint64
-_UI_float32_type = float32
-_UI_float64_type = float64
-_UI_time_type = time
-_UI_duration_type = duration
-_UI_boolArray_type = bool Array
-_UI_int8Array_type = int8 Array
-_UI_uint8Array_type = uint8 Array
-_UI_int16Array_type = int16 Array
-_UI_uint16Array_type = uint16 Array
-_UI_int32Array_type = int32 Array
-_UI_uint32Array_type = uint32 Array
-_UI_int64Array_type = int64 Array
-_UI_uint64Array_type = uint64 Array
-_UI_float32Array_type = float32 Array
-_UI_float64Array_type = float64 Array
-_UI_stringArray_type = string Array
-_UI_AbstractType_TopicSpecRef_feature = Topic Spec Ref
-_UI_TopicSpecRef_type = Topic Spec Ref
-_UI_TopicSpecRef_TopicSpec_feature = Topic Spec
-_UI_ArrayTopicRef_type = Array Topic Ref
-_UI_ArrayTopicRef_TopicSpec_feature = Topic Spec
-_UI_ArraySpecTopicRef_type = Array Spec Topic Ref
-_UI_ArraySpecTopicRef_TopicSpec_feature = Topic Spec
-_UI_ArrayTopicSpecRef_type = Array Topic Spec Ref
-_UI_ArrayTopicSpecRef_TopicSpec_feature = Topic Spec
-_UI_Header_type = Header
-_UI_Byte_type = Byte
-_UI_ByteArray_type = Byte Array
-_UI_Parameter_value_feature = Value
-_UI_Package_fromGitRepo_feature = From Git Repo
-_UI_Package_dependency_feature = Dependency
-_UI_AmentPackage_type = Ament Package
-_UI_InterfaceType_type = Interface Type
-_UI_QualityOfService_type = Quality Of Service
-_UI_InterfaceType_namespace_feature = Namespace
-_UI_InterfaceType_name_feature = Name
-_UI_InterfaceType_qos_feature = Qos
_UI_QualityOfService_QoSProfile_feature = Qo SProfile
_UI_QualityOfService_History_feature = History
_UI_QualityOfService_Depth_feature = Depth
_UI_QualityOfService_Reliability_feature = Reliability
_UI_QualityOfService_Durability_feature = Durability
+_UI_TopicSpecRef_TopicSpec_feature = Topic Spec
+_UI_ArrayTopicSpecRef_TopicSpec_feature = Topic Spec
+_UI_MessagePart_Type_feature = Type
+_UI_MessagePart_Data_feature = Data
+_UI_Unknown_feature = Unspecified
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/pom.xml b/plugins/de.fraunhofer.ipa.ros.edit/pom.xml
index 5f6c07346..ecbb18aae 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/pom.xml
+++ b/plugins/de.fraunhofer.ipa.ros.edit/pom.xml
@@ -1,12 +1,23 @@
-
- 4.0.0
+
+ 4.0.0
de.fraunhofer.ipa.ros
de.fraunhofer.ipa.ros.parent
2.0.0-SNAPSHOT
../de.fraunhofer.ipa.ros.parent/pom.xml
- de.fraunhofer.ipa.ros.edit
- eclipse-plugin
+ de.fraunhofer.ipa.ros.edit
+ eclipse-plugin
+
+ src
+
+
+ maven-compiler-plugin
+ 3.8.1
+
+ 17
+
+
+
+
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/AbstractTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/AbstractTypeItemProvider.java
index a9e141259..c3352716f 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/AbstractTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/AbstractTypeItemProvider.java
@@ -10,6 +10,7 @@
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
+
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -17,6 +18,7 @@
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+
import ros.provider.RosEditPlugin;
/**
@@ -25,85 +27,85 @@
*
* @generated
*/
-public class AbstractTypeItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public AbstractTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+public class AbstractTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public AbstractTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ }
+ return itemPropertyDescriptors;
+ }
- }
- return itemPropertyDescriptors;
- }
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_AbstractType_type");
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_AbstractType_type");
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ArrayTopicSpecRefItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ArrayTopicSpecRefItemProvider.java
deleted file mode 100644
index 7d02034e4..000000000
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ArrayTopicSpecRefItemProvider.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- */
-package primitives.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-
-import primitives.PrimitivesPackage;
-
-/**
- * This is the item provider adapter for a {@link primitives.ArrayTopicSpecRef} object.
- *
- *
- * @generated
- */
-public class ArrayTopicSpecRefItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ArrayTopicSpecRefItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addTopicSpecPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Topic Spec feature.
- *
- *
- * @generated
- */
- protected void addTopicSpecPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ArrayTopicSpecRef_TopicSpec_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ArrayTopicSpecRef_TopicSpec_feature", "_UI_ArrayTopicSpecRef_type"),
- PrimitivesPackage.Literals.ARRAY_TOPIC_SPEC_REF__TOPIC_SPEC,
- true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This returns ArrayTopicSpecRef.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ArrayTopicSpecRef"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ArrayTopicSpecRef_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
-}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/BoolItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/BoolItemProvider.java
deleted file mode 100644
index 16e26c683..000000000
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/BoolItemProvider.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- */
-package primitives.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-
-/**
- * This is the item provider adapter for a {@link primitives.Bool} object.
- *
- *
- * @generated
- */
-public class BoolItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public BoolItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This returns Bool.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/Bool"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_Bool_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
-}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteArrayItemProvider.java
index 0b592dc88..ffa9d903b 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class ByteArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ByteArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ByteArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns ByteArray.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ByteArray"));
- }
+ /**
+ * This returns ByteArray.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ByteArray"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ByteArray_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ByteArray_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteItemProvider.java
index 9481f2db0..3579dc541 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/ByteItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class ByteItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ByteItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ByteItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns Byte.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/Byte"));
- }
+ /**
+ * This returns Byte.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Byte"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_Byte_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_Byte_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/HeaderItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/HeaderItemProvider.java
index 0ddbdd82f..5c0e023ff 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/HeaderItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/HeaderItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class HeaderItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public HeaderItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public HeaderItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns Header.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/Header"));
- }
+ /**
+ * This returns Header.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Header"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_Header_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_Header_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessageItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessageItemProvider.java
deleted file mode 100644
index 16cf36be9..000000000
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessageItemProvider.java
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- */
-package primitives.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-import primitives.Message;
-import primitives.PrimitivesPackage;
-
-import ros.provider.RosEditPlugin;
-
-/**
- * This is the item provider adapter for a {@link primitives.Message} object.
- *
- *
- * @generated
- */
-public class MessageItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public MessageItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addDataPropertyDescriptor(object);
- addTypePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Data feature.
- *
- *
- * @generated
- */
- protected void addDataPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Message_Data_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Message_Data_feature", "_UI_Message_type"),
- null, true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Type feature.
- *
- *
- * @generated
- */
- protected void addTypePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Message_Type_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Message_Type_feature", "_UI_Message_type"),
- null, true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((Message)object).getData();
- return label == null || label.length() == 0 ?
- getString("_UI_Message_type") :
- getString("_UI_Message_type") + " " + label;
- }}
-
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessagePartItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessagePartItemProvider.java
index 55e0519ef..875df199b 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessagePartItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/MessagePartItemProvider.java
@@ -27,6 +27,9 @@
import primitives.MessagePart;
import primitives.PrimitivesFactory;
import primitives.PrimitivesPackage;
+
+import ros.RosFactory;
+
import ros.provider.RosEditPlugin;
/**
@@ -35,305 +38,305 @@
*
* @generated
*/
-public class MessagePartItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public MessagePartItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addDataPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Data feature.
- *
- *
- * @generated
- */
- protected void addDataPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_MessagePart_Data_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_MessagePart_Data_feature", "_UI_MessagePart_type"),
- PrimitivesPackage.Literals.MESSAGE_PART__DATA,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(PrimitivesPackage.Literals.MESSAGE_PART__TYPE);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((MessagePart)object).getData();
- return label == null || label.length() == 0 ?
- getString("_UI_MessagePart_type") :
- getString("_UI_MessagePart_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(MessagePart.class)) {
- case PrimitivesPackage.MESSAGE_PART__DATA:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case PrimitivesPackage.MESSAGE_PART__TYPE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createbool()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint8()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint8()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint16()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint16()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint32()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint32()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint64()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint64()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createfloat32()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createfloat64()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createstring()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createtime()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createduration()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createboolArray()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint8Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint8Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint16Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint16Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint32Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint32Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createint64Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createuint64Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createfloat32Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createfloat64Array()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createstringArray()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createTopicSpecRef()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createArrayTopicSpecRef()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createHeader()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createByte()));
-
- newChildDescriptors.add
- (createChildParameter
- (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
- PrimitivesFactory.eINSTANCE.createByteArray()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class MessagePartItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public MessagePartItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addDataPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Data feature.
+ *
+ *
+ * @generated
+ */
+ protected void addDataPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_MessagePart_Data_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_MessagePart_Data_feature", "_UI_MessagePart_type"),
+ PrimitivesPackage.Literals.MESSAGE_PART__DATA,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(PrimitivesPackage.Literals.MESSAGE_PART__TYPE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((MessagePart)object).getData();
+ return label == null || label.length() == 0 ?
+ getString("_UI_MessagePart_type") :
+ getString("_UI_MessagePart_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(MessagePart.class)) {
+ case PrimitivesPackage.MESSAGE_PART__DATA:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case PrimitivesPackage.MESSAGE_PART__TYPE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createbool()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint8()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint8()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint16()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint16()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint32()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint32()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint64()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint64()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createfloat32()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createfloat64()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createstring()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createtime()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createduration()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createboolArray()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint8Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint8Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint16Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint16Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint32Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint32Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createint64Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createuint64Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createfloat32Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createfloat64Array()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createstringArray()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createHeader()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createByte()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ PrimitivesFactory.eINSTANCE.createByteArray()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ RosFactory.eINSTANCE.createTopicSpecRef()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (PrimitivesPackage.Literals.MESSAGE_PART__TYPE,
+ RosFactory.eINSTANCE.createArrayTopicSpecRef()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/PrimitivesItemProviderAdapterFactory.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/PrimitivesItemProviderAdapterFactory.java
index 9ad3bf88c..1a55a7ddb 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/PrimitivesItemProviderAdapterFactory.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/PrimitivesItemProviderAdapterFactory.java
@@ -32,875 +32,829 @@
* @generated
*/
public class PrimitivesItemProviderAdapterFactory extends PrimitivesAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier {
- /**
- * This keeps track of the root adapter factory that delegates to this adapter factory.
- *
- *
- * @generated
- */
- protected ComposedAdapterFactory parentAdapterFactory;
-
- /**
- * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
- *
- *
- * @generated
- */
- protected IChangeNotifier changeNotifier = new ChangeNotifier();
-
- /**
- * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
- *
- *
- * @generated
- */
- protected Collection supportedTypes = new ArrayList();
-
- /**
- * This constructs an instance.
- *
- *
- * @generated
- */
- public PrimitivesItemProviderAdapterFactory() {
- supportedTypes.add(IEditingDomainItemProvider.class);
- supportedTypes.add(IStructuredItemContentProvider.class);
- supportedTypes.add(ITreeItemContentProvider.class);
- supportedTypes.add(IItemLabelProvider.class);
- supportedTypes.add(IItemPropertySource.class);
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.bool} instances.
- *
- *
- * @generated
- */
- protected boolItemProvider boolItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.bool}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createboolAdapter() {
- if (boolItemProvider == null) {
- boolItemProvider = new boolItemProvider(this);
- }
-
- return boolItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int8} instances.
- *
- *
- * @generated
- */
- protected int8ItemProvider int8ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int8}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint8Adapter() {
- if (int8ItemProvider == null) {
- int8ItemProvider = new int8ItemProvider(this);
- }
-
- return int8ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint8} instances.
- *
- *
- * @generated
- */
- protected uint8ItemProvider uint8ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint8}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint8Adapter() {
- if (uint8ItemProvider == null) {
- uint8ItemProvider = new uint8ItemProvider(this);
- }
-
- return uint8ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int16} instances.
- *
- *
- * @generated
- */
- protected int16ItemProvider int16ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int16}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint16Adapter() {
- if (int16ItemProvider == null) {
- int16ItemProvider = new int16ItemProvider(this);
- }
-
- return int16ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint16} instances.
- *
- *
- * @generated
- */
- protected uint16ItemProvider uint16ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint16}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint16Adapter() {
- if (uint16ItemProvider == null) {
- uint16ItemProvider = new uint16ItemProvider(this);
- }
-
- return uint16ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int32} instances.
- *
- *
- * @generated
- */
- protected int32ItemProvider int32ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int32}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint32Adapter() {
- if (int32ItemProvider == null) {
- int32ItemProvider = new int32ItemProvider(this);
- }
-
- return int32ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint32} instances.
- *
- *
- * @generated
- */
- protected uint32ItemProvider uint32ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint32}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint32Adapter() {
- if (uint32ItemProvider == null) {
- uint32ItemProvider = new uint32ItemProvider(this);
- }
-
- return uint32ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int64} instances.
- *
- *
- * @generated
- */
- protected int64ItemProvider int64ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int64}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint64Adapter() {
- if (int64ItemProvider == null) {
- int64ItemProvider = new int64ItemProvider(this);
- }
-
- return int64ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint64} instances.
- *
- *
- * @generated
- */
- protected uint64ItemProvider uint64ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint64}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint64Adapter() {
- if (uint64ItemProvider == null) {
- uint64ItemProvider = new uint64ItemProvider(this);
- }
-
- return uint64ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.float32} instances.
- *
- *
- * @generated
- */
- protected float32ItemProvider float32ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.float32}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createfloat32Adapter() {
- if (float32ItemProvider == null) {
- float32ItemProvider = new float32ItemProvider(this);
- }
-
- return float32ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.float64} instances.
- *
- *
- * @generated
- */
- protected float64ItemProvider float64ItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.float64}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createfloat64Adapter() {
- if (float64ItemProvider == null) {
- float64ItemProvider = new float64ItemProvider(this);
- }
-
- return float64ItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.string} instances.
- *
- *
- * @generated
- */
- protected stringItemProvider stringItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.string}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createstringAdapter() {
- if (stringItemProvider == null) {
- stringItemProvider = new stringItemProvider(this);
- }
-
- return stringItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.time} instances.
- *
- *
- * @generated
- */
- protected timeItemProvider timeItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.time}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createtimeAdapter() {
- if (timeItemProvider == null) {
- timeItemProvider = new timeItemProvider(this);
- }
-
- return timeItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.duration} instances.
- *
- *
- * @generated
- */
- protected durationItemProvider durationItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.duration}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createdurationAdapter() {
- if (durationItemProvider == null) {
- durationItemProvider = new durationItemProvider(this);
- }
-
- return durationItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.boolArray} instances.
- *
- *
- * @generated
- */
- protected boolArrayItemProvider boolArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.boolArray}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createboolArrayAdapter() {
- if (boolArrayItemProvider == null) {
- boolArrayItemProvider = new boolArrayItemProvider(this);
- }
-
- return boolArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int8Array} instances.
- *
- *
- * @generated
- */
- protected int8ArrayItemProvider int8ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int8Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint8ArrayAdapter() {
- if (int8ArrayItemProvider == null) {
- int8ArrayItemProvider = new int8ArrayItemProvider(this);
- }
-
- return int8ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint8Array} instances.
- *
- *
- * @generated
- */
- protected uint8ArrayItemProvider uint8ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint8Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint8ArrayAdapter() {
- if (uint8ArrayItemProvider == null) {
- uint8ArrayItemProvider = new uint8ArrayItemProvider(this);
- }
-
- return uint8ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int16Array} instances.
- *
- *
- * @generated
- */
- protected int16ArrayItemProvider int16ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int16Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint16ArrayAdapter() {
- if (int16ArrayItemProvider == null) {
- int16ArrayItemProvider = new int16ArrayItemProvider(this);
- }
-
- return int16ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint16Array} instances.
- *
- *
- * @generated
- */
- protected uint16ArrayItemProvider uint16ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint16Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint16ArrayAdapter() {
- if (uint16ArrayItemProvider == null) {
- uint16ArrayItemProvider = new uint16ArrayItemProvider(this);
- }
-
- return uint16ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int32Array} instances.
- *
- *
- * @generated
- */
- protected int32ArrayItemProvider int32ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int32Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint32ArrayAdapter() {
- if (int32ArrayItemProvider == null) {
- int32ArrayItemProvider = new int32ArrayItemProvider(this);
- }
-
- return int32ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint32Array} instances.
- *
- *
- * @generated
- */
- protected uint32ArrayItemProvider uint32ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint32Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint32ArrayAdapter() {
- if (uint32ArrayItemProvider == null) {
- uint32ArrayItemProvider = new uint32ArrayItemProvider(this);
- }
-
- return uint32ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.int64Array} instances.
- *
- *
- * @generated
- */
- protected int64ArrayItemProvider int64ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.int64Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createint64ArrayAdapter() {
- if (int64ArrayItemProvider == null) {
- int64ArrayItemProvider = new int64ArrayItemProvider(this);
- }
-
- return int64ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.uint64Array} instances.
- *
- *
- * @generated
- */
- protected uint64ArrayItemProvider uint64ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.uint64Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createuint64ArrayAdapter() {
- if (uint64ArrayItemProvider == null) {
- uint64ArrayItemProvider = new uint64ArrayItemProvider(this);
- }
-
- return uint64ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.float32Array} instances.
- *
- *
- * @generated
- */
- protected float32ArrayItemProvider float32ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.float32Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createfloat32ArrayAdapter() {
- if (float32ArrayItemProvider == null) {
- float32ArrayItemProvider = new float32ArrayItemProvider(this);
- }
-
- return float32ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.float64Array} instances.
- *
- *
- * @generated
- */
- protected float64ArrayItemProvider float64ArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.float64Array}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createfloat64ArrayAdapter() {
- if (float64ArrayItemProvider == null) {
- float64ArrayItemProvider = new float64ArrayItemProvider(this);
- }
-
- return float64ArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.stringArray} instances.
- *
- *
- * @generated
- */
- protected stringArrayItemProvider stringArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.stringArray}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createstringArrayAdapter() {
- if (stringArrayItemProvider == null) {
- stringArrayItemProvider = new stringArrayItemProvider(this);
- }
-
- return stringArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.TopicSpecRef} instances.
- *
- *
- * @generated
- */
- protected TopicSpecRefItemProvider topicSpecRefItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.TopicSpecRef}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createTopicSpecRefAdapter() {
- if (topicSpecRefItemProvider == null) {
- topicSpecRefItemProvider = new TopicSpecRefItemProvider(this);
- }
-
- return topicSpecRefItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.ArrayTopicSpecRef} instances.
- *
- *
- * @generated
- */
- protected ArrayTopicSpecRefItemProvider arrayTopicSpecRefItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.ArrayTopicSpecRef}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createArrayTopicSpecRefAdapter() {
- if (arrayTopicSpecRefItemProvider == null) {
- arrayTopicSpecRefItemProvider = new ArrayTopicSpecRefItemProvider(this);
- }
-
- return arrayTopicSpecRefItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.Header} instances.
- *
- *
- * @generated
- */
- protected HeaderItemProvider headerItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.Header}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createHeaderAdapter() {
- if (headerItemProvider == null) {
- headerItemProvider = new HeaderItemProvider(this);
- }
-
- return headerItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.Byte} instances.
- *
- *
- * @generated
- */
- protected ByteItemProvider byteItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.Byte}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createByteAdapter() {
- if (byteItemProvider == null) {
- byteItemProvider = new ByteItemProvider(this);
- }
-
- return byteItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.ByteArray} instances.
- *
- *
- * @generated
- */
- protected ByteArrayItemProvider byteArrayItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.ByteArray}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createByteArrayAdapter() {
- if (byteArrayItemProvider == null) {
- byteArrayItemProvider = new ByteArrayItemProvider(this);
- }
-
- return byteArrayItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link primitives.MessagePart} instances.
- *
- *
- * @generated
- */
- protected MessagePartItemProvider messagePartItemProvider;
-
- /**
- * This creates an adapter for a {@link primitives.MessagePart}.
- *
- *
- * @generated
- */
- @Override
- public Adapter createMessagePartAdapter() {
- if (messagePartItemProvider == null) {
- messagePartItemProvider = new MessagePartItemProvider(this);
- }
-
- return messagePartItemProvider;
- }
-
- /**
- * This returns the root adapter factory that contains this factory.
- *
- *
- * @generated
- */
- @Override
- public ComposeableAdapterFactory getRootAdapterFactory() {
- return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
- }
-
- /**
- * This sets the composed adapter factory that contains this factory.
- *
- *
- * @generated
- */
- @Override
- public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
- this.parentAdapterFactory = parentAdapterFactory;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object type) {
- return supportedTypes.contains(type) || super.isFactoryForType(type);
- }
-
- /**
- * This implementation substitutes the factory itself as the key for the adapter.
- *
- *
- * @generated
- */
- @Override
- public Adapter adapt(Notifier notifier, Object type) {
- return super.adapt(notifier, this);
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- public Object adapt(Object object, Object type) {
- if (isFactoryForType(type)) {
- Object adapter = super.adapt(object, type);
- if (!(type instanceof Class>) || (((Class>)type).isInstance(adapter))) {
- return adapter;
- }
- }
-
- return null;
- }
-
- /**
- * This adds a listener.
- *
- *
- * @generated
- */
- @Override
- public void addListener(INotifyChangedListener notifyChangedListener) {
- changeNotifier.addListener(notifyChangedListener);
- }
-
- /**
- * This removes a listener.
- *
- *
- * @generated
- */
- @Override
- public void removeListener(INotifyChangedListener notifyChangedListener) {
- changeNotifier.removeListener(notifyChangedListener);
- }
-
- /**
- * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
- *
- *
- * @generated
- */
- @Override
- public void fireNotifyChanged(Notification notification) {
- changeNotifier.fireNotifyChanged(notification);
-
- if (parentAdapterFactory != null) {
- parentAdapterFactory.fireNotifyChanged(notification);
- }
- }
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ *
+ *
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ *
+ *
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ *
+ *
+ * @generated
+ */
+ protected Collection supportedTypes = new ArrayList();
+
+ /**
+ * This constructs an instance.
+ *
+ *
+ * @generated
+ */
+ public PrimitivesItemProviderAdapterFactory() {
+ supportedTypes.add(IEditingDomainItemProvider.class);
+ supportedTypes.add(IStructuredItemContentProvider.class);
+ supportedTypes.add(ITreeItemContentProvider.class);
+ supportedTypes.add(IItemLabelProvider.class);
+ supportedTypes.add(IItemPropertySource.class);
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.MessagePart} instances.
+ *
+ *
+ * @generated
+ */
+ protected MessagePartItemProvider messagePartItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.MessagePart}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createMessagePartAdapter() {
+ if (messagePartItemProvider == null) {
+ messagePartItemProvider = new MessagePartItemProvider(this);
+ }
+
+ return messagePartItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.bool} instances.
+ *
+ *
+ * @generated
+ */
+ protected boolItemProvider boolItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.bool}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createboolAdapter() {
+ if (boolItemProvider == null) {
+ boolItemProvider = new boolItemProvider(this);
+ }
+
+ return boolItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int8} instances.
+ *
+ *
+ * @generated
+ */
+ protected int8ItemProvider int8ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int8}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint8Adapter() {
+ if (int8ItemProvider == null) {
+ int8ItemProvider = new int8ItemProvider(this);
+ }
+
+ return int8ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint8} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint8ItemProvider uint8ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint8}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint8Adapter() {
+ if (uint8ItemProvider == null) {
+ uint8ItemProvider = new uint8ItemProvider(this);
+ }
+
+ return uint8ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int16} instances.
+ *
+ *
+ * @generated
+ */
+ protected int16ItemProvider int16ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int16}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint16Adapter() {
+ if (int16ItemProvider == null) {
+ int16ItemProvider = new int16ItemProvider(this);
+ }
+
+ return int16ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint16} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint16ItemProvider uint16ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint16}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint16Adapter() {
+ if (uint16ItemProvider == null) {
+ uint16ItemProvider = new uint16ItemProvider(this);
+ }
+
+ return uint16ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int32} instances.
+ *
+ *
+ * @generated
+ */
+ protected int32ItemProvider int32ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int32}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint32Adapter() {
+ if (int32ItemProvider == null) {
+ int32ItemProvider = new int32ItemProvider(this);
+ }
+
+ return int32ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint32} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint32ItemProvider uint32ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint32}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint32Adapter() {
+ if (uint32ItemProvider == null) {
+ uint32ItemProvider = new uint32ItemProvider(this);
+ }
+
+ return uint32ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int64} instances.
+ *
+ *
+ * @generated
+ */
+ protected int64ItemProvider int64ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int64}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint64Adapter() {
+ if (int64ItemProvider == null) {
+ int64ItemProvider = new int64ItemProvider(this);
+ }
+
+ return int64ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint64} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint64ItemProvider uint64ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint64}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint64Adapter() {
+ if (uint64ItemProvider == null) {
+ uint64ItemProvider = new uint64ItemProvider(this);
+ }
+
+ return uint64ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.float32} instances.
+ *
+ *
+ * @generated
+ */
+ protected float32ItemProvider float32ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.float32}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createfloat32Adapter() {
+ if (float32ItemProvider == null) {
+ float32ItemProvider = new float32ItemProvider(this);
+ }
+
+ return float32ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.float64} instances.
+ *
+ *
+ * @generated
+ */
+ protected float64ItemProvider float64ItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.float64}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createfloat64Adapter() {
+ if (float64ItemProvider == null) {
+ float64ItemProvider = new float64ItemProvider(this);
+ }
+
+ return float64ItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.string} instances.
+ *
+ *
+ * @generated
+ */
+ protected stringItemProvider stringItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.string}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createstringAdapter() {
+ if (stringItemProvider == null) {
+ stringItemProvider = new stringItemProvider(this);
+ }
+
+ return stringItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.time} instances.
+ *
+ *
+ * @generated
+ */
+ protected timeItemProvider timeItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.time}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createtimeAdapter() {
+ if (timeItemProvider == null) {
+ timeItemProvider = new timeItemProvider(this);
+ }
+
+ return timeItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.duration} instances.
+ *
+ *
+ * @generated
+ */
+ protected durationItemProvider durationItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.duration}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createdurationAdapter() {
+ if (durationItemProvider == null) {
+ durationItemProvider = new durationItemProvider(this);
+ }
+
+ return durationItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.boolArray} instances.
+ *
+ *
+ * @generated
+ */
+ protected boolArrayItemProvider boolArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.boolArray}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createboolArrayAdapter() {
+ if (boolArrayItemProvider == null) {
+ boolArrayItemProvider = new boolArrayItemProvider(this);
+ }
+
+ return boolArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int8Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected int8ArrayItemProvider int8ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int8Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint8ArrayAdapter() {
+ if (int8ArrayItemProvider == null) {
+ int8ArrayItemProvider = new int8ArrayItemProvider(this);
+ }
+
+ return int8ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint8Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint8ArrayItemProvider uint8ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint8Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint8ArrayAdapter() {
+ if (uint8ArrayItemProvider == null) {
+ uint8ArrayItemProvider = new uint8ArrayItemProvider(this);
+ }
+
+ return uint8ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int16Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected int16ArrayItemProvider int16ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int16Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint16ArrayAdapter() {
+ if (int16ArrayItemProvider == null) {
+ int16ArrayItemProvider = new int16ArrayItemProvider(this);
+ }
+
+ return int16ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint16Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint16ArrayItemProvider uint16ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint16Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint16ArrayAdapter() {
+ if (uint16ArrayItemProvider == null) {
+ uint16ArrayItemProvider = new uint16ArrayItemProvider(this);
+ }
+
+ return uint16ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int32Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected int32ArrayItemProvider int32ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int32Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint32ArrayAdapter() {
+ if (int32ArrayItemProvider == null) {
+ int32ArrayItemProvider = new int32ArrayItemProvider(this);
+ }
+
+ return int32ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint32Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint32ArrayItemProvider uint32ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint32Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint32ArrayAdapter() {
+ if (uint32ArrayItemProvider == null) {
+ uint32ArrayItemProvider = new uint32ArrayItemProvider(this);
+ }
+
+ return uint32ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.int64Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected int64ArrayItemProvider int64ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.int64Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createint64ArrayAdapter() {
+ if (int64ArrayItemProvider == null) {
+ int64ArrayItemProvider = new int64ArrayItemProvider(this);
+ }
+
+ return int64ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.uint64Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected uint64ArrayItemProvider uint64ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.uint64Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createuint64ArrayAdapter() {
+ if (uint64ArrayItemProvider == null) {
+ uint64ArrayItemProvider = new uint64ArrayItemProvider(this);
+ }
+
+ return uint64ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.float32Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected float32ArrayItemProvider float32ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.float32Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createfloat32ArrayAdapter() {
+ if (float32ArrayItemProvider == null) {
+ float32ArrayItemProvider = new float32ArrayItemProvider(this);
+ }
+
+ return float32ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.float64Array} instances.
+ *
+ *
+ * @generated
+ */
+ protected float64ArrayItemProvider float64ArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.float64Array}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createfloat64ArrayAdapter() {
+ if (float64ArrayItemProvider == null) {
+ float64ArrayItemProvider = new float64ArrayItemProvider(this);
+ }
+
+ return float64ArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.stringArray} instances.
+ *
+ *
+ * @generated
+ */
+ protected stringArrayItemProvider stringArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.stringArray}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createstringArrayAdapter() {
+ if (stringArrayItemProvider == null) {
+ stringArrayItemProvider = new stringArrayItemProvider(this);
+ }
+
+ return stringArrayItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.Header} instances.
+ *
+ *
+ * @generated
+ */
+ protected HeaderItemProvider headerItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.Header}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createHeaderAdapter() {
+ if (headerItemProvider == null) {
+ headerItemProvider = new HeaderItemProvider(this);
+ }
+
+ return headerItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.Byte} instances.
+ *
+ *
+ * @generated
+ */
+ protected ByteItemProvider byteItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.Byte}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createByteAdapter() {
+ if (byteItemProvider == null) {
+ byteItemProvider = new ByteItemProvider(this);
+ }
+
+ return byteItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link primitives.ByteArray} instances.
+ *
+ *
+ * @generated
+ */
+ protected ByteArrayItemProvider byteArrayItemProvider;
+
+ /**
+ * This creates an adapter for a {@link primitives.ByteArray}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter createByteArrayAdapter() {
+ if (byteArrayItemProvider == null) {
+ byteArrayItemProvider = new ByteArrayItemProvider(this);
+ }
+
+ return byteArrayItemProvider;
+ }
+
+ /**
+ * This returns the root adapter factory that contains this factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ComposeableAdapterFactory getRootAdapterFactory() {
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object type) {
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
+
+ /**
+ * This implementation substitutes the factory itself as the key for the adapter.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Adapter adapt(Notifier notifier, Object type) {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object adapt(Object object, Object type) {
+ if (isFactoryForType(type)) {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class>) || (((Class>)type).isInstance(adapter))) {
+ return adapter;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * This adds a listener.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void addListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void removeListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void fireNotifyChanged(Notification notification) {
+ changeNotifier.fireNotifyChanged(notification);
+
+ if (parentAdapterFactory != null) {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/StringItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/StringItemProvider.java
deleted file mode 100644
index f6d13c0f1..000000000
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/StringItemProvider.java
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- */
-package primitives.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-
-/**
- * This is the item provider adapter for a {@link primitives.String} object.
- *
- *
- * @generated
- */
-public class StringItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public StringItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This returns String.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/String"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_String_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
-}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/TopicSpecRefItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/TopicSpecRefItemProvider.java
deleted file mode 100644
index f4257e090..000000000
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/TopicSpecRefItemProvider.java
+++ /dev/null
@@ -1,120 +0,0 @@
-/**
- */
-package primitives.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-
-import primitives.PrimitivesPackage;
-
-/**
- * This is the item provider adapter for a {@link primitives.TopicSpecRef} object.
- *
- *
- * @generated
- */
-public class TopicSpecRefItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public TopicSpecRefItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addTopicSpecPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Topic Spec feature.
- *
- *
- * @generated
- */
- protected void addTopicSpecPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_TopicSpecRef_TopicSpec_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_TopicSpecRef_TopicSpec_feature", "_UI_TopicSpecRef_type"),
- PrimitivesPackage.Literals.TOPIC_SPEC_REF__TOPIC_SPEC,
- true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This returns TopicSpecRef.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/TopicSpecRef"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_TopicSpecRef_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
-}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolArrayItemProvider.java
index 925b57191..c408e4708 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class boolArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public boolArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public boolArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns boolArray.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/boolArray"));
- }
+ /**
+ * This returns boolArray.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/boolArray"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_boolArray_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_boolArray_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolItemProvider.java
index 174606171..5cb925d28 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/boolItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class boolItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public boolItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public boolItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns bool.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/bool"));
- }
+ /**
+ * This returns bool.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/bool"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_bool_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_bool_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/durationItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/durationItemProvider.java
index b7d0084c4..fa80803cd 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/durationItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/durationItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class durationItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public durationItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public durationItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns duration.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/duration"));
- }
+ /**
+ * This returns duration.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/duration"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_duration_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_duration_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ArrayItemProvider.java
index 7e8f733c9..a395023bb 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class float32ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public float32ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public float32ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns float32Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/float32Array"));
- }
+ /**
+ * This returns float32Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/float32Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_float32Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_float32Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ItemProvider.java
index 4087609b7..22c2d0897 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float32ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class float32ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public float32ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public float32ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns float32.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/float32"));
- }
+ /**
+ * This returns float32.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/float32"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_float32_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_float32_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ArrayItemProvider.java
index 2a876a6b7..b55ee456f 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class float64ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public float64ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public float64ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns float64Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/float64Array"));
- }
+ /**
+ * This returns float64Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/float64Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_float64Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_float64Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ItemProvider.java
index 489e6fc03..9887426bc 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/float64ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class float64ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public float64ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public float64ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns float64.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/float64"));
- }
+ /**
+ * This returns float64.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/float64"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_float64_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_float64_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ArrayItemProvider.java
index 090763c51..6536bd017 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int16ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int16ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int16ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int16Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int16Array"));
- }
+ /**
+ * This returns int16Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int16Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int16Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int16Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ItemProvider.java
index 5077942d9..475d326ec 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int16ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int16ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int16ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int16ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int16.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int16"));
- }
+ /**
+ * This returns int16.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int16"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int16_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int16_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ArrayItemProvider.java
index 90c94470a..fbc2a125d 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int32ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int32ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int32ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int32Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int32Array"));
- }
+ /**
+ * This returns int32Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int32Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int32Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int32Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ItemProvider.java
index bc62c6078..b7036f3f6 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int32ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int32ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int32ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int32ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int32.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int32"));
- }
+ /**
+ * This returns int32.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int32"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int32_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int32_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ArrayItemProvider.java
index e0f2f4507..b90116392 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int64ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int64ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int64ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int64Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int64Array"));
- }
+ /**
+ * This returns int64Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int64Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int64Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int64Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ItemProvider.java
index ce8d54cb8..e98435933 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int64ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int64ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int64ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int64ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int64.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int64"));
- }
+ /**
+ * This returns int64.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int64"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int64_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int64_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ArrayItemProvider.java
index b19c4de34..e3a1bcca1 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int8ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int8ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int8ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int8Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int8Array"));
- }
+ /**
+ * This returns int8Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int8Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int8Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int8Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ItemProvider.java
index 764bbcc49..ec8e2b882 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/int8ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class int8ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public int8ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public int8ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns int8.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/int8"));
- }
+ /**
+ * This returns int8.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/int8"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_int8_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_int8_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringArrayItemProvider.java
index c0e39b394..b51305530 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class stringArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public stringArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public stringArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns stringArray.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/stringArray"));
- }
+ /**
+ * This returns stringArray.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/stringArray"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_stringArray_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_stringArray_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringItemProvider.java
index fcd8d6240..d02870367 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/stringItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class stringItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public stringItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public stringItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns string.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/string"));
- }
+ /**
+ * This returns string.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/string"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_string_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_string_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/timeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/timeItemProvider.java
index 1366f5aff..d61981f7e 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/timeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/timeItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class timeItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public timeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public timeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns time.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/time"));
- }
+ /**
+ * This returns time.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/time"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_time_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_time_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ArrayItemProvider.java
index be42bbefc..00247220a 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint16ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint16ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint16ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint16Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint16Array"));
- }
+ /**
+ * This returns uint16Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint16Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint16Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint16Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ItemProvider.java
index 88b486538..9c66b88d9 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint16ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint16ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint16ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint16ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint16.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint16"));
- }
+ /**
+ * This returns uint16.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint16"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint16_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint16_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ArrayItemProvider.java
index 231938813..73e70d89b 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint32ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint32ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint32ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint32Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint32Array"));
- }
+ /**
+ * This returns uint32Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint32Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint32Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint32Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ItemProvider.java
index fcff3228d..6d9c00a50 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint32ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint32ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint32ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint32ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint32.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint32"));
- }
+ /**
+ * This returns uint32.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint32"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint32_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint32_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ArrayItemProvider.java
index 567c94b12..5c5558244 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint64ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint64ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint64ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint64Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint64Array"));
- }
+ /**
+ * This returns uint64Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint64Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint64Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint64Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ItemProvider.java
index f876ef0ec..21965face 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint64ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint64ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint64ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint64ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint64.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint64"));
- }
+ /**
+ * This returns uint64.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint64"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint64_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint64_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ArrayItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ArrayItemProvider.java
index 2084a69c8..19bc657fc 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ArrayItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ArrayItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint8ArrayItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint8ArrayItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint8ArrayItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint8Array.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint8Array"));
- }
+ /**
+ * This returns uint8Array.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint8Array"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint8Array_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint8Array_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ItemProvider.java
index 18a140f6c..a1d33941a 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/primitives/provider/uint8ItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class uint8ItemProvider extends AbstractTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public uint8ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public uint8ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns uint8.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/uint8"));
- }
+ /**
+ * This returns uint8.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/uint8"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_uint8_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_uint8_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionClientItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionClientItemProvider.java
index cdc94917b..08dec9856 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionClientItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionClientItemProvider.java
@@ -22,103 +22,103 @@
* @generated
*/
public class ActionClientItemProvider extends InterfaceTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ActionClientItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ActionClientItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addActionPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addActionPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This adds a property descriptor for the Action feature.
- *
- *
- * @generated
- */
- protected void addActionPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ActionClient_action_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ActionClient_action_feature", "_UI_ActionClient_type"),
- RosPackage.Literals.ACTION_CLIENT__ACTION,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ /**
+ * This adds a property descriptor for the Action feature.
+ *
+ *
+ * @generated
+ */
+ protected void addActionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ActionClient_action_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ActionClient_action_feature", "_UI_ActionClient_type"),
+ RosPackage.Literals.ACTION_CLIENT__ACTION,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
- /**
- * This returns ActionClient.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionClient"));
- }
+ /**
+ * This returns ActionClient.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionClient"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ActionClient)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ActionClient_type") :
- getString("_UI_ActionClient_type") + " " + label;
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ActionClient)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ActionClient_type") :
+ getString("_UI_ActionClient_type") + " " + label;
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionServerItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionServerItemProvider.java
index b42b8224c..1c8d8ee7c 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionServerItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionServerItemProvider.java
@@ -22,103 +22,103 @@
* @generated
*/
public class ActionServerItemProvider extends InterfaceTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ActionServerItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ActionServerItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addActionPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addActionPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This adds a property descriptor for the Action feature.
- *
- *
- * @generated
- */
- protected void addActionPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ActionServer_action_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ActionServer_action_feature", "_UI_ActionServer_type"),
- RosPackage.Literals.ACTION_SERVER__ACTION,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ /**
+ * This adds a property descriptor for the Action feature.
+ *
+ *
+ * @generated
+ */
+ protected void addActionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ActionServer_action_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ActionServer_action_feature", "_UI_ActionServer_type"),
+ RosPackage.Literals.ACTION_SERVER__ACTION,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
- /**
- * This returns ActionServer.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionServer"));
- }
+ /**
+ * This returns ActionServer.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionServer"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ActionServer)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ActionServer_type") :
- getString("_UI_ActionServer_type") + " " + label;
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ActionServer)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ActionServer_type") :
+ getString("_UI_ActionServer_type") + " " + label;
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionSpecItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionSpecItemProvider.java
index 1bf92d4a0..c183ad300 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionSpecItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ActionSpecItemProvider.java
@@ -25,159 +25,159 @@
* @generated
*/
public class ActionSpecItemProvider extends SpecBaseItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ActionSpecItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.ACTION_SPEC__GOAL);
- childrenFeatures.add(RosPackage.Literals.ACTION_SPEC__RESULT);
- childrenFeatures.add(RosPackage.Literals.ACTION_SPEC__FEEDBACK);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ActionSpec.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionSpec"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ActionSpec)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ActionSpec_type") :
- getString("_UI_ActionSpec_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ActionSpec.class)) {
- case RosPackage.ACTION_SPEC__GOAL:
- case RosPackage.ACTION_SPEC__RESULT:
- case RosPackage.ACTION_SPEC__FEEDBACK:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.ACTION_SPEC__GOAL,
- RosFactory.eINSTANCE.createMessageDefinition()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.ACTION_SPEC__RESULT,
- RosFactory.eINSTANCE.createMessageDefinition()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.ACTION_SPEC__FEEDBACK,
- RosFactory.eINSTANCE.createMessageDefinition()));
- }
-
- /**
- * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
- *
- *
- * @generated
- */
- @Override
- public String getCreateChildText(Object owner, Object feature, Object child, Collection> selection) {
- Object childFeature = feature;
- Object childObject = child;
-
- boolean qualify =
- childFeature == RosPackage.Literals.ACTION_SPEC__GOAL ||
- childFeature == RosPackage.Literals.ACTION_SPEC__RESULT ||
- childFeature == RosPackage.Literals.ACTION_SPEC__FEEDBACK;
-
- if (qualify) {
- return getString
- ("_UI_CreateChild_text2",
- new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
- }
- return super.getCreateChildText(owner, feature, child, selection);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ActionSpecItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.ACTION_SPEC__GOAL);
+ childrenFeatures.add(RosPackage.Literals.ACTION_SPEC__RESULT);
+ childrenFeatures.add(RosPackage.Literals.ACTION_SPEC__FEEDBACK);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ActionSpec.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionSpec"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ActionSpec)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ActionSpec_type") :
+ getString("_UI_ActionSpec_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ActionSpec.class)) {
+ case RosPackage.ACTION_SPEC__GOAL:
+ case RosPackage.ACTION_SPEC__RESULT:
+ case RosPackage.ACTION_SPEC__FEEDBACK:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.ACTION_SPEC__GOAL,
+ RosFactory.eINSTANCE.createMessageDefinition()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.ACTION_SPEC__RESULT,
+ RosFactory.eINSTANCE.createMessageDefinition()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.ACTION_SPEC__FEEDBACK,
+ RosFactory.eINSTANCE.createMessageDefinition()));
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify =
+ childFeature == RosPackage.Literals.ACTION_SPEC__GOAL ||
+ childFeature == RosPackage.Literals.ACTION_SPEC__RESULT ||
+ childFeature == RosPackage.Literals.ACTION_SPEC__FEEDBACK;
+
+ if (qualify) {
+ return getString
+ ("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/AmentPackageItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/AmentPackageItemProvider.java
index 7134aac7d..84a6e1bdf 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/AmentPackageItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/AmentPackageItemProvider.java
@@ -20,80 +20,80 @@
* @generated
*/
public class AmentPackageItemProvider extends PackageItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public AmentPackageItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public AmentPackageItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns AmentPackage.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/AmentPackage"));
- }
+ /**
+ * This returns AmentPackage.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AmentPackage"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((AmentPackage)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_AmentPackage_type") :
- getString("_UI_AmentPackage_type") + " " + label;
- }
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AmentPackage)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_AmentPackage_type") :
+ getString("_UI_AmentPackage_type") + " " + label;
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArrayTopicSpecRefItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArrayTopicSpecRefItemProvider.java
new file mode 100644
index 000000000..54f1ba45a
--- /dev/null
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArrayTopicSpecRefItemProvider.java
@@ -0,0 +1,135 @@
+/**
+ */
+package ros.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import primitives.provider.AbstractTypeItemProvider;
+
+import ros.RosPackage;
+
+/**
+ * This is the item provider adapter for a {@link ros.ArrayTopicSpecRef} object.
+ *
+ *
+ * @generated
+ */
+public class ArrayTopicSpecRefItemProvider extends AbstractTypeItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ArrayTopicSpecRefItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTopicSpecPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Topic Spec feature.
+ *
+ *
+ * @generated
+ */
+ protected void addTopicSpecPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ArrayTopicSpecRef_TopicSpec_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArrayTopicSpecRef_TopicSpec_feature", "_UI_ArrayTopicSpecRef_type"),
+ RosPackage.Literals.ARRAY_TOPIC_SPEC_REF__TOPIC_SPEC,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ArrayTopicSpecRef.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ArrayTopicSpecRef"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ArrayTopicSpecRef_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArtifactItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArtifactItemProvider.java
index 48732c888..4d5726431 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArtifactItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ArtifactItemProvider.java
@@ -34,166 +34,166 @@
*
* @generated
*/
-public class ArtifactItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ArtifactItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- *
- *
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Artifact_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Artifact_name_feature", "_UI_Artifact_type"),
- RosPackage.Literals.ARTIFACT__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.ARTIFACT__NODE);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns Artifact.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/Artifact"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((Artifact)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_Artifact_type") :
- getString("_UI_Artifact_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(Artifact.class)) {
- case RosPackage.ARTIFACT__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case RosPackage.ARTIFACT__NODE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.ARTIFACT__NODE,
- RosFactory.eINSTANCE.createNode()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class ArtifactItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ArtifactItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addNamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Artifact_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Artifact_name_feature", "_UI_Artifact_type"),
+ RosPackage.Literals.ARTIFACT__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.ARTIFACT__NODE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns Artifact.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Artifact"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Artifact)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_Artifact_type") :
+ getString("_UI_Artifact_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Artifact.class)) {
+ case RosPackage.ARTIFACT__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RosPackage.ARTIFACT__NODE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.ARTIFACT__NODE,
+ RosFactory.eINSTANCE.createNode()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/CatkinPackageItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/CatkinPackageItemProvider.java
index 8b222fb5b..85569b1f1 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/CatkinPackageItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/CatkinPackageItemProvider.java
@@ -8,7 +8,9 @@
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
+
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
import ros.CatkinPackage;
/**
@@ -18,80 +20,80 @@
* @generated
*/
public class CatkinPackageItemProvider extends PackageItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public CatkinPackageItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public CatkinPackageItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ }
+ return itemPropertyDescriptors;
+ }
- }
- return itemPropertyDescriptors;
- }
+ /**
+ * This returns CatkinPackage.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/CatkinPackage"));
+ }
- /**
- * This returns CatkinPackage.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/CatkinPackage"));
- }
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((CatkinPackage)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_CatkinPackage_type") :
+ getString("_UI_CatkinPackage_type") + " " + label;
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((CatkinPackage)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_CatkinPackage_type") :
- getString("_UI_CatkinPackage_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/DependencyItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/DependencyItemProvider.java
index 87f1efba6..106e1b768 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/DependencyItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/DependencyItemProvider.java
@@ -25,85 +25,85 @@
*
* @generated
*/
-public class DependencyItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public DependencyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+public class DependencyItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public DependencyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_Dependency_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_Dependency_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ExternalDependencyItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ExternalDependencyItemProvider.java
index 7b5ec48c4..2f712dd32 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ExternalDependencyItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ExternalDependencyItemProvider.java
@@ -24,109 +24,109 @@
* @generated
*/
public class ExternalDependencyItemProvider extends DependencyItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ExternalDependencyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- *
- *
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ExternalDependency_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ExternalDependency_name_feature", "_UI_ExternalDependency_type"),
- RosPackage.Literals.EXTERNAL_DEPENDENCY__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ExternalDependency.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ExternalDependency"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ExternalDependency)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ExternalDependency_type") :
- getString("_UI_ExternalDependency_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ExternalDependency.class)) {
- case RosPackage.EXTERNAL_DEPENDENCY__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ExternalDependencyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addNamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ExternalDependency_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ExternalDependency_name_feature", "_UI_ExternalDependency_type"),
+ RosPackage.Literals.EXTERNAL_DEPENDENCY__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ExternalDependency.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ExternalDependency"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ExternalDependency)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ExternalDependency_type") :
+ getString("_UI_ExternalDependency_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ExternalDependency.class)) {
+ case RosPackage.EXTERNAL_DEPENDENCY__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/GlobalNamespaceItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/GlobalNamespaceItemProvider.java
index 349705fd1..10cd7f7a7 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/GlobalNamespaceItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/GlobalNamespaceItemProvider.java
@@ -18,77 +18,77 @@
* @generated
*/
public class GlobalNamespaceItemProvider extends NamespaceItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public GlobalNamespaceItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public GlobalNamespaceItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This returns GlobalNamespace.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/GlobalNamespace"));
- }
+ /**
+ * This returns GlobalNamespace.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/GlobalNamespace"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_GlobalNamespace_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_GlobalNamespace_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/InterfaceTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/InterfaceTypeItemProvider.java
index e9d8c9094..de0afd471 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/InterfaceTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/InterfaceTypeItemProvider.java
@@ -34,199 +34,199 @@
*
* @generated
*/
-public class InterfaceTypeItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public InterfaceTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- addQosPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- *
- *
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_InterfaceType_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_InterfaceType_name_feature", "_UI_InterfaceType_type"),
- RosPackage.Literals.INTERFACE_TYPE__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Qos feature.
- *
- *
- * @generated
- */
- protected void addQosPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_InterfaceType_qos_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_InterfaceType_qos_feature", "_UI_InterfaceType_type"),
- RosPackage.Literals.INTERFACE_TYPE__QOS,
- true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.INTERFACE_TYPE__NAMESPACE);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns InterfaceType.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/InterfaceType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((InterfaceType)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_InterfaceType_type") :
- getString("_UI_InterfaceType_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(InterfaceType.class)) {
- case RosPackage.INTERFACE_TYPE__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case RosPackage.INTERFACE_TYPE__NAMESPACE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.INTERFACE_TYPE__NAMESPACE,
- RosFactory.eINSTANCE.createGlobalNamespace()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.INTERFACE_TYPE__NAMESPACE,
- RosFactory.eINSTANCE.createRelativeNamespace()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.INTERFACE_TYPE__NAMESPACE,
- RosFactory.eINSTANCE.createPrivateNamespace()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class InterfaceTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public InterfaceTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addNamePropertyDescriptor(object);
+ addQosPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_InterfaceType_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_InterfaceType_name_feature", "_UI_InterfaceType_type"),
+ RosPackage.Literals.INTERFACE_TYPE__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Qos feature.
+ *
+ *
+ * @generated
+ */
+ protected void addQosPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_InterfaceType_qos_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_InterfaceType_qos_feature", "_UI_InterfaceType_type"),
+ RosPackage.Literals.INTERFACE_TYPE__QOS,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.INTERFACE_TYPE__NAMESPACE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns InterfaceType.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/InterfaceType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((InterfaceType)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_InterfaceType_type") :
+ getString("_UI_InterfaceType_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(InterfaceType.class)) {
+ case RosPackage.INTERFACE_TYPE__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RosPackage.INTERFACE_TYPE__NAMESPACE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.INTERFACE_TYPE__NAMESPACE,
+ RosFactory.eINSTANCE.createGlobalNamespace()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.INTERFACE_TYPE__NAMESPACE,
+ RosFactory.eINSTANCE.createRelativeNamespace()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.INTERFACE_TYPE__NAMESPACE,
+ RosFactory.eINSTANCE.createPrivateNamespace()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/MessageDefinitionItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/MessageDefinitionItemProvider.java
index 3cbeb1983..062cadb0d 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/MessageDefinitionItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/MessageDefinitionItemProvider.java
@@ -10,7 +10,9 @@
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
+
import org.eclipse.emf.ecore.EStructuralFeature;
+
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -19,7 +21,9 @@
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
+
import primitives.PrimitivesFactory;
+
import ros.MessageDefinition;
import ros.RosPackage;
@@ -29,131 +33,137 @@
*
* @generated
*/
-public class MessageDefinitionItemProvider
- extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public MessageDefinitionItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.MESSAGE_DEFINITION__MESSAGE_PART);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns MessageDefinition.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/MessageDefinition"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_MessageDefinition_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(MessageDefinition.class)) {
- case RosPackage.MESSAGE_DEFINITION__MESSAGE_PART:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.MESSAGE_DEFINITION__MESSAGE_PART,
- PrimitivesFactory.eINSTANCE.createMessagePart()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class MessageDefinitionItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public MessageDefinitionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.MESSAGE_DEFINITION__MESSAGE_PART);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns MessageDefinition.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/MessageDefinition"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_MessageDefinition_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(MessageDefinition.class)) {
+ case RosPackage.MESSAGE_DEFINITION__MESSAGE_PART:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.MESSAGE_DEFINITION__MESSAGE_PART,
+ PrimitivesFactory.eINSTANCE.createMessagePart()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NamespaceItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NamespaceItemProvider.java
index 6d8c2f058..58a06eb3d 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NamespaceItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NamespaceItemProvider.java
@@ -31,114 +31,114 @@
*
* @generated
*/
-public class NamespaceItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public NamespaceItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addPartsPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Parts feature.
- *
- *
- * @generated
- */
- protected void addPartsPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Namespace_parts_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Namespace_parts_feature", "_UI_Namespace_type"),
- RosPackage.Literals.NAMESPACE__PARTS,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_Namespace_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(Namespace.class)) {
- case RosPackage.NAMESPACE__PARTS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class NamespaceItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public NamespaceItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addPartsPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Parts feature.
+ *
+ *
+ * @generated
+ */
+ protected void addPartsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Namespace_parts_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Namespace_parts_feature", "_UI_Namespace_type"),
+ RosPackage.Literals.NAMESPACE__PARTS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_Namespace_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Namespace.class)) {
+ case RosPackage.NAMESPACE__PARTS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NodeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NodeItemProvider.java
index 6a8cbbc7b..2ea30a49c 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NodeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/NodeItemProvider.java
@@ -34,208 +34,208 @@
*
* @generated
*/
-public class NodeItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public NodeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- *
- *
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Node_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Node_name_feature", "_UI_Node_type"),
- RosPackage.Literals.NODE__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.NODE__SERVICESERVER);
- childrenFeatures.add(RosPackage.Literals.NODE__PUBLISHER);
- childrenFeatures.add(RosPackage.Literals.NODE__SUBSCRIBER);
- childrenFeatures.add(RosPackage.Literals.NODE__SERVICECLIENT);
- childrenFeatures.add(RosPackage.Literals.NODE__ACTIONSERVER);
- childrenFeatures.add(RosPackage.Literals.NODE__ACTIONCLIENT);
- childrenFeatures.add(RosPackage.Literals.NODE__PARAMETER);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns Node.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/Node"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((Node)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_Node_type") :
- getString("_UI_Node_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(Node.class)) {
- case RosPackage.NODE__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case RosPackage.NODE__SERVICESERVER:
- case RosPackage.NODE__PUBLISHER:
- case RosPackage.NODE__SUBSCRIBER:
- case RosPackage.NODE__SERVICECLIENT:
- case RosPackage.NODE__ACTIONSERVER:
- case RosPackage.NODE__ACTIONCLIENT:
- case RosPackage.NODE__PARAMETER:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__SERVICESERVER,
- RosFactory.eINSTANCE.createServiceServer()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__PUBLISHER,
- RosFactory.eINSTANCE.createPublisher()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__SUBSCRIBER,
- RosFactory.eINSTANCE.createSubscriber()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__SERVICECLIENT,
- RosFactory.eINSTANCE.createServiceClient()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__ACTIONSERVER,
- RosFactory.eINSTANCE.createActionServer()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__ACTIONCLIENT,
- RosFactory.eINSTANCE.createActionClient()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.NODE__PARAMETER,
- RosFactory.eINSTANCE.createParameter()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class NodeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public NodeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addNamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Node_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Node_name_feature", "_UI_Node_type"),
+ RosPackage.Literals.NODE__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.NODE__SERVICESERVER);
+ childrenFeatures.add(RosPackage.Literals.NODE__PUBLISHER);
+ childrenFeatures.add(RosPackage.Literals.NODE__SUBSCRIBER);
+ childrenFeatures.add(RosPackage.Literals.NODE__SERVICECLIENT);
+ childrenFeatures.add(RosPackage.Literals.NODE__ACTIONSERVER);
+ childrenFeatures.add(RosPackage.Literals.NODE__ACTIONCLIENT);
+ childrenFeatures.add(RosPackage.Literals.NODE__PARAMETER);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns Node.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Node"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Node)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_Node_type") :
+ getString("_UI_Node_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Node.class)) {
+ case RosPackage.NODE__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RosPackage.NODE__SERVICESERVER:
+ case RosPackage.NODE__PUBLISHER:
+ case RosPackage.NODE__SUBSCRIBER:
+ case RosPackage.NODE__SERVICECLIENT:
+ case RosPackage.NODE__ACTIONSERVER:
+ case RosPackage.NODE__ACTIONCLIENT:
+ case RosPackage.NODE__PARAMETER:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__SERVICESERVER,
+ RosFactory.eINSTANCE.createServiceServer()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__PUBLISHER,
+ RosFactory.eINSTANCE.createPublisher()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__SUBSCRIBER,
+ RosFactory.eINSTANCE.createSubscriber()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__SERVICECLIENT,
+ RosFactory.eINSTANCE.createServiceClient()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__ACTIONSERVER,
+ RosFactory.eINSTANCE.createActionServer()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__ACTIONCLIENT,
+ RosFactory.eINSTANCE.createActionClient()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.NODE__PARAMETER,
+ RosFactory.eINSTANCE.createParameter()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageDependencyItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageDependencyItemProvider.java
index 9d5665b53..9a0ae1d38 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageDependencyItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageDependencyItemProvider.java
@@ -21,100 +21,100 @@
* @generated
*/
public class PackageDependencyItemProvider extends DependencyItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public PackageDependencyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public PackageDependencyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addPackagePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addPackagePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
- /**
- * This adds a property descriptor for the Package feature.
- *
- *
- * @generated
- */
- protected void addPackagePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_PackageDependency_package_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_PackageDependency_package_feature", "_UI_PackageDependency_type"),
- RosPackage.Literals.PACKAGE_DEPENDENCY__PACKAGE,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ /**
+ * This adds a property descriptor for the Package feature.
+ *
+ *
+ * @generated
+ */
+ protected void addPackagePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_PackageDependency_package_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_PackageDependency_package_feature", "_UI_PackageDependency_type"),
+ RosPackage.Literals.PACKAGE_DEPENDENCY__PACKAGE,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
- /**
- * This returns PackageDependency.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/PackageDependency"));
- }
+ /**
+ * This returns PackageDependency.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/PackageDependency"));
+ }
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_PackageDependency_type");
- }
-
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_PackageDependency_type");
+ }
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageItemProvider.java
index ce386f893..a1331e3fa 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageItemProvider.java
@@ -33,219 +33,219 @@
*
* @generated
*/
-public class PackageItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public PackageItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- addFromGitRepoPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- *
- *
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Package_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Package_name_feature", "_UI_Package_type"),
- RosPackage.Literals.PACKAGE__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the From Git Repo feature.
- *
- *
- * @generated
- */
- protected void addFromGitRepoPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_Package_fromGitRepo_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_Package_fromGitRepo_feature", "_UI_Package_type"),
- RosPackage.Literals.PACKAGE__FROM_GIT_REPO,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PACKAGE__SPEC);
- childrenFeatures.add(RosPackage.Literals.PACKAGE__ARTIFACT);
- childrenFeatures.add(RosPackage.Literals.PACKAGE__DEPENDENCY);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns Package.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/Package"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ros.Package)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_Package_type") :
- getString("_UI_Package_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ros.Package.class)) {
- case RosPackage.PACKAGE__NAME:
- case RosPackage.PACKAGE__FROM_GIT_REPO:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case RosPackage.PACKAGE__SPEC:
- case RosPackage.PACKAGE__ARTIFACT:
- case RosPackage.PACKAGE__DEPENDENCY:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE__SPEC,
- RosFactory.eINSTANCE.createServiceSpec()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE__SPEC,
- RosFactory.eINSTANCE.createTopicSpec()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE__SPEC,
- RosFactory.eINSTANCE.createActionSpec()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE__ARTIFACT,
- RosFactory.eINSTANCE.createArtifact()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE__DEPENDENCY,
- RosFactory.eINSTANCE.createPackageDependency()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE__DEPENDENCY,
- RosFactory.eINSTANCE.createExternalDependency()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class PackageItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public PackageItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addNamePropertyDescriptor(object);
+ addFromGitRepoPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ *
+ *
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Package_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Package_name_feature", "_UI_Package_type"),
+ RosPackage.Literals.PACKAGE__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the From Git Repo feature.
+ *
+ *
+ * @generated
+ */
+ protected void addFromGitRepoPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Package_fromGitRepo_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Package_fromGitRepo_feature", "_UI_Package_type"),
+ RosPackage.Literals.PACKAGE__FROM_GIT_REPO,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PACKAGE__SPEC);
+ childrenFeatures.add(RosPackage.Literals.PACKAGE__ARTIFACT);
+ childrenFeatures.add(RosPackage.Literals.PACKAGE__DEPENDENCY);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns Package.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Package"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ros.Package)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_Package_type") :
+ getString("_UI_Package_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ros.Package.class)) {
+ case RosPackage.PACKAGE__NAME:
+ case RosPackage.PACKAGE__FROM_GIT_REPO:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RosPackage.PACKAGE__SPEC:
+ case RosPackage.PACKAGE__ARTIFACT:
+ case RosPackage.PACKAGE__DEPENDENCY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE__SPEC,
+ RosFactory.eINSTANCE.createServiceSpec()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE__SPEC,
+ RosFactory.eINSTANCE.createTopicSpec()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE__SPEC,
+ RosFactory.eINSTANCE.createActionSpec()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE__ARTIFACT,
+ RosFactory.eINSTANCE.createArtifact()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE__DEPENDENCY,
+ RosFactory.eINSTANCE.createPackageDependency()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE__DEPENDENCY,
+ RosFactory.eINSTANCE.createExternalDependency()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageSetItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageSetItemProvider.java
index 315ff6970..7aac7d971 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageSetItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/PackageSetItemProvider.java
@@ -32,147 +32,147 @@
*
* @generated
*/
-public class PackageSetItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public PackageSetItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PACKAGE_SET__PACKAGE);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns PackageSet.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/PackageSet"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_PackageSet_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(PackageSet.class)) {
- case RosPackage.PACKAGE_SET__PACKAGE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE_SET__PACKAGE,
- RosFactory.eINSTANCE.createPackage()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE_SET__PACKAGE,
- RosFactory.eINSTANCE.createCatkinPackage()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PACKAGE_SET__PACKAGE,
- RosFactory.eINSTANCE.createAmentPackage()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- *
- *
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return RosEditPlugin.INSTANCE;
- }
+public class PackageSetItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public PackageSetItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PACKAGE_SET__PACKAGE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns PackageSet.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/PackageSet"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_PackageSet_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(PackageSet.class)) {
+ case RosPackage.PACKAGE_SET__PACKAGE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE_SET__PACKAGE,
+ RosFactory.eINSTANCE.createPackage()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE_SET__PACKAGE,
+ RosFactory.eINSTANCE.createCatkinPackage()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PACKAGE_SET__PACKAGE,
+ RosFactory.eINSTANCE.createAmentPackage()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RosEditPlugin.INSTANCE;
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyItemProvider.java
index cd7461a63..ca7517e32 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyItemProvider.java
@@ -24,109 +24,109 @@
* @generated
*/
public class ParameterAnyItemProvider extends ParameterValueItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterAnyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- *
- *
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ParameterAny_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ParameterAny_value_feature", "_UI_ParameterAny_type"),
- RosPackage.Literals.PARAMETER_ANY__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ParameterAny.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterAny"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ParameterAny)object).getValue();
- return label == null || label.length() == 0 ?
- getString("_UI_ParameterAny_type") :
- getString("_UI_ParameterAny_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterAny.class)) {
- case RosPackage.PARAMETER_ANY__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterAnyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ *
+ *
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ParameterAny_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ParameterAny_value_feature", "_UI_ParameterAny_type"),
+ RosPackage.Literals.PARAMETER_ANY__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ParameterAny.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterAny"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ParameterAny)object).getValue();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ParameterAny_type") :
+ getString("_UI_ParameterAny_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterAny.class)) {
+ case RosPackage.PARAMETER_ANY__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyTypeItemProvider.java
index bb92b470e..4f562a88d 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterAnyTypeItemProvider.java
@@ -25,118 +25,118 @@
* @generated
*/
public class ParameterAnyTypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterAnyTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_ANY_TYPE__DEFAULT);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ParameterAnyType.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterAnyType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ParameterAnyType_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterAnyType.class)) {
- case RosPackage.PARAMETER_ANY_TYPE__DEFAULT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ANY_TYPE__DEFAULT,
- RosFactory.eINSTANCE.createParameterAny()));
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterAnyTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_ANY_TYPE__DEFAULT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ParameterAnyType.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterAnyType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ParameterAnyType_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterAnyType.class)) {
+ case RosPackage.PARAMETER_ANY_TYPE__DEFAULT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ANY_TYPE__DEFAULT,
+ RosFactory.eINSTANCE.createParameterAny()));
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterArrayTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterArrayTypeItemProvider.java
index 1d556154e..30bb977eb 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterArrayTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterArrayTypeItemProvider.java
@@ -25,170 +25,170 @@
* @generated
*/
public class ParameterArrayTypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterArrayTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_ARRAY_TYPE__DEFAULT);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ParameterArrayType.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterArrayType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ParameterArrayType_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterArrayType.class)) {
- case RosPackage.PARAMETER_ARRAY_TYPE__TYPE:
- case RosPackage.PARAMETER_ARRAY_TYPE__DEFAULT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterListType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterStructType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterIntegerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterStringType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterDoubleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterDateType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterBooleanType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterBase64Type()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterAnyType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
- RosFactory.eINSTANCE.createParameterArrayType()));
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_ARRAY_TYPE__DEFAULT,
- RosFactory.eINSTANCE.createParameterSequence()));
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterArrayTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_ARRAY_TYPE__DEFAULT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ParameterArrayType.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterArrayType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ParameterArrayType_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterArrayType.class)) {
+ case RosPackage.PARAMETER_ARRAY_TYPE__TYPE:
+ case RosPackage.PARAMETER_ARRAY_TYPE__DEFAULT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterListType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterStructType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterIntegerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterStringType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterDoubleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterDateType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterBooleanType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterBase64Type()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterAnyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__TYPE,
+ RosFactory.eINSTANCE.createParameterArrayType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_ARRAY_TYPE__DEFAULT,
+ RosFactory.eINSTANCE.createParameterSequence()));
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64ItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64ItemProvider.java
index dfbffe769..716707627 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64ItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64ItemProvider.java
@@ -24,110 +24,110 @@
* @generated
*/
public class ParameterBase64ItemProvider extends ParameterValueItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterBase64ItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- *
- *
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ParameterBase64_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ParameterBase64_value_feature", "_UI_ParameterBase64_type"),
- RosPackage.Literals.PARAMETER_BASE64__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ParameterBase64.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBase64"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- byte[] labelValue = ((ParameterBase64)object).getValue();
- String label = labelValue == null ? null : labelValue.toString();
- return label == null || label.length() == 0 ?
- getString("_UI_ParameterBase64_type") :
- getString("_UI_ParameterBase64_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterBase64.class)) {
- case RosPackage.PARAMETER_BASE64__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterBase64ItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ *
+ *
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ParameterBase64_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ParameterBase64_value_feature", "_UI_ParameterBase64_type"),
+ RosPackage.Literals.PARAMETER_BASE64__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ParameterBase64.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBase64"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ byte[] labelValue = ((ParameterBase64)object).getValue();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ParameterBase64_type") :
+ getString("_UI_ParameterBase64_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterBase64.class)) {
+ case RosPackage.PARAMETER_BASE64__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64TypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64TypeItemProvider.java
index 226069900..82d95a5cd 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64TypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBase64TypeItemProvider.java
@@ -25,118 +25,118 @@
* @generated
*/
public class ParameterBase64TypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterBase64TypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_BASE64_TYPE__DEFAULT);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ParameterBase64Type.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBase64Type"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ParameterBase64Type_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterBase64Type.class)) {
- case RosPackage.PARAMETER_BASE64_TYPE__DEFAULT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_BASE64_TYPE__DEFAULT,
- RosFactory.eINSTANCE.createParameterBase64()));
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterBase64TypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_BASE64_TYPE__DEFAULT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ParameterBase64Type.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBase64Type"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ParameterBase64Type_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterBase64Type.class)) {
+ case RosPackage.PARAMETER_BASE64_TYPE__DEFAULT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_BASE64_TYPE__DEFAULT,
+ RosFactory.eINSTANCE.createParameterBase64()));
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanItemProvider.java
index 0672fc75c..73a41a463 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanItemProvider.java
@@ -24,107 +24,107 @@
* @generated
*/
public class ParameterBooleanItemProvider extends ParameterValueItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterBooleanItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- *
- *
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ParameterBoolean_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ParameterBoolean_value_feature", "_UI_ParameterBoolean_type"),
- RosPackage.Literals.PARAMETER_BOOLEAN__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ParameterBoolean.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBoolean"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- ParameterBoolean parameterBoolean = (ParameterBoolean)object;
- return getString("_UI_ParameterBoolean_type") + " " + parameterBoolean.isValue();
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterBoolean.class)) {
- case RosPackage.PARAMETER_BOOLEAN__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterBooleanItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ *
+ *
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ParameterBoolean_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ParameterBoolean_value_feature", "_UI_ParameterBoolean_type"),
+ RosPackage.Literals.PARAMETER_BOOLEAN__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ParameterBoolean.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBoolean"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ParameterBoolean parameterBoolean = (ParameterBoolean)object;
+ return getString("_UI_ParameterBoolean_type") + " " + parameterBoolean.isValue();
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterBoolean.class)) {
+ case RosPackage.PARAMETER_BOOLEAN__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanTypeItemProvider.java
index 5e98ba290..65a82daff 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterBooleanTypeItemProvider.java
@@ -25,118 +25,118 @@
* @generated
*/
public class ParameterBooleanTypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterBooleanTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_BOOLEAN_TYPE__DEFAULT);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ParameterBooleanType.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBooleanType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ParameterBooleanType_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterBooleanType.class)) {
- case RosPackage.PARAMETER_BOOLEAN_TYPE__DEFAULT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_BOOLEAN_TYPE__DEFAULT,
- RosFactory.eINSTANCE.createParameterBoolean()));
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterBooleanTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_BOOLEAN_TYPE__DEFAULT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ParameterBooleanType.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterBooleanType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ParameterBooleanType_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterBooleanType.class)) {
+ case RosPackage.PARAMETER_BOOLEAN_TYPE__DEFAULT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_BOOLEAN_TYPE__DEFAULT,
+ RosFactory.eINSTANCE.createParameterBoolean()));
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateItemProvider.java
index 5bb53b3dd..39d3144e7 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateItemProvider.java
@@ -26,110 +26,110 @@
* @generated
*/
public class ParameterDateItemProvider extends ParameterValueItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterDateItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- *
- *
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ParameterDate_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ParameterDate_value_feature", "_UI_ParameterDate_type"),
- RosPackage.Literals.PARAMETER_DATE__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ParameterDate.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDate"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- XMLGregorianCalendar labelValue = ((ParameterDate)object).getValue();
- String label = labelValue == null ? null : labelValue.toString();
- return label == null || label.length() == 0 ?
- getString("_UI_ParameterDate_type") :
- getString("_UI_ParameterDate_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterDate.class)) {
- case RosPackage.PARAMETER_DATE__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterDateItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ *
+ *
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ParameterDate_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ParameterDate_value_feature", "_UI_ParameterDate_type"),
+ RosPackage.Literals.PARAMETER_DATE__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ParameterDate.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDate"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ XMLGregorianCalendar labelValue = ((ParameterDate)object).getValue();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ParameterDate_type") :
+ getString("_UI_ParameterDate_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterDate.class)) {
+ case RosPackage.PARAMETER_DATE__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateTypeItemProvider.java
index ded6e14c3..fbc4b95e5 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDateTypeItemProvider.java
@@ -25,118 +25,118 @@
* @generated
*/
public class ParameterDateTypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterDateTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_DATE_TYPE__DEFAULT);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ParameterDateType.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDateType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ParameterDateType_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterDateType.class)) {
- case RosPackage.PARAMETER_DATE_TYPE__DEFAULT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_DATE_TYPE__DEFAULT,
- RosFactory.eINSTANCE.createParameterDate()));
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterDateTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_DATE_TYPE__DEFAULT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ParameterDateType.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDateType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ParameterDateType_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterDateType.class)) {
+ case RosPackage.PARAMETER_DATE_TYPE__DEFAULT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_DATE_TYPE__DEFAULT,
+ RosFactory.eINSTANCE.createParameterDate()));
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleItemProvider.java
index 83fcd1cd4..4b97783e0 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleItemProvider.java
@@ -24,107 +24,107 @@
* @generated
*/
public class ParameterDoubleItemProvider extends ParameterValueItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterDoubleItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- *
- *
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ParameterDouble_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ParameterDouble_value_feature", "_UI_ParameterDouble_type"),
- RosPackage.Literals.PARAMETER_DOUBLE__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.REAL_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ParameterDouble.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDouble"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- ParameterDouble parameterDouble = (ParameterDouble)object;
- return getString("_UI_ParameterDouble_type") + " " + parameterDouble.getValue();
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterDouble.class)) {
- case RosPackage.PARAMETER_DOUBLE__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterDoubleItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ *
+ *
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ParameterDouble_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ParameterDouble_value_feature", "_UI_ParameterDouble_type"),
+ RosPackage.Literals.PARAMETER_DOUBLE__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.REAL_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ParameterDouble.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDouble"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ParameterDouble parameterDouble = (ParameterDouble)object;
+ return getString("_UI_ParameterDouble_type") + " " + parameterDouble.getValue();
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterDouble.class)) {
+ case RosPackage.PARAMETER_DOUBLE__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleTypeItemProvider.java
index 02b65028a..3d184cfca 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterDoubleTypeItemProvider.java
@@ -25,118 +25,118 @@
* @generated
*/
public class ParameterDoubleTypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterDoubleTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- *
- *
- * @generated
- */
- @Override
- public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(RosPackage.Literals.PARAMETER_DOUBLE_TYPE__DEFAULT);
- }
- return childrenFeatures;
- }
-
- /**
- *
- *
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns ParameterDoubleType.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDoubleType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_ParameterDoubleType_type");
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterDoubleType.class)) {
- case RosPackage.PARAMETER_DOUBLE_TYPE__DEFAULT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (RosPackage.Literals.PARAMETER_DOUBLE_TYPE__DEFAULT,
- RosFactory.eINSTANCE.createParameterDouble()));
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterDoubleTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Collection extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RosPackage.Literals.PARAMETER_DOUBLE_TYPE__DEFAULT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ParameterDoubleType.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterDoubleType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_ParameterDoubleType_type");
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterDoubleType.class)) {
+ case RosPackage.PARAMETER_DOUBLE_TYPE__DEFAULT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (RosPackage.Literals.PARAMETER_DOUBLE_TYPE__DEFAULT,
+ RosFactory.eINSTANCE.createParameterDouble()));
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerItemProvider.java
index 76078c122..8797fb025 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerItemProvider.java
@@ -24,110 +24,110 @@
* @generated
*/
public class ParameterIntegerItemProvider extends ParameterValueItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterIntegerItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- *
- *
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ParameterInteger_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ParameterInteger_value_feature", "_UI_ParameterInteger_type"),
- RosPackage.Literals.PARAMETER_INTEGER__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ParameterInteger.gif.
- *
- *
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterInteger"));
- }
-
- /**
- * This returns the label text for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public String getText(Object object) {
- Integer labelValue = ((ParameterInteger)object).getValue();
- String label = labelValue == null ? null : labelValue.toString();
- return label == null || label.length() == 0 ?
- getString("_UI_ParameterInteger_type") :
- getString("_UI_ParameterInteger_type") + " " + label;
- }
-
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- *
- *
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ParameterInteger.class)) {
- case RosPackage.PARAMETER_INTEGER__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- *
- *
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ /**
+ * This constructs an instance from a factory and a notifier.
+ *
+ *
+ * @generated
+ */
+ public ParameterIntegerItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ *
+ *
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ParameterInteger_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ParameterInteger_value_feature", "_UI_ParameterInteger_type"),
+ RosPackage.Literals.PARAMETER_INTEGER__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ParameterInteger.gif.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ParameterInteger"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ Integer labelValue = ((ParameterInteger)object).getValue();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ParameterInteger_type") :
+ getString("_UI_ParameterInteger_type") + " " + label;
+ }
+
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ *
+ *
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ParameterInteger.class)) {
+ case RosPackage.PARAMETER_INTEGER__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ *
+ *
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerTypeItemProvider.java b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerTypeItemProvider.java
index 8636462f5..a3b7c00d4 100644
--- a/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerTypeItemProvider.java
+++ b/plugins/de.fraunhofer.ipa.ros.edit/src/ros/provider/ParameterIntegerTypeItemProvider.java
@@ -25,118 +25,118 @@
* @generated
*/
public class ParameterIntegerTypeItemProvider extends ParameterTypeItemProvider {
- /**
- * This constructs an instance from a factory and a notifier.
- *
- *
- * @generated
- */
- public ParameterIntegerTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- *
- *
- * @generated
- */
- @Override
- public List