Package net.sourceforge.ganttproject.gui

Examples of net.sourceforge.ganttproject.gui.GanttDialogCustomColumn


            public void actionPerformed(ActionEvent e) {
                myUIfacade.getUndoManager().undoableEdit("TaskPropertyNewColumn",
                        new Runnable() {
                            public void run() {
                                CustomColumn customColumn = new CustomColumn();
                                GanttDialogCustomColumn d = new GanttDialogCustomColumn(
                                    myUIfacade, customColumn);
                                d.setVisible(true);
                                if (d.isOk()) {
                                  myColumnManager.addNewCustomColumn(customColumn);
                                  model.refreshData(customColumnStorage);
                                  repaint();
                                }
                            }
View Full Code Here


            public void actionPerformed(ActionEvent e) {
                myUIfacade.getUndoManager()
                        .undoableEdit("PopUpNewColumn", new Runnable() {
                            public void run() {
                                CustomColumn customColumn = new CustomColumn();
                                GanttDialogCustomColumn d = new GanttDialogCustomColumn(
                                    myUIfacade, customColumn);
                                d.setVisible(true);
                                if (d.isOk()) {
                                  getProject().getTaskCustomColumnManager().addNewCustomColumn(customColumn);
                                }
                            }
                        });
            }
View Full Code Here

     * date, integer, double, boolean). A default value is also set.
     */
    public void addNewCustomColumn(CustomColumn customColumn) {
        if (customColumn == null) {
            customColumn = new CustomColumn();
            GanttDialogCustomColumn d = new GanttDialogCustomColumn(myUIfacade, customColumn);
            d.setVisible(true);
        }

        if (customColumn.getName() != null) // if something has been entered
        {
            GanttTreeTableModel treeTableModel = (GanttTreeTableModel) getTreeTableModel();
View Full Code Here

TOP

Related Classes of net.sourceforge.ganttproject.gui.GanttDialogCustomColumn

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.