org.acm.seguin.ide.elixir
Class RefactoryExtension

java.lang.Object
  extended by org.acm.seguin.ide.elixir.PrettyPrinterExtension
      extended by org.acm.seguin.ide.elixir.RefactoryExtension

public class RefactoryExtension
extends PrettyPrinterExtension

Refactory extension loads the refactory tool into memory

Author:
Chris Seguin

Constructor Summary
RefactoryExtension()
           
 
Method Summary
 boolean destroy()
          Removes the extension mechanism
 java.lang.String getCardName()
          Gets the CardName attribute of the Refactory
 java.lang.String getName()
          Gets the Name attribute of the Refactory extension
 boolean init(java.lang.String[] args)
          Initializes the extension
 void update(Message msg)
          Listener for GUI change events
 void veto(Message msg)
          Opportunity to veto a message
 
Methods inherited from class org.acm.seguin.ide.elixir.PrettyPrinterExtension
getReleaseNo, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefactoryExtension

public RefactoryExtension()
Method Detail

getCardName

public java.lang.String getCardName()
Gets the CardName attribute of the Refactory

Overrides:
getCardName in class PrettyPrinterExtension
Returns:
The CardName value

getName

public java.lang.String getName()
Gets the Name attribute of the Refactory extension

Overrides:
getName in class PrettyPrinterExtension
Returns:
The Name value

destroy

public boolean destroy()
Removes the extension mechanism

Overrides:
destroy in class PrettyPrinterExtension
Returns:
Always returns true

init

public boolean init(java.lang.String[] args)
Initializes the extension

Overrides:
init in class PrettyPrinterExtension
Parameters:
args - the arguments
Returns:
true if installed

update

public void update(Message msg)
Listener for GUI change events

Parameters:
msg - the message

veto

public void veto(Message msg)
Opportunity to veto a message

Parameters:
msg - the message