1 20 21 package org.apache.directory.ldapstudio.ldifeditor.editor.actions; 22 23 24 import org.apache.directory.ldapstudio.browser.common.BrowserCommonConstants; 25 import org.apache.directory.ldapstudio.ldifeditor.editor.LdifEditor; 26 27 28 public class OpenDefaultValueEditorAction extends AbstractLdifAction 29 { 30 31 private OpenBestValueEditorAction proxy; 32 33 34 public OpenDefaultValueEditorAction( LdifEditor editor, OpenBestValueEditorAction proxy ) 35 { 36 super( "Edit Value", editor ); 37 super.setActionDefinitionId( BrowserCommonConstants.ACTION_ID_EDIT_VALUE ); 38 this.proxy = proxy; 39 } 40 41 42 public void update() 43 { 44 this.proxy.update(); 45 super.setEnabled( this.proxy.isEnabled() ); 46 } 47 48 49 protected void doRun() 50 { 51 this.proxy.run(); 52 } 53 54 } 55 | Popular Tags |