Hi Andriy,

I do not understand your question. The interface  
IResourceEditorPageFactory has two methods which you need to  
implement, and one of them creates the IResourceEditorPage. In the  
latter implementation you can construct the UI components and take  
full control. Your plugin needs to declare dependencies on  
org.topbraid.lib.jena, org.topbraid.core, org.eclipse.ui.forms and  
org.topbraidcomposer.editors (at least).

And you can specify the weight on the Extensions tab for your page  
instance.

Holger


On Oct 6, 2009, at 1:48 AM, Andriy Sokolov wrote:

>
> Thanks for Your answers.
> Holger,
> I have TB Composer. I know about this possibility, and I've tried it
> yet, but there are no public methods or variables I can access in
> class thet extends "IResourceEditorPageFactory"; so is there no
> possibility to customize this new tab? I want to add a customized tab
> to the editor. Maybe I can at least add a fully empty tab to the TB
> Composers "RessourceEditor" and implement elements and functionality
> on my own (by use of GEF)?
>
> On 2 Okt., 17:52, Holger Knublauch <[email protected]> wrote:
>> Hi Andriy,
>>
>> yes, the extension point for those tabs is
>>
>>         org.topbraidcomposer.editors.pages
>>
>> You need to instantiate
>>
>>         org.topbraidcomposer.editors.pages.IResourceEditorPageFactory
>>
>> and you can specify a weight to define its position relative to the
>> other tabs.
>>
>> All of the existing tabs in TBC use this extension point.
>>
>> Holger
>>
>> On Oct 2, 2009, at 7:10 AM, Andriy Sokolov wrote:
>>
>>
>>
>>> Hello!
>>
>>> Can I create a new additional tab to "Form", "Diagram", Graph",  
>>> "Form
>>> Layout" and "Source Code"? What extention points can I use  
>>> therefore?
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to