Creating an aspectEditor
I am creating an aspectEditor for an Advisor I have written. In the article (https://jazz.net/wiki/bin/view/Main/ProcessAspectEditorCreation) they make use of a Model class, but I can't seem to find the package in which this class resides...
public void init(IProcessAspectEditorSite site, ProcessAspect inputAspect) { super.init(site, inputAspect); fModel = } Any ideas? Thanks! |
2 answers
Hi Jan (I responded to your email, but am posting here too so others can see),
Yes, the article isn't all that clear on that point, I'll admit. The code is taken from the aspect editor for the "Require work item" precondition, which can be found in file: com.ibm.team.process.internal.definitions.ide.ui.deliver.editors.RequireWorkItemAspectEditor.java in plugin: com.ibm.team.process.definitions.ide.ui. The Model class is included in the same file. The Model class isn't part of the framework, however, it's just the aspect editor's own model of the relevant state (a la MVC pattern), so you should come up with your own, not copy what's there. |
where did this aspect editor move to? Not in that plugin anymore
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.