It's all about the answers!

Ask a question

Creating an aspectEditor


Jan Van de Poel (2413016) | asked Jan 15 '09, 8:34 a.m.
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 = new Model();
}


Any ideas?

Thanks!

2 answers



permanent link
Nick Edgar (6.5k711) | answered Jan 16 '09, 12:55 p.m.
JAZZ DEVELOPER
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.

permanent link
sam detweiler (12.4k6175200) | answered Apr 14 '13, 6:11 p.m.
where did this aspect editor move to? Not in that plugin anymore

Your answer


Register or to post your answer.