|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbluej.extensions.Extension
org.patterncoder.PatternCoder
public class PatternCoder
Main class of the Design Patterns Extension.
Extends the BlueJ extensions API's Extension class and is loaded by BlueJ at run time.
| Field Summary | |
|---|---|
static java.lang.String |
DESCRIPTION
|
static java.lang.String |
EXT_URL
|
static java.lang.String |
NAME
|
static java.lang.String |
VERSION
|
| Fields inherited from class bluej.extensions.Extension |
|---|
VERSION_MAJOR, VERSION_MINOR |
| Constructor Summary | |
|---|---|
PatternCoder()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns a set description of the extension. |
java.lang.String |
getName()
Returns a set name of the Patterns Extension. |
java.net.URL |
getURL()
Returns a URL address associated with this extension |
java.lang.String |
getVersion()
Returns a string representing the version of the Extension. |
boolean |
isCompatible()
Compatible or not. |
void |
packageClosing(bluej.extensions.event.PackageEvent ev)
This method is inherited through the PackageListener interface. |
void |
packageOpened(bluej.extensions.event.PackageEvent ev)
This method is inherited through the PackageListener interface. |
void |
startup(bluej.extensions.BlueJ bluej)
startup is called once when the extension is first initialised |
void |
terminate()
Called when the Extension is terminated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VERSION
public static final java.lang.String NAME
public static final java.lang.String DESCRIPTION
public static final java.lang.String EXT_URL
| Constructor Detail |
|---|
public PatternCoder()
| Method Detail |
|---|
public void startup(bluej.extensions.BlueJ bluej)
startup in class bluej.extensions.Extensionbluej - The BlueJ proxy object.public void packageOpened(bluej.extensions.event.PackageEvent ev)
packageOpened in interface bluej.extensions.event.PackageListenerev - The PackageEvent which caused this method to be called.public void packageClosing(bluej.extensions.event.PackageEvent ev)
packageClosing in interface bluej.extensions.event.PackageListenerev - The PackageEvent which caused this method to be called.public boolean isCompatible()
isCompatible in class bluej.extensions.Extensionpublic java.lang.String getVersion()
getVersion in class bluej.extensions.Extensionpublic java.lang.String getName()
getName in class bluej.extensions.Extensionpublic void terminate()
terminate in class bluej.extensions.Extensionpublic java.lang.String getDescription()
getDescription in class bluej.extensions.Extensionpublic java.net.URL getURL()
getURL in class bluej.extensions.Extension
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||