Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vdt-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
vdt-plugin
Commits
6f968447
Commit
6f968447
authored
Jul 03, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up leftover debug
parent
208d1b2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
Option.java
src/com/elphel/vdt/core/options/Option.java
+0
-4
OptionsCore.java
src/com/elphel/vdt/core/options/OptionsCore.java
+0
-9
No files found.
src/com/elphel/vdt/core/options/Option.java
View file @
6f968447
...
...
@@ -99,10 +99,6 @@ public abstract class Option {
value
=
store
.
getString
(
key
);
setValue
(
value
);
}
else
{
// Trying to get with different index
//See TODO: 07/01/2016 in OptionUtils
// public static List<String> getStoreContext( final String contextID
// if (contextID.equals("cocotb")) {
if
(!
key
.
startsWith
(
OptionsUtils
.
KEY_CONTENT
)){
// Otherwise will be infinite loop
List
<
String
>
context
=
OptionsUtils
.
getStoreContext
(
contextID
,
store
);
String
patt
=
contextID
+
"_[^_]*"
+
key
.
substring
(
key
.
indexOf
(
"_"
,
contextID
.
length
()+
1
));
...
...
src/com/elphel/vdt/core/options/OptionsCore.java
View file @
6f968447
...
...
@@ -219,25 +219,16 @@ public class OptionsCore {
}
public
static
void
doStoreContextOptions
(
Context
context
,
IProject
project
)
{
if
(
"cocotb"
.
equals
(
context
.
getName
())){
System
.
out
.
println
(
"doStoreContextOptions('cocotb'), project="
+
project
);
}
IPreferenceStore
store
=
getPreferenceStore
(
context
,
project
);
doStoreContextOptions
(
context
,
store
);
}
public
static
void
doStoreContextOptions
(
Context
context
)
{
if
(
"cocotb"
.
equals
(
context
.
getName
())){
System
.
out
.
println
(
"doStoreContextOptions('cocotb')"
);
}
IPreferenceStore
store
=
VerilogPlugin
.
getDefault
().
getPreferenceStore
();
doStoreContextOptions
(
context
,
store
);
}
public
static
void
doStoreContextOptions
(
Context
context
,
IPreferenceStore
store
)
{
if
(
"cocotb"
.
equals
(
context
.
getName
())){
System
.
out
.
println
(
"static doStoreContextOptions('cocotb')"
);
}
List
<
Parameter
>
list
=
context
.
getParams
();
if
(
list
.
isEmpty
())
...
...
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