Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-18949 Move Angular* code from o.j.t.jst.web.* to o.j.t.jst.angularjs #428

Merged
merged 1 commit into from
Jan 7, 2015

Conversation

dazarov
Copy link
Member

@dazarov dazarov commented Jan 6, 2015

No description provided.

String uri = element.getAttribute("uri"); //$NON-NLS-1$
Class<? extends ICategoryFilter> categoryFilterClass = getCategoryFilterClass(element);
Class<? extends IPropertySetViewer> propertySetViewerClass = getPropertySetViewerClass(element);
knownDescriptors.add(new CategoryDescriptor(name, uri, categoryFilterClass, propertySetViewerClass));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is name or url is required? If yes and any of them should not be null/empty then we should check if the value of the corresponding attribute is set/correct and log if not. Otherwise in case of broken extension it can cause properties view crashing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@alexeykazakov
Copy link
Contributor

Now I see "Attribute "property-set-viewer-class" should be defined in extension point org.jboss.tools.jst.web.ui" when opening Properties view

@alexeykazakov alexeykazakov merged commit 31f2ff8 into jbosstools:master Jan 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants