Examples of removeQuery()


Examples of factOrFiction.views.IQueryAdapter.removeQuery()

   
    if(adapter!=null) {
      if(action.isChecked())
        adapter.addQuery(query);
      else
        adapter.removeQuery(query);
    }
  }

  public void selectionChanged(IAction action, ISelection selection) {
  }
View Full Code Here

Examples of factOrFiction.views.IQueryAdapter.removeQuery()

   
    if(adapter!=null) {
      if(action.isChecked())
        adapter.addQuery(query);
      else
        adapter.removeQuery(query);
    }
  }

  public void selectionChanged(IAction action, ISelection selection) {
  }
View Full Code Here

Examples of org.apache.cayenne.map.DataMap.removeQuery()

     */
    protected void removeQuery() {
        ProjectController mediator = getProjectController();
        Query query = mediator.getCurrentQuery();
        DataMap map = mediator.getCurrentDataMap();
        map.removeQuery(query.getName());
        mediator.fireQueryEvent(new QueryEvent(
                Application.getFrame(),
                query,
                MapEvent.REMOVE));
    }
View Full Code Here

Examples of org.apache.cayenne.map.DataMap.removeQuery()

            if (root == entity
                    || (root instanceof String && root
                            .toString()
                            .equals(entity.getName()))) {
                map.removeQuery(next.getName());
                mediator.fireQueryEvent(new QueryEvent(
                        Application.getFrame(),
                        next,
                        MapEvent.REMOVE));
            }
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeQuery()

            }
            else if (content instanceof ObjEntity) {
                rAction.removeObjEntity(map, (ObjEntity) content);
            }
            else if (content instanceof Query) {
                rAction.removeQuery(map, (Query) content);
            }
            else if (content instanceof Procedure) {
                rAction.removeProcedure(map, (Procedure) content);
            }
        }
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeQuery()

            }
            else if (content instanceof ObjEntity) {
                rAction.removeObjEntity(map, (ObjEntity) content);
            }
            else if (content instanceof Query) {
                rAction.removeQuery(map, (Query) content);
            }
            else if (content instanceof Procedure) {
                rAction.removeProcedure(map, (Procedure) content);
            }
        }
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeQuery()

                break;
            case DB_ENTITY:
                action.removeDbEntity(map, dbEntity);
                break;
            case QUERY:
                action.removeQuery(map, query);
                break;
            case PROCEDURE:
                action.removeProcedure(map, procedure);
            case MAP_FROM_NODE:
                action.removeDataMapFromDataNode(dataNode, map);
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeQuery()

    public void undo() throws CannotUndoException {

        RemoveAction action = (RemoveAction) actionManager.getAction(RemoveAction
                .getActionName());

        action.removeQuery(map, query);
    }

}
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeQuery()

            }
            else if (content instanceof ObjEntity) {
                rAction.removeObjEntity(map, (ObjEntity) content);
            }
            else if (content instanceof Query) {
                rAction.removeQuery(map, (Query) content);
            }
            else if (content instanceof Procedure) {
                rAction.removeProcedure(map, (Procedure) content);
            }
        }
View Full Code Here

Examples of org.apache.cayenne.modeler.action.RemoveAction.removeQuery()

    }

    @Override
    public void undo() throws CannotUndoException {
        RemoveAction action = actionManager.getAction(RemoveAction.class);
        action.removeQuery(map, query);
    }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.