Skip to content

Commit

Permalink
Bug 1168229 - Overview tab missing for External imports editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikkola committed Dec 5, 2014
1 parent 633baea commit 2c511f1
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 76 deletions.
Expand Up @@ -131,11 +131,6 @@ public Categories getContent() {
return explorer.getCategories();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

public class CategoryEditor extends FormStylePopup {

private final CategoryItem parent;
Expand Down
Expand Up @@ -125,10 +125,4 @@ public String getContent() {
return ruleContentWidget.getContent();
}


@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

}
Expand Up @@ -85,11 +85,6 @@ public String getContent() {
return dslText.getValue();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

@Override
public void makeReadOnly() {
dslText.setEnabled( false );
Expand Down
Expand Up @@ -186,8 +186,4 @@ private void notifySuccess() {
notificationEvent.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemCreatedSuccessfully() ) );
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}
}
Expand Up @@ -165,8 +165,4 @@ public String getContent() {
return sb.toString();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}
}
Expand Up @@ -138,11 +138,6 @@ public void setContent( final List<Global> globals,
this.isReadOnly = isReadOnly;
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

@UiHandler("addGlobalButton")
public void onClickAddGlobalButton( final ClickEvent event ) {
addGlobalPopup.setContent( addGlobalCommand,
Expand Down
Expand Up @@ -28,8 +28,4 @@ void setContent( final Path path,

void onFocus();

boolean confirmClose();

void alertReadOnly();

}
Expand Up @@ -84,9 +84,4 @@ public void onFocus() {
}
editor.onFocus();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}
}
Expand Up @@ -78,9 +78,4 @@ public void setDataModel( final AsyncPackageDataModelOracle oracle,
isReadOnly );
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

}
Expand Up @@ -141,7 +141,6 @@ public void callback(final GuidedEditorContent content) {
}

GuidedRuleEditorPresenter.this.model = content.getModel();
GuidedRuleEditorPresenter.this.originalHash = content.getModel().hashCode();
final PackageDataModelOracleBaselinePayload dataModel = content.getDataModel();
oracle = oracleFactory.makeAsyncPackageDataModelOracle(versionRecordManager.getPathToLatest(),
model,
Expand Down
Expand Up @@ -76,11 +76,6 @@ public RuleModel getContent() {
return modeller.getModel();
}

@Override
public boolean confirmClose() {
return Window.confirm(CommonConstants.INSTANCE.DiscardUnsavedData());
}

@Override
public void refresh() {
modeller.refreshWidget();
Expand Down
Expand Up @@ -44,11 +44,6 @@ public ScoreCardModel getModel() {
return this.editor.getModel();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

@Override
public void refreshFactTypes() {
editor.refreshFactTypes();
Expand Down
Expand Up @@ -79,8 +79,4 @@ public void onClick( ClickEvent event ) {
} );
}

@Override
public boolean confirmClose() {
return Window.confirm(CommonConstants.INSTANCE.DiscardUnsavedData());
}
}
Expand Up @@ -74,11 +74,6 @@ public TemplateModel getContent() {
return (TemplateModel) modeller.getRuleModeller().getModel();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

@Override
public void refresh() {
modeller.refreshWidget();
Expand Down
Expand Up @@ -184,8 +184,4 @@ private void notifySuccess() {
notificationEvent.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemCreatedSuccessfully() ) );
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}
}
Expand Up @@ -364,8 +364,4 @@ public void handleNoSuchFileException() {
CommonConstants.INSTANCE.NoSuchFileTabTitle());
}

@Override
public boolean confirmClose() {
return Window.confirm(CommonConstants.INSTANCE.DiscardUnsavedData());
}
}
Expand Up @@ -87,11 +87,6 @@ public void setContent( final String definition,
public String getContent() {
return workItemWidget.getContent();
}

@Override
public boolean confirmClose() {
return Window.confirm( CommonConstants.INSTANCE.DiscardUnsavedData() );
}

@Override
public void onElementSelected( final String title,
Expand Down

0 comments on commit 2c511f1

Please sign in to comment.