Package org.pdtextensions.core.ui.codemanipulation

Examples of org.pdtextensions.core.ui.codemanipulation.ClassStubParameter


    return "Create a new PHP Class";
  }

  protected String generateFileContent() {
    ClassStubParameter classStubParameter = new ClassStubParameter();

    classStubParameter.setName(getElementname());
    classStubParameter.setAbstractClass(isAbstract());
    classStubParameter.setFinalClass(isFinal());
    classStubParameter.setNamespace(getNamespace());
    classStubParameter.setInterfaces(getInterfaces());
    classStubParameter.setSuperclass(getSuperclass());
    classStubParameter.setInheritedMethods(isGenerateMethodStubs());
    classStubParameter.setConstructor(isGenerateConstructorStubs());
    classStubParameter.setComments(isGenerateComments());

    ElementStub classStub = new ClassStub(getScriptFolder().getScriptProject(), classStubParameter);
    return classStub.toString();
  }
View Full Code Here

TOP

Related Classes of org.pdtextensions.core.ui.codemanipulation.ClassStubParameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.