mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 14:15:23 +02:00
Cleanup. Removed the 'reset' and 'getQualifiedName' methods from the 'ICVaraible' interface.
This commit is contained in:
parent
d84488d695
commit
87128db4da
5 changed files with 18 additions and 13 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-07-28 Mikhail Khodjaiants
|
||||
Cleanup. Removed the 'reset' and 'getQualifiedName' methods from the 'ICVaraible' interface.
|
||||
* ICVariable.java
|
||||
* CVariable.java
|
||||
|
||||
2003-07-24 Mikhail Khodjaiants
|
||||
Fix for PR 40696. If the project contains the reference to a project that is
|
||||
deleted from the workspace the source locator tries to get the location of deleted project.
|
||||
|
|
|
@ -20,16 +20,12 @@ public interface ICVariable extends IVariable
|
|||
|
||||
void setFormat( int format ) throws DebugException;
|
||||
|
||||
void reset() throws DebugException;
|
||||
|
||||
ICType getType() throws DebugException;
|
||||
|
||||
boolean isEditable();
|
||||
|
||||
boolean hasChildren();
|
||||
|
||||
String getQualifiedName() throws DebugException;
|
||||
|
||||
boolean isEnabled();
|
||||
|
||||
void setEnabled( boolean enabled ) throws DebugException;
|
||||
|
|
|
@ -151,6 +151,7 @@ public abstract class CVariable extends CDebugElement
|
|||
return fException;
|
||||
}
|
||||
}
|
||||
|
||||
class InternalVariable
|
||||
{
|
||||
private ICDIVariableObject fCDIVariableObject;
|
||||
|
@ -632,14 +633,17 @@ public abstract class CVariable extends CDebugElement
|
|||
* @see org.eclipse.cdt.debug.core.model.ICVariable#setFormat(int)
|
||||
*/
|
||||
public void setFormat( int format ) throws DebugException
|
||||
{
|
||||
doSetFormat( format );
|
||||
reset();
|
||||
}
|
||||
|
||||
protected void doSetFormat( int format )
|
||||
{
|
||||
fFormat = format;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.eclipse.cdt.debug.core.model.ICVariable#reset()
|
||||
*/
|
||||
public void reset() throws DebugException
|
||||
protected void reset() throws DebugException
|
||||
{
|
||||
((CValue)getValue()).reset();
|
||||
fireChangeEvent( DebugEvent.STATE );
|
||||
|
@ -824,10 +828,7 @@ public abstract class CVariable extends CDebugElement
|
|||
return result;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.debug.core.model.ICVariable#getQualifiedName()
|
||||
*/
|
||||
public String getQualifiedName() throws DebugException
|
||||
protected String getQualifiedName() throws DebugException
|
||||
{
|
||||
if ( fQualifiedName == null )
|
||||
{
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2003-07-28 Mikhail Khodjaiants
|
||||
Cleanup. Removed the 'reset' method from the 'ICVaraible' interface.
|
||||
* VariableFormatActionDelegate.java
|
||||
|
||||
2003-07-24 Mikhail Khodjaiants
|
||||
New icon for closed projects.
|
||||
* icons/full/obj16/cproject_obj.gif: new
|
||||
|
|
|
@ -128,6 +128,5 @@ public class VariableFormatActionDelegate implements IObjectActionDelegate
|
|||
protected void doAction( ICVariable var ) throws DebugException
|
||||
{
|
||||
var.setFormat( fFormat );
|
||||
var.reset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue