Package org.openquark.gems.client.navigator

Examples of org.openquark.gems.client.navigator.NavAddress


            public void actionPerformed(ActionEvent evt) {

                Object eventSource = evt.getSource();
                if (eventSource == this) {
                    ScopedEntity entity = CodeAnalyser.getVisibleModuleEntity(identifierName, identifierType, CodeGemEditor.this.perspective.getWorkingModuleTypeInfo());
                    NavAddress address = NavAddress.getAddress(entity);
                    navigatorOwner.editMetadata(address);
                }
            }
View Full Code Here


            public void actionPerformed(ActionEvent evt) {

                Object eventSource = evt.getSource();
                if (eventSource == this) {
                    ScopedEntity entity = CodeAnalyser.getVisibleModuleEntity(identifierName, identifierType, CodeGemEditor.this.perspective.getWorkingModuleTypeInfo());
                    NavAddress address = NavAddress.getAddress(entity);
                    navigatorOwner.displayMetadata(address, true);
                }
            }
View Full Code Here

     * Edit argument metadata for the given entity.
     * @param entity the entity to edit argument metadata for
     * @param argNum the number of the argument whose metadata to edit
     */
    public void editMetadata(GemEntity entity, int argNum) {
        NavAddress address = NavAddress.getAddress(entity).withParameter(NavAddress.ARGUMENT_PARAMETER, Integer.toString(argNum));
        editMetadata(address);
    }
View Full Code Here

     * Edit argument metadata for the given collector.
     * @param collector the collector to edit argument metadata for
     * @param argNum the number of the argument whose metadata to edit
     */   
    public void editMetadata(CollectorGem collector, int argNum) {
        NavAddress address = NavAddress.getAddress(collector).withParameter(NavAddress.ARGUMENT_PARAMETER, Integer.toString(argNum));
        editMetadata(address);
    }
View Full Code Here

               
                BrowserTreeNode node = (BrowserTreeNode) path.getLastPathComponent();
               
                if (navigatorOwner != null) {
   
                    final NavAddress address;
                    if (node instanceof GemTreeNode) {
                        GemEntity gemEntity = (GemEntity) node.getUserObject();
                        address = NavAddress.getAddress(gemEntity);
                        navigatorOwner.displayMetadata(address, false);
                           
View Full Code Here

            public void actionPerformed(ActionEvent evt) {
                doBrowserAction(new ActionHolder() {
                    @Override
                    void doAction() {
                       
                        final NavAddress address;
                        if (selectedNode instanceof GemTreeNode) {
                            GemEntity gemEntity = (GemEntity) selectedNode.getUserObject();
                            address = NavAddress.getAddress(gemEntity);
                            browserTree.getNavigatorOwner().editMetadata(address);
                       
View Full Code Here

            public void actionPerformed(ActionEvent evt) {
                doBrowserAction(new ActionHolder() {
                    @Override
                    void doAction() {

                        final NavAddress address;
                        if (selectedNode instanceof GemTreeNode) {
                            GemEntity gemEntity = (GemEntity) selectedNode.getUserObject();
                            address = NavAddress.getAddress(gemEntity);
                            browserTree.getNavigatorOwner().displayMetadata(address, true);
                       
View Full Code Here

TOP

Related Classes of org.openquark.gems.client.navigator.NavAddress

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.