Lines 57-67
Link Here
|
57 |
|
57 |
|
58 |
|
58 |
|
59 |
public InputOutput getIO(String name, boolean newIO) { |
59 |
public InputOutput getIO(String name, boolean newIO) { |
60 |
return getIO (name, newIO, null); |
60 |
return getIO (name, newIO, new Action[0]); |
61 |
} |
61 |
} |
62 |
|
62 |
|
|
|
63 |
public InputOutput getIO(String name, Action[] toolbarActions) { |
64 |
return getIO (name, true, toolbarActions); |
65 |
} |
63 |
|
66 |
|
64 |
public InputOutput getIO(String name, boolean newIO, Action[] toolbarActions) { |
67 |
private InputOutput getIO(String name, boolean newIO, Action[] toolbarActions) { |
65 |
if (Controller.log) { |
68 |
if (Controller.log) { |
66 |
Controller.log("GETIO: " + name + " new:" + newIO); |
69 |
Controller.log("GETIO: " + name + " new:" + newIO); |
67 |
} |
70 |
} |
Lines 71-76
Link Here
|
71 |
result = new NbIO(name, toolbarActions); |
74 |
result = new NbIO(name, toolbarActions); |
72 |
namesToIos.add (name, result); |
75 |
namesToIos.add (name, result); |
73 |
Controller.ensureViewInDefault (result, newIO); |
76 |
Controller.ensureViewInDefault (result, newIO); |
|
|
77 |
} else { |
78 |
// mkleint ignore actions if reuse of tabs. |
79 |
// result.setToolbarActions(toolbarActions); |
74 |
} |
80 |
} |
75 |
return result; |
81 |
return result; |
76 |
} |
82 |
} |