Skip to content
Browse files

give a name if it exists

  • Loading branch information...
1 parent dc11d8d commit fae220134f31e8907aa25c9525d7ef767f752c16 @moovida committed May 11, 2012
View
2 ...ig.catalog.wmt/src/net/refractions/udig/catalog/internal/wmt/ui/wizard/WMTWizardPage.java
@@ -247,7 +247,7 @@ public void createControl( Composite parent ) {
private void createTreeControl( final Composite composite ) {
tree = new Tree(composite, SWT.BORDER | SWT.CHECK);
- tree.setLayoutData(new RowData(200, 442));
+ tree.setLayoutData(new RowData(300, 442));
tree.addListener(SWT.Selection, new org.eclipse.swt.widgets.Listener(){
public void handleEvent( Event event ) {
TreeItem item = (TreeItem) event.item;
View
2 ...ns.udig.catalog.wmt/src/net/refractions/udig/catalog/internal/wmt/wmtsource/CSSource.java
@@ -58,6 +58,8 @@ protected void init( String resourceId ) throws Exception {
this.templateUrl = "http://" + tmpUrlPath; //$NON-NLS-1$
} else {
this.templateUrl = tmpUrlPath; //$NON-NLS-1$
+ String name2 = new File(tmpUrlNoZXY).getName();
+ setName(name2);
}
this.id = generateId();

0 comments on commit fae2201

Please sign in to comment.
Something went wrong with that request. Please try again.