Revision 42176
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/legend/gui/AbstractThemeManagerPage.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.app.project.documents.view.legend.gui; |
25 | 25 |
|
26 |
import javax.swing.JComponent; |
|
26 | 27 |
import javax.swing.JOptionPane; |
27 | 28 |
import javax.swing.JPanel; |
28 | 29 |
|
... | ... | |
33 | 34 |
import org.gvsig.fmap.mapcontext.layers.operations.Classifiable; |
34 | 35 |
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend; |
35 | 36 |
import org.gvsig.fmap.mapcontext.rendering.legend.IVectorLegend; |
37 |
import org.gvsig.propertypage.PropertiesPage; |
|
36 | 38 |
|
37 | 39 |
|
38 |
public abstract class AbstractThemeManagerPage extends JPanel { |
|
40 |
public abstract class AbstractThemeManagerPage extends JPanel implements PropertiesPage {
|
|
39 | 41 |
/** |
40 | 42 |
* Cuando hay varios capas vectoriales seleccionados, devolver? el ?ltimo. |
41 | 43 |
* |
... | ... | |
150 | 152 |
void setModel(Object obj) { |
151 | 153 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
152 | 154 |
} |
155 |
|
|
156 |
public String getTitle() { |
|
157 |
return this.getName(); |
|
158 |
} |
|
159 |
|
|
160 |
public boolean whenAccept() { |
|
161 |
acceptAction(); |
|
162 |
return true; |
|
163 |
} |
|
164 |
|
|
165 |
public boolean whenApply() { |
|
166 |
applyAction(); |
|
167 |
return true; |
|
168 |
} |
|
169 |
|
|
170 |
public boolean whenCancel() { |
|
171 |
cancelAction(); |
|
172 |
return true; |
|
173 |
} |
|
174 |
|
|
175 |
public JComponent asJComponent() { |
|
176 |
return this; |
|
177 |
} |
|
178 |
|
|
179 |
|
|
180 |
|
|
153 | 181 |
} |
Also available in: Unified diff