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
fc78ef57
Commit
fc78ef57
authored
May 28, 2015
by
Cristina Cocho
Browse files
In relation to GUI crash of scan script
parent
3eb48b17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fr/ill/ics/core/property/PropertyManager.java
View file @
fc78ef57
...
...
@@ -963,4 +963,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
(
propertyName
);
}
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