/* (non-Javadoc) * @see org.eclipse.ui.dialogs.PropertyDialogAction#createDialog() */ public PreferenceDialog createDialog() { PreferenceDialog dialog = super.createDialog(); dialog .getShell() .setText( ResourceLoader.INSTANCE.queryString( "DATATOOLS.SERVER.UI.EXPLORER.PROPERTIES_DIALOG_TITLE")); //$NON-NLS-1$ return dialog; }
public void init(ICommonActionExtensionSite aConfig) { this.mViewSite = aConfig.getViewSite(); this.mStructViewer = aConfig.getStructuredViewer(); mPropertiesAction = new TitleChangedPropertyDialogAction( mStructViewer.getControl().getShell(), mViewSite.getSelectionProvider()); mPropertiesAction.setText( ResourceLoader.INSTANCE.queryString( "DATATOOLS.SERVER.UI.EXPLORER.PROPERTIES")); //$NON-NLS-1$ mPropertiesAction.setActionDefinitionId("org.eclipse.ui.file.properties"); // $NON-NLS-1$ }
public void init( String anExtensionId, IViewPart aViewPart, INavigatorContentService aContentService, StructuredViewer aStructuredViewer) { mPropertiesAction = new TitleChangedPropertyDialogAction( mStructViewer.getControl().getShell(), mViewSite.getSelectionProvider()); mPropertiesAction.setText( ResourceLoader.INSTANCE.queryString( "DATATOOLS.SERVER.UI.EXPLORER.PROPERTIES")); //$NON-NLS-1$ }