/**
*
*/
package org.sinnlabs.dbvim.rules.Default;
import org.sinnlabs.dbvim.rules.engine.IRulable;
import org.sinnlabs.dbvim.rules.engine.RulesResult;
import org.sinnlabs.dbvim.rules.engine.exceptions.RulesException;
import org.sinnlabs.dbvim.zk.model.IDeveloperStudio;
import org.zkoss.zk.ui.Component;
/**
* Implements default rules
* @author peter.liverovsky
*
*/
public class DefaultRules implements IRulable {
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#applyPreCreationRules()
*/
@Override
public RulesResult applyPreCreationRules(IDeveloperStudio developer) throws RulesException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#applyCreationRules(org.zkoss.zk.ui.Component)
*/
@Override
public RulesResult applyCreationRules(Component cmp, IDeveloperStudio developer) throws RulesException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#applyModelToZUMLRules(org.zkoss.zk.ui.Component)
*/
@Override
public RulesResult applyModelToZUMLRules(Component cmp)
throws RulesException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#applyComponentDisplayRules(org.zkoss.zk.ui.Component)
*/
@Override
public RulesResult applyComponentDisplayRules(Component cmp)
throws RulesException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#applyCopyRules(org.zkoss.zk.ui.Component)
*/
@Override
public RulesResult applyCopyRules(Component source) throws RulesException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#applyPrePasteRules(org.zkoss.zk.ui.Component, org.zkoss.zk.ui.Component)
*/
@Override
public RulesResult applyPrePasteRules(Component clone, Component target)
throws RulesException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#getModelToZUMLExcludedAttributes()
*/
@Override
public String[] getModelToZUMLExcludedAttributes() {
String[] excluded = {"style"};
return excluded;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#getExcludedProperties()
*/
@Override
public String[] getExcludedProperties() {
String[] excluded = {"style"};
return excluded;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#showChildren()
*/
@Override
public boolean showChildren() {
return true;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#exportChildrenToZUML()
*/
@Override
public boolean exportChildrenToZUML() {
return true;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#exportChildToZUML(org.zkoss.zk.ui.Component)
*/
@Override
public boolean exportChildToZUML(Component child) {
return true;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#getSpecialProperties()
*/
@Override
public String[] getSpecialProperties() {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see org.sinnlabs.dbvim.rules.engine.IRulable#getSpecialProperty(java.lang.String)
*/
@Override
public Component getSpecialProperty(Component cmp, String name, IDeveloperStudio dev) {
// TODO Auto-generated method stub
return null;
}
}