コード例 #1
0
 public void apply() throws ConfigurationException {
   final List<TreePath> treePaths = TreeUtil.collectExpandedPaths(myActionsTree);
   if (mySelectedSchema != null) {
     CustomizationUtil.optimizeSchema(myActionsTree, mySelectedSchema);
   }
   restorePathsAfterTreeOptimization(treePaths);
   CustomActionsSchema.getInstance().copyFrom(mySelectedSchema);
   setCustomizationSchemaForCurrentProjects();
 }
コード例 #2
0
 public boolean isModified() {
   CustomizationUtil.optimizeSchema(myActionsTree, mySelectedSchema);
   return CustomActionsSchema.getInstance().isModified(mySelectedSchema);
 }