|
What this is
Other links
The source codepackage org.netbeans.modules.vcscore.caching;
import org.netbeans.api.vcs.FileStatusInfo;
import org.openide.util.NbBundle;
import java.awt.*;
import java.util.Set;
import java.util.HashSet;
/**
* The default implementation of FileStatusInfo.
* The instances of this class are used as default constants.
*/
public final class CacheFileStatusInfo extends FileStatusInfo {
private String displayedStatus;
private String iconResource;
public CacheFileStatusInfo(String status, String displayedStatus, String iconResource) {
super(status);
this.displayedStatus = displayedStatus;
this.iconResource = iconResource;
}
/**
* Get the localized string representation of this status info. Used for
* displaying purposes.
* @return The localized status representation.
*/
public String getDisplayName() {
return displayedStatus;
}
/**
* Get the icon for this status info.
* @return The icon representing this status info or
*
|
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.