Bug 106050 - Provide rule editor extension point to support adding components dynamically to UI
Summary: Provide rule editor extension point to support adding components dynamically ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP.monitoring (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P1 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Valentina Popescu CLA
QA Contact:
URL: http://www.eclipse.org/tptp/groups/Ar...
Whiteboard: closed460
Keywords: Documentation, plan
: 119067 (view as bug list)
Depends on:
Blocks: 132441
  Show dependency tree
 
Reported: 2005-08-04 10:21 EDT by Christine Knight CLA
Modified: 2010-06-03 15:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christine Knight CLA 2005-08-04 10:21:10 EDT
Provide rule editor extension point to support adding components dynamically to
UI. In this way, GLA component writers can have their components available in
the UI for users to select while using the rule editor.
Comment 1 Dave Smith CLA 2005-08-26 11:16:00 EDT
The goal here is to make it easier for GLA users to use the GLA editor to 
create adapter files with the components (likely need to support this 
functionality for sensors and outputters only) they want to use.  They should 
be able to select a sensor or outputter by name without having to know the 
details of implemenation class name and required property names.  These details 
will be provided in the extension point and the GLA editor will use them to 
prefill the fields in the adapter file when the component is added.
Comment 2 Valentina Popescu CLA 2005-10-27 12:35:52 EDT
update priority per Chris's request
Comment 3 Valentina Popescu CLA 2005-11-10 11:49:54 EST
Theme: Design for Extensibility: Be a Better Platform, Appealing to the 
Broader Community
Comment 4 Valentina Popescu CLA 2005-11-24 15:07:37 EST
update component
Comment 5 Valentina Popescu CLA 2005-12-02 12:29:08 EST
*** Bug 119067 has been marked as a duplicate of this bug. ***
Comment 6 Valentina Popescu CLA 2005-12-02 12:38:01 EST
Move back to P1 per Chris's request
Comment 7 Dave Smith CLA 2005-12-07 11:03:53 EST
Candidate for 4.2
Comment 8 Eric Labadie CLA 2005-12-23 16:02:23 EST
The goal here is to make it easier for GLA users to use the GLA editor to create adapter files with the components (likely need to support this functionality for ALL the GLA components) they want to use.  They should be able to select a sensor, extractor, formatter or outputter by name without having to know the details of implementation class name and required property names.  These details will be provided in the extension point and the GLA editor will use them to prefill the fields in the adapter file when the component is added.
Comment 9 Valentina Popescu CLA 2006-01-27 20:08:07 EST
A new extension point is now available to customize context and component creation. The extension allows you to define a complete context definition by grouping together the adapter components to be run for the selected context

See below the description of this extension point :



Identifier: org.eclipse.hyades.logging.adapter.ui.glaComponent

Since: TPTP 4.2 


Description: Use this extension point to create a custom component so that the user can select a sensor, extractor, formatter or outputter by name without having to know the details of implementation class name and required property names. These details will be provided in the extension point and the GLA editor will use them to prefill the fields in the adapter file when the component is added.


Configuration Markup:

<!ELEMENT extension (component+)>

<!ATTLIST extension

point CDATA #REQUIRED

name  CDATA #IMPLIED

id    CDATA #IMPLIED>


point - a fully qualified identifier of the target extension point 
name - an optional name of the extension instance 
id - an optional identifier of the extension instance 


<!ELEMENT component EMPTY>

<!ATTLIST component

name         CDATA #REQUIRED

description  CDATA #IMPLIED

role         CDATA #REQUIRED

class        CDATA #REQUIRED

version      CDATA #IMPLIED

loggingLevel CDATA #IMPLIED

id           CDATA #REQUIRED

parent       CDATA #IMPLIED>


name - the name of the component 
description - an optional description of the component 
role - the component role. Valid values are sensor, messageExtractor, parser, formatter, messageFilter, cbeFilter, outputter 
class - the name of the class implementing this component 
version - the version of this class 
loggingLevel - logging level for this component 
id - the id of the extension point 
parent - an optional parent component 

Examples: 
 <extension point="org.eclipse.hyades.logging.adapter.ui.glaComponent">
 
       <component id="org.eclipse.hyades.logging.adapter.ui.BasicContext"
       			 name="%10"
                 description="%11"
                 class="org.eclipse.hyades.logging.adapter.impl.BasicContext"
                 version="1.0"
                 role="context"
                 loggingLevel="30"/> 
       <component id="org.eclipse.hyades.logging.adapter.ui.OSSensor"
       			 parent="org.eclipse.hyades.logging.adapter.ui.BasicContext"
       			 name="%3"
                 description="%2"
                 class="org.eclipse.hyades.logging.adapter.sensors.SingleOSFileSensor"
                 version="1.0"
                 role="sensor"
                 loggingLevel="30"/>
   </extension>


Comment 10 Paul Slauenwhite CLA 2009-06-30 08:21:40 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.