Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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 = new Model();
}


Any ideas?

Thanks!

0 votes



2 answers

Permanent link
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.

0 votes


Permanent link
where did this aspect editor move to? Not in that plugin anymore

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,954

Question asked: Jan 15 '09, 8:34 a.m.

Question was seen: 6,256 times

Last updated: Apr 14 '13, 6:11 p.m.

Confirmation Cancel Confirm