Hello
I think the title is not appropriate for my issue but I do not have an approach on what to look for.
Okay here is my problem. I describe the basic properties of my application in an own modelfile, which looks something like this:
Application(someid){
PROPERTIES{
basePageClass com.mycompany.RootPage
}
MODULES{
dashboard{
pageClass com.mycompany.modulepages.DashboardPage
}
}
GrammarRule is something like this (Page-Rule uses Qualifiedname-Rule)
Properties:
'PROPERTIES' '{'
('basePageClass ' basePageClass=Page)
'}';
'MODULES' '{'
('pageClass ' pageClass=Page)
'}';
I provide a quickfix for the property pageclass where a NewClassWizardPage comes up. There I want to use the value of basePageClass for the SuperClass:
NewClassWizardPage classWizardPage = new NewClassWizardPage();
classWizardPage.setSuperClass(PROPERTY_FROM_BASPAGECLASS,true);
So at the end here is my Question:
How can i retrieve this value in my QuickfixProvider when the method
public void createReferenceType(final Issue issue,IssueResolutionAcceptor acceptor) is executed.
Thanks in advance
Toni