SplitTopicsWithBasename

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
Tool enables the user to split context topics. First tool asks regular expression used during split. Then tool chops base name using given regular expressions and creates indentical topic for each base name part. To ensure created topic stays separate tool slightly modifies topic's subject identifiers and subject locator.
+
Tool enables the user to split context topics. First the tool asks a regular expression used during the split. Then tool chops topic's base name with the given regular expression and creates indentical topic for each base name part. To ensure the created topic stays separate, tool modifies topic's subject identifiers and subject locator slightly.
  
Tool is useful to handle topics that in fact contain many potential topics in their base names. Such topic is for example '''monkey, horse, pig, cat''' containing a list of animals. Splitting this topic with regular expressions '''", "''' separates all animals and preserves associations, classes and instances untouched.
+
The tool is useful to handle topics that contain multiple potential topics in their base names. Such topic is for example  
 +
 
 +
  monkey, horse, pig, cat
 +
 
 +
containing a list of animals. Splitting this topic with regular expression (comma with space character)
 +
 
 +
  ,  
 +
 
 +
Results four separate topics, one for each animal. Each separated animal topic has same associations, occurrences, classes, and instances as the original topic.
  
 
{{Tool_s_GUI_name_title}}
 
{{Tool_s_GUI_name_title}}
Line 9: Line 17:
 
{{Tool_s_class_title}}
 
{{Tool_s_class_title}}
  
com.gripstudios.applications.wandora.admin.tools.SplitTopicsWithBasename
+
{{Tool_class_path|SplitTopicsWithBasename|SplitTopicsWithBasename}}
  
 
[[Category:Tools]]
 
[[Category:Tools]]

Latest revision as of 18:32, 22 April 2008

Tool enables the user to split context topics. First the tool asks a regular expression used during the split. Then tool chops topic's base name with the given regular expression and creates indentical topic for each base name part. To ensure the created topic stays separate, tool modifies topic's subject identifiers and subject locator slightly.

The tool is useful to handle topics that contain multiple potential topics in their base names. Such topic is for example

 monkey, horse, pig, cat

containing a list of animals. Splitting this topic with regular expression (comma with space character)

 , 

Results four separate topics, one for each animal. Each separated animal topic has same associations, occurrences, classes, and instances as the original topic.

[edit] GUI name

  • Split topic with base name...

[edit] Tool Class

org.wandora.application.tools.SplitTopicsWithBasename

Personal tools