File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
yatb-plugin/src/com/github/eclipse/yatb Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -159,22 +159,22 @@ public Object getAdapter(Class adapter) {
159159
160160 @ Override
161161 public void activated () {
162- updateVis ();
162+ updateVis (true );
163163 }
164164
165165 @ Override
166166 public void deactivated () {
167- updateVis ();
167+ updateVis (false );
168168 }
169169
170- private void updateVis () {
170+ private void updateVis (boolean state ) {
171171 if (page == null )
172172 return ;
173- terminateHardAction .setEnabled (true );
174- terminateAllHardAction .setEnabled (true );
175- terminateSoftAction .setEnabled (true );
176- terminateAllSoftAction .setEnabled (true );
173+ terminateHardAction .setEnabled (state );
174+ terminateAllHardAction .setEnabled (state );
175+ terminateSoftAction .setEnabled (state );
176+ terminateAllSoftAction .setEnabled (state );
177177 bars .updateActionBars ();
178178 }
179179
180- }
180+ }
You can’t perform that action at this time.
0 commit comments