Example #1
0
  /**
   * Returns default capabilities of the classifier.
   *
   * @return the capabilities of this classifier
   */
  public Capabilities getCapabilities() {
    Capabilities result;

    if (m_GroovyObject == null) {
      result = new Capabilities(this);
      result.disableAll();
    } else {
      result = m_GroovyObject.getCapabilities();
    }

    result.enableAllAttributeDependencies();
    result.enableAllClassDependencies();

    return result;
  }
Example #2
0
 /** enables all attribute and class types (including dependencies) */
 public void enableAll() {
   enableAllAttributes();
   enableAllAttributeDependencies();
   enableAllClasses();
   enableAllClassDependencies();
 }