Skip to content

Commit

Permalink
TEIIDDES-2651 changed filter to allow showing folders in model selection
Browse files Browse the repository at this point in the history
dialog.
  • Loading branch information
blafond committed Sep 16, 2015
1 parent 18155c6 commit bf38809
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -497,7 +497,7 @@ public boolean select( Viewer theViewer,
boolean projectOpen = ((IResource)theElement).getProject().isOpen();
if (projectOpen) {
// Show open projects
if (theElement instanceof IProject) {
if (theElement instanceof IContainer) {
result = true;
// Show webservice model files, and not .xsd files
} else if (theElement instanceof IFile && ModelUtil.isModelFile((IFile)theElement)) {
Expand Down

0 comments on commit bf38809

Please sign in to comment.