rem: gDialog.newSelectorType = GENERIC_SELECTOR; } else { gDialog.newSelectorType = CLASS_SELECTOR; 
context: function CreateNewStyleRule(){  var gridrows = PrepareInfoGridForCreation();  gDialog.newExternal  = false;  gDialog.newType      = STYLE_RULE;  gDialog.newSelector  = "";  gDialog.sheetInfoTabPanelTitle.setAttribute("value", "New Style Rule");  var radiogroup = AddRadioGroupToInfoBox(gridrows, "Create a new:");  // offer choice between class selector and type element selector  AddRadioToRadioGroup(radiogroup, "named style (enter class name below)",                       "onCreationStyleRuleTypeChange", CLASS_SELECTOR, true);  AddRadioToRadioGroup(radiogroup, "style applied to all elements of type (enter type below)",                       "onCreationStyleRuleTypeChange", TYPE_ELEMENT_SELECTOR, false);  // oh, and in expert mode, allow of course any selector  if (gDialog.expertMode) {    AddRadioToRadioGroup(radiogroup, "style applied to all elements matching the following selector",                         "onCreationStyleRuleTypeChange", GENERIC_SELECTOR, false);    gDialog.newSelectorType = GENERIC_SELECTOR;  }  else {    gDialog.newSelectorType = CLASS_SELECTOR;  }  AddEditableZoneToInfobox(gridrows, " ", gDialog.newSelector,  "onNewSelectorChange", true);  AddSingleButtonToInfobox(gridrows, "Create Style Rule", "onConfirmCreateNewObject");}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5ad7f3e49e917bfa61d8a12cf84d7045c9e8e630/EdCssProps.js/buggy/extensions/editor/cascades/resources/content/EdCssProps.js