|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.util.StandardVersionControlStrategy
Constructor Summary | |
StandardVersionControlStrategy(VersionRequester newVersionRequester)
|
Method Summary | |
void |
assertCompatibleVersion()
Define a strategy how to select those versions of JHotDraw with which they are compatible. |
protected VersionRequester |
getVersionRequester()
|
protected void |
handleIncompatibleVersions()
This method is called in open() if an incompatible version has been encountered. |
protected boolean |
isCompatibleVersion(java.lang.String compareVersionString)
Subclasses can override this method to specify an algorithms that determines how version strings are compared and which version strings can be regarded as compatible. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardVersionControlStrategy(VersionRequester newVersionRequester)
Method Detail |
public void assertCompatibleVersion()
assertCompatibleVersion
in interface VersionControlStrategy
protected void handleIncompatibleVersions()
protected boolean isCompatibleVersion(java.lang.String compareVersionString)
compareVersionString
- application version to compare with JHotDraw's versionprotected VersionRequester getVersionRequester()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |