ca.sqlpower.architect.ddl
Class ObjectPropertyModificationDDLComponent

java.lang.Object
  extended by ca.sqlpower.architect.ddl.GenericDDLWarningComponent
      extended by ca.sqlpower.architect.ddl.ObjectPropertyModificationDDLComponent
All Implemented Interfaces:
DDLWarningComponent

public class ObjectPropertyModificationDDLComponent
extends GenericDDLWarningComponent

An instance of this class displays the warning message associated with an object's property, and allows user to actively modify the value of the property to avoid possible SQL failures.

By default, if not specified by the warning. An instance would modify the name of the object.


Constructor Summary
ObjectPropertyModificationDDLComponent(DDLWarning warning)
           
 
Method Summary
 void applyChanges()
          Do something - apply the user's changes
 java.lang.Runnable getChangeApplicator()
          Return the Runnable that will apply the changes.
 javax.swing.JComponent getComponent()
          Return the associated visual component
 DDLWarning getWarning()
          Return the DDLWarning object
 
Methods inherited from class ca.sqlpower.architect.ddl.GenericDDLWarningComponent
getQuickFixButton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectPropertyModificationDDLComponent

public ObjectPropertyModificationDDLComponent(DDLWarning warning)
Method Detail

applyChanges

public void applyChanges()
Description copied from interface: DDLWarningComponent
Do something - apply the user's changes


getChangeApplicator

public java.lang.Runnable getChangeApplicator()
Description copied from interface: DDLWarningComponent
Return the Runnable that will apply the changes.


getComponent

public javax.swing.JComponent getComponent()
Description copied from interface: DDLWarningComponent
Return the associated visual component


getWarning

public DDLWarning getWarning()
Description copied from interface: DDLWarningComponent
Return the DDLWarning object

Specified by:
getWarning in interface DDLWarningComponent
Overrides:
getWarning in class GenericDDLWarningComponent


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca