Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
03b32a55
Commit
03b32a55
authored
Jun 22, 2015
by
Jerome Locatelli
Browse files
Merge Intrument_RC_174 branch on trunk
parents
4c8a7824
75f991ad
Changes
1
Show whitespace changes
Inline
Side-by-side
src/fr/ill/ics/core/property/PropertyManager.java
View file @
03b32a55
...
@@ -993,4 +993,17 @@ public class PropertyManager {
...
@@ -993,4 +993,17 @@ public class PropertyManager {
}
}
}
}
public
boolean
propertyExists
(
boolean
isDynamic
,
String
controllerType
,
String
propertyName
)
{
boolean
exists
=
false
;
if
(
isDynamic
)
{
// remove indice
String
genericPropertyName
=
propertyName
.
substring
(
0
,
propertyName
.
indexOf
(
"."
));
exists
=
dynamicPropertiesByControllerType
.
get
(
controllerType
).
containsKey
(
genericPropertyName
);
}
else
{
exists
=
propertiesByControllerType
.
get
(
controllerType
).
containsKey
(
propertyName
);
}
return
exists
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment