Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
9602af20
Commit
9602af20
authored
Mar 20, 2015
by
helene ortiz
Browse files
No commit message
No commit message
parent
104fbfa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/fr/ill/ics/core/property/PropertyManager.java
View file @
9602af20
...
...
@@ -146,7 +146,7 @@ public class PropertyManager {
* @return
*/
private
boolean
readPropertiesClientFilesFor
(
String
controllerType
)
{
if
(
clientFilesFoundPerControllerType
.
containsKey
(
controllerType
))
{
return
clientFilesFoundPerControllerType
.
get
(
controllerType
);
}
...
...
@@ -333,6 +333,11 @@ public class PropertyManager {
return
property
;
}
public
void
getDynamicPropertyForCommandBox
(
AtomicCommandWrapper
controller
)
{
}
/**
*
...
...
@@ -953,4 +958,5 @@ public class PropertyManager {
return
this
.
toString
().
equals
(
content
);
}
}
}
src/fr/ill/ics/util/ConfigManager.java
View file @
9602af20
...
...
@@ -73,6 +73,7 @@ public class ConfigManager {
public
final
static
String
LAUNCH_PAD_TEXT_MODE
=
"LAUNCH_PAD_TEXT_MODE"
;
public
final
static
String
X_UNCLOSEABLE_SPY
=
"X_UNCLOSEABLE_SPY"
;
public
final
static
String
Y_UNCLOSEABLE_SPY
=
"Y_UNCLOSEABLE_SPY"
;
public
final
static
String
MAGNIFY_FACTOR_INDEX
=
"MAGNIFY_FACTOR_INDEX"
;
public
final
static
String
X_CONDITIONS_SPY
=
"X_CONDITIONS_SPY"
;
public
final
static
String
Y_CONDITIONS_SPY
=
"Y_CONDITIONS_SPY"
;
...
...
@@ -378,55 +379,6 @@ public class ConfigManager {
}
/**
* Replace all special characters coded in properties with unicode character
*
*//*
public void replaceSpecialCharacters() {
String key;
String propertyValue;
Iterator it = properties.entrySet().iterator();
while (it.hasNext()) {
key = (String)it.next();
propertyValue = (String)properties.get(key);
propertyValue = propertyValue.replace("~alpha", SpecialCharacter.alpha);
propertyValue = propertyValue.replace("~beta", SpecialCharacter.beta);
propertyValue = propertyValue.replace("~gamma", SpecialCharacter.gamma);
propertyValue = propertyValue.replace("~delta", SpecialCharacter.delta);
propertyValue = propertyValue.replace("~epsilon", SpecialCharacter.epsilon);
propertyValue = propertyValue.replace("~zeta", SpecialCharacter.zeta);
propertyValue = propertyValue.replace("~eta", SpecialCharacter.eta);
propertyValue = propertyValue.replace("~theta", SpecialCharacter.theta);
propertyValue = propertyValue.replace("~iota", SpecialCharacter.iota);
propertyValue = propertyValue.replace("~kappa", SpecialCharacter.kappa);
propertyValue = propertyValue.replace("~lambda", SpecialCharacter.lambda);
propertyValue = propertyValue.replace("~mu", SpecialCharacter.mu);
propertyValue = propertyValue.replace("~xi", SpecialCharacter.xi);
propertyValue = propertyValue.replace("~omicron", SpecialCharacter.omicron);
propertyValue = propertyValue.replace("~pi", SpecialCharacter.pi);
propertyValue = propertyValue.replace("~rho", SpecialCharacter.rho);
propertyValue = propertyValue.replace("~sigma", SpecialCharacter.sigma);
propertyValue = propertyValue.replace("~tau", SpecialCharacter.tau);
propertyValue = propertyValue.replace("~upsilon", SpecialCharacter.upsilon);
propertyValue = propertyValue.replace("~phi", SpecialCharacter.phi);
propertyValue = propertyValue.replace("~chi", SpecialCharacter.chi);
propertyValue = propertyValue.replace("~psi", SpecialCharacter.psi);
propertyValue = propertyValue.replace("~omega", SpecialCharacter.omega);
propertyValue = propertyValue.replace("~Delta", SpecialCharacter.Delta);
propertyValue = propertyValue.replace("~Omega", SpecialCharacter.Omega);
propertyValue = propertyValue.replace("~degree", SpecialCharacter.degree);
propertyValue = propertyValue.replace("~angstrom", SpecialCharacter.angstrom);
propertyValue = propertyValue.replace("~superscriptminus", SpecialCharacter.superscriptminus);
propertyValue = propertyValue.replace("~superscriptone", SpecialCharacter.superscriptone);
propertyValue = propertyValue.replace("~cross", SpecialCharacter.cross);
properties.put(key, propertyValue);
}
}
*/
public
void
setProperty
(
String
propertyKey
,
String
propertyValue
)
{
properties
.
setProperty
(
propertyKey
,
propertyValue
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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