mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[246655] Re-added @since tags, which were accidentally removed in last commit.
This commit is contained in:
parent
b8fb65cc72
commit
8c9c3817e8
1 changed files with 21 additions and 2 deletions
|
@ -61,8 +61,8 @@ public class AbstractCachingVMProvider extends AbstractVMProvider implements ICa
|
||||||
|
|
||||||
private boolean fDelayEventHandleForViewUpdate = false;
|
private boolean fDelayEventHandleForViewUpdate = false;
|
||||||
|
|
||||||
// debug flags
|
// debug flag
|
||||||
public static boolean DEBUG_CACHE = false;
|
static boolean DEBUG_CACHE = false;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
DEBUG_CACHE = DsfUIPlugin.DEBUG && "true".equals( //$NON-NLS-1$
|
DEBUG_CACHE = DsfUIPlugin.DEBUG && "true".equals( //$NON-NLS-1$
|
||||||
|
@ -299,6 +299,9 @@ public class AbstractCachingVMProvider extends AbstractVMProvider implements ICa
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static String SELECTED_UPDATE_MODE = "org.eclipse.dd.dsf.ui.viewmodel.update.selectedUpdateMode"; //$NON-NLS-1$
|
protected static String SELECTED_UPDATE_MODE = "org.eclipse.dd.dsf.ui.viewmodel.update.selectedUpdateMode"; //$NON-NLS-1$
|
||||||
|
/**
|
||||||
|
* @since 1.1
|
||||||
|
*/
|
||||||
protected static String SELECTED_UPDATE_SCOPE = "org.eclipse.dd.dsf.ui.viewmodel.update.selectedUpdateScope"; //$NON-NLS-1$
|
protected static String SELECTED_UPDATE_SCOPE = "org.eclipse.dd.dsf.ui.viewmodel.update.selectedUpdateScope"; //$NON-NLS-1$
|
||||||
|
|
||||||
private IVMUpdatePolicy[] fAvailableUpdatePolicies;
|
private IVMUpdatePolicy[] fAvailableUpdatePolicies;
|
||||||
|
@ -345,6 +348,9 @@ public class AbstractCachingVMProvider extends AbstractVMProvider implements ICa
|
||||||
return new IVMUpdatePolicy[] { new AutomaticUpdatePolicy() };
|
return new IVMUpdatePolicy[] { new AutomaticUpdatePolicy() };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 1.1
|
||||||
|
*/
|
||||||
protected IVMUpdateScope[] createUpdateScopes() {
|
protected IVMUpdateScope[] createUpdateScopes() {
|
||||||
return new IVMUpdateScope[] { new VisibleUpdateScope(), new AllUpdateScope() };
|
return new IVMUpdateScope[] { new VisibleUpdateScope(), new AllUpdateScope() };
|
||||||
}
|
}
|
||||||
|
@ -1001,10 +1007,16 @@ public class AbstractCachingVMProvider extends AbstractVMProvider implements ICa
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 1.1
|
||||||
|
*/
|
||||||
public IVMUpdateScope[] getAvailableUpdateScopes() {
|
public IVMUpdateScope[] getAvailableUpdateScopes() {
|
||||||
return fAvailableUpdateScopes;
|
return fAvailableUpdateScopes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 1.1
|
||||||
|
*/
|
||||||
public IVMUpdateScope getActiveUpdateScope() {
|
public IVMUpdateScope getActiveUpdateScope() {
|
||||||
String updateScopeId = (String)getPresentationContext().getProperty(SELECTED_UPDATE_SCOPE);
|
String updateScopeId = (String)getPresentationContext().getProperty(SELECTED_UPDATE_SCOPE);
|
||||||
if (updateScopeId != null) {
|
if (updateScopeId != null) {
|
||||||
|
@ -1019,14 +1031,21 @@ public class AbstractCachingVMProvider extends AbstractVMProvider implements ICa
|
||||||
return getAvailableUpdateScopes()[0];
|
return getAvailableUpdateScopes()[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 1.1
|
||||||
|
*/
|
||||||
public void setActiveUpdateScope(IVMUpdateScope updateScope) {
|
public void setActiveUpdateScope(IVMUpdateScope updateScope) {
|
||||||
getPresentationContext().setProperty(SELECTED_UPDATE_SCOPE, updateScope.getID());
|
getPresentationContext().setProperty(SELECTED_UPDATE_SCOPE, updateScope.getID());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean shouldWaitHandleEventToComplete() {
|
public boolean shouldWaitHandleEventToComplete() {
|
||||||
return fDelayEventHandleForViewUpdate;
|
return fDelayEventHandleForViewUpdate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 1.1
|
||||||
|
*/
|
||||||
protected void setDelayEventHandleForViewUpdate(boolean on) {
|
protected void setDelayEventHandleForViewUpdate(boolean on) {
|
||||||
fDelayEventHandleForViewUpdate = on;
|
fDelayEventHandleForViewUpdate = on;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue