-
Notifications
You must be signed in to change notification settings - Fork 0
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
11 changed files
with
48 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# barely-total-commander | ||
|
||
The graphic files browser that enables navigation on files system. | ||
|
||
In a separate thread image previews are loaded and stored in **weak references**. | ||
|
||
There are also plugins implementing simple image transformation and loaded in runtime (ClassLoader): | ||
|
||
- no plugin | ||
![no_plugin](img/no_plugin.png) | ||
|
||
- increase saturation | ||
![increased_saturation](img/increased_saturation.png) | ||
|
||
- gray scale | ||
![gray_scale](img/gray_scale.png) | ||
|
||
- black & white | ||
![black_white](img/black_white.png) | ||
|
||
- negative | ||
![negative](img/negative.png) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
/** | ||
* @author <a href="mailto:[email protected]">Hanna Grodzicka</a> | ||
*/ | ||
public class PluginGenerator { | ||
class PluginGenerator { | ||
|
||
private static final Logger LOG = LoggerFactory.getLogger(PluginGenerator.class); | ||
|
||
|
@@ -29,12 +29,12 @@ public class PluginGenerator { | |
this.pluginClassLoader = new PluginClassLoader(); | ||
} | ||
|
||
public Object getPlugin(PluginType pluginType) { | ||
Object getPlugin(PluginType pluginType) { | ||
loadPlugin(pluginType); | ||
return pluginObject; | ||
} | ||
|
||
public BufferedImage invokeConvertIconMethod(Object pluginObject, String path) { | ||
BufferedImage invokeConvertIconMethod(Object pluginObject, String path) { | ||
Method[] methods = pluginObject.getClass().getMethods(); | ||
int argumentIndex = 0; | ||
int numberOfArguments = methods[argumentIndex].getParameterCount(); | ||
|
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