-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
91 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
.../org.python.pydev.shared_core/src/org/python/pydev/shared_core/image/DummyImageCache.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package org.python.pydev.shared_core.image; | ||
|
||
public class DummyImageCache implements IImageCache { | ||
|
||
@Override | ||
public IImageHandle get(String key) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public IImageHandle getImageDecorated(String key, String decoration) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public IImageHandle getImageDecorated(String key, String decoration, int decorationLocation) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public IImageDescriptor getDescriptor(String projectIcon) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public IImageHandle getImageDecorated(String key, String decoration, int decorationLocation, | ||
String secondDecoration, int secondDecorationLocation) { | ||
return new IImageHandle() { | ||
|
||
@Override | ||
public Object getImageData() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Object getImage() { | ||
return null; | ||
} | ||
}; | ||
} | ||
|
||
@Override | ||
public IImageHandle getStringDecorated(String key, String stringToAddToDecoration) { | ||
return null; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters